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 sampleproject-evan860126-1 2.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 sampleproject-evan860126-1 2.0.1
File Size Uploaded Provenance Actions
sampleproject-evan860126-1-2.0.1.tar.gz 6.0 kB Without provenance Details for sampleproject-evan860126-1-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sampleproject-evan860126-1 2.0.1
File Interpreter ABI Platform Actions
sampleproject_evan860126_1-2.0.1-py3-none-any.whl Python 3 none any Details for sampleproject_evan860126_1-2.0.1-py3-none-any.whl

Total release size: 10.4 kB

Release files / sampleproject-evan860126-1-2.0.1.tar.gz

Download URL sampleproject-evan860126-1-2.0.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1b7619b945ef59011cc680bf7224b6298df933c791097163f4306bc6922330ff
BLAKE2b-256 checksum
How to use checksums
f65f38fe5393b2b0f8117975653b2bf82306aa9ba24552886a2d974e2e79415f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

Release files / sampleproject_evan860126_1-2.0.1-py3-none-any.whl

Download URL sampleproject_evan860126_1-2.0.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
681ce975a59c1a5c6a05b52d51701dd98f6a2fcba358d2401bc1fd7b58c17423
BLAKE2b-256 checksum
How to use checksums
b310cbd5702173375b5deba220ddbc59c07080d4bde440f567d8e23d19f5a91b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

Security for sampleproject-evan860126-1 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files No provenance

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