This repository was create to develop a python package.
Added:
- A README.md
- A HISTORY.md to follow the evolution of the project
- A smart setup.py
- A LICENCE (Default licence is GPLv3)
- Some functions/class/unitest templates
- A .gitignore
- Issue/PR templates
- Some github actions:
- python_package.yml
- Install dependencies from requiements.txt
- Check the code with flake8
- Run pytest
- Publish the coverage result to codecov.io
- python_publish.yml
- Post your code to pypi when you release it
- assignee_to_reviewer.yml
- Automatically request a review from user A when you assign user A to a pull request
- Automatically stop requesting a review from user A when you remove user A to the pull request
- python_package.yml
If you want to use this template just:
- Click on 'use the template'.
- Replace the $variable
- $project: The name of your project (README.md, HISTORY.md, docs/index.rst, docs/conf.py)
- $setup_date: The date of the creation of your project (HISTORY.md)
- $YOUR_NAME: Your github username, the one inside your github url (README.md, $YOUR_PACKAGE_NAME/init.py, docs/conf.py)
- $YOUR_PACKAGE_NAME: The name of your package/repository (README.md, codecov.yml, $YOUR_PACKAGE_NAME/, $YOUR_PACKAGE_NAME/init.py)
- request: Put the name of your package (README.md)
- Add PYPI_USERNAME, PYPI_PASSWORD and CODECOV_TOKEN inside github secret (Setting -> Secret)
- Fill the LICENCE
- Fill the setup.py
- Fill the README.md and remove the part before the ...
A short description of your project
An image
Using pip
pip3 install YOUR_PACKAGE_NAME
or from github
pip3 install -e git://github.com/$YOUR_NAME/YOUR_PACKAGE_NAME@latest
How can I use your package
For more examples and usage, please refer to the documentation
- Fork the project
- Create your feature branch
- Commit your changes
- Test carefully your code
- Push to the branch
- Create a new Pull Request