An example Python project
Project description
Sample PyPI package + GitHub Actions + Versioneer
How to use this template
-
Click on the Use this template button to get a copy of this repository.
-
Rename src/sample_package folder to your package name — src/ is where your package must reside.
-
Go through each of the following files and rename all instances of sample-package or sample_package to your package name. Also update the package information such as author names, URLs, etc.
- setup.py
- pyproject.toml
- __init__.py
-
Install
versioneer
andtomli
, and runversioneer
:$ pip install tomli $ pip install versioneer $ versioneer install
Then commit the changes produced by
versioneer
. See here to learn more. -
Setup your PyPI credentials. See the section Saving credentials on Github of this guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sample-package-chanshing-0.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f47730cac331475e05065afc11efad4d2b4f3a36d33d9f80e40115bb10c5e7c |
|
MD5 | b485ae1dbd2bb1db71011cadc934aed6 |
|
BLAKE2b-256 | 3eefa3edf5d6f0a08102affeb3e66b03d1ed41dfc4d96c91b39c333b607799c9 |
Close
Hashes for sample_package_chanshing-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2295c1fe701b55e7972c31b55b13feb15e072cec81472acd02a7dd99834ab13a |
|
MD5 | fc9dbd4cc1f5df6c87ae3c330e067090 |
|
BLAKE2b-256 | 7707915d3788de7bfa643dda1d67a0af8aded36e6991f6f9db09c6c12a66246b |