Skip to main content

An example Python project

Project description

Sample PyPI package + GitHub Actions + Versioneer

How to use this template

  1. Click on the Use this template button to get a copy of this repository.

  2. Rename src/sample_package folder to your package name — src/ is where your package must reside.

  3. 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.

    1. setup.py
    2. pyproject.toml
    3. __init__.py
  4. Install versioneer and tomli, and run versioneer:

    $ pip install tomli
    $ pip install versioneer
    $ versioneer install
    

    Then commit the changes produced by versioneer. See here to learn more.

  5. Setup your PyPI credentials. See the section Saving credentials on Github of this guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sample-package-chanshing-0.0.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sample_package_chanshing-0.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file sample-package-chanshing-0.0.0.tar.gz.

File metadata

  • Download URL: sample-package-chanshing-0.0.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for sample-package-chanshing-0.0.0.tar.gz
Algorithm Hash digest
SHA256 7f47730cac331475e05065afc11efad4d2b4f3a36d33d9f80e40115bb10c5e7c
MD5 b485ae1dbd2bb1db71011cadc934aed6
BLAKE2b-256 3eefa3edf5d6f0a08102affeb3e66b03d1ed41dfc4d96c91b39c333b607799c9

See more details on using hashes here.

File details

Details for the file sample_package_chanshing-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sample_package_chanshing-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2295c1fe701b55e7972c31b55b13feb15e072cec81472acd02a7dd99834ab13a
MD5 fc9dbd4cc1f5df6c87ae3c330e067090
BLAKE2b-256 7707915d3788de7bfa643dda1d67a0af8aded36e6991f6f9db09c6c12a66246b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page