Skip to main content

A sample Python project

A sample project that exists as an aid to the Python Packaging User Guide's Tutorial on Packaging and Distributing Projects.

This project does not aim to cover best practices for Python project development as a whole. For example, it does not provide guidance or tool recommendations for version control, documentation, or testing.

The source for this project is available here.

Most of the configuration for a Python project is done in the setup.py file, an example of which is included in this project. You should edit this file accordingly to adapt this sample project to your needs.


This is the README file for the project.

The file should use UTF-8 encoding and can be written using reStructuredText or markdown with the appropriate key set. It will be used to generate the project webpage on PyPI and will be displayed as the project homepage on common code-hosting services, and should be written for that purpose.

Typical contents for this file would include an overview of the project, basic usage examples, etc. Generally, including the project changelog in here is not a good idea, although a simple “What's New” section for the most recent version may be appropriate.

Release files for huasampleproject 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for huasampleproject 1.3.1
File Size Uploaded
huasampleproject-1.3.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for huasampleproject 1.3.1
File Interpreter ABI Platform
huasampleproject-1.3.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 9.9 kB

Release files / huasampleproject-1.3.1.tar.gz

Download URL huasampleproject-1.3.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6166b792bb2c1ce5989955dbd26573240a17bc13b4ee4014890138832628e6ab
BLAKE2b-256 checksum
How to use checksums
cf453620adb2ac8bb87658fe7ab0eae61c9be2029bba4301df6ab67d2fbc2123
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / huasampleproject-1.3.1-py2.py3-none-any.whl

Download URL huasampleproject-1.3.1-py2.py3-none-any.whl
Size 4.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cc2a358a15a4d905e93446b5d7be45e8f4de3cba52b3750f6c176f514b3c108c
BLAKE2b-256 checksum
How to use checksums
c202ed468c15b765928813d67e75cc4f57b73a3a41693dd20b60954b7d14d31f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page