Skip to content
This repository has been archived by the owner. It is now read-only.

A cookiecutter template for xontribs, a.k.a xonsh contributions

License

Notifications You must be signed in to change notification settings

jnoortheen/xontrib-cookiecutter-poetry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A cookiecutter template for xonsh contributions called xontribs.

If you like the template click ⭐ on the repo.

Note:

Please use this template for your new projects as I have added the poetry feature optionally to this

Why use this template?

This template includes good pack of prebuilt files:

  • pyproject.toml file to make and install PyPi package easily using poetry
  • .gitignore file with standard list of directories to ignore

Create new xontrib

To create a xontrib from this template just run:

pip install cookiecutter
cookiecutter gh:jnoortheen/xontrib-cookiecutter-poetry

Example

$ cookiecutter gh:jnoortheen/xontrib-cookiecutter-poetry
full_name [Your name]: Snail
email [Your address email]: snail@snail.snail
github_username [Your github username]: snail
project_name [Name of the project (for humans, without xontrib- prefix)]: my-super-xontrib
project_slug [my-super-xontrib]:
project_short_description [A short description of the project]: It's my super xontrib!
version [0.1.0]:

# optionally use github-cli to create repo
$ gh repo create

$ tree
.
`-- xontrib-my-super-xontrib
    |-- LICENSE
    |-- README.md
    |-- pyproject.toml
    `-- xontrib
        `-- my-super-xontrib.xsh

$ git push

$ poetry publish

# in your xonsh environment
$ pip install -U xontrib-my-super-xontrib/
Successfully installed xontrib-my-super-xontrib-0.1.0

$ xontrib load my-super-xontrib
This is my-super-xontrib!

About

A cookiecutter template for xontribs, a.k.a xonsh contributions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.2%
  • Xonsh 7.8%