Skip to main content

A sample Python project

Python Logo

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.

Metadata

Release files for hbschr-sampleproject 0.0.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 hbschr-sampleproject 0.0.1
File Size Uploaded
hbschr-sampleproject-0.0.1.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hbschr-sampleproject 0.0.1
File Interpreter ABI Platform
hbschr_sampleproject-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / hbschr-sampleproject-0.0.1.tar.gz

Download URL hbschr-sampleproject-0.0.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
747ff8f99f13c9a04b002402b5e87aeabd6621a8f4510c41dbae05d821491cd5
BLAKE2b-256 checksum
How to use checksums
94daaf263e66a8a814f78eb9f86369eb58b7a983f0d27389056f38d24c448eb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / hbschr_sampleproject-0.0.1-py3-none-any.whl

Download URL hbschr_sampleproject-0.0.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab10b6a4a0ca49801799465019a7e086c32a886aeef47c7103e85b0bea40747d
BLAKE2b-256 checksum
How to use checksums
bc4994d87323d1e20171bd0a5e97d7fe2b34140fd352f6f1c179a899779ff867
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

This release

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