Skip to main content

A sample Python project

Project description

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.

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

osl_sampleproject-2.0.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

osl_sampleproject-2.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file osl_sampleproject-2.0.0.tar.gz.

File metadata

  • Download URL: osl_sampleproject-2.0.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for osl_sampleproject-2.0.0.tar.gz
Algorithm Hash digest
SHA256 792702b74487c7fc334fba752a4dd763351745e62dfdf1d98a9c358e9b26eb6d
MD5 a78671db12a0164a03793674e1c3b89b
BLAKE2b-256 97e961d067e32b2fe62f7c5a492610e26485bba3b7c4ff5970068f24d80cb7e6

See more details on using hashes here.

File details

Details for the file osl_sampleproject-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for osl_sampleproject-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b79f5b9adc2e084e36e64213c18d2f19a29300c64b66335e002a9ce952966af4
MD5 7c8cfa241657897d1aa53dab4f308af5
BLAKE2b-256 749ea2f2a0f593f4c77beada1f3b3836110cd783149cdb7285f323e9b8a0dc77

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