Skip to main content

Packaging Python Projects

Following this course

Coding steps

Make sure you have the latest versions of PyPA’s build installed:

pip install --upgrade build

This command should output a lot of text and once completed should generate two files in the dist directory:

build

Uploading the distribution archives

You can use twine to upload the distribution packages. You’ll need to install Twine:

pip install --upgrade twine

Once installed, run Twine to upload all of the archives under dist:

twine upload dist/*

Metadata

Release files for example-pkg-tttienthinh 0.0.3

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

Source distribution (sdist)

Source distribution for example-pkg-tttienthinh 0.0.3
File Size Uploaded Provenance Actions
example-pkg-tttienthinh-0.0.3.tar.gz 2.6 kB Without provenance Details for example-pkg-tttienthinh-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for example-pkg-tttienthinh 0.0.3
File Interpreter ABI Platform Actions
example_pkg_tttienthinh-0.0.3-py3-none-any.whl Python 3 none any Details for example_pkg_tttienthinh-0.0.3-py3-none-any.whl

Total release size: 5.3 kB

Release files / example-pkg-tttienthinh-0.0.3.tar.gz

Download URL example-pkg-tttienthinh-0.0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a02ec94fb546351c13ac40d1e6b56cb8eda95d97438fdbc8f7a5331ee17400ec
BLAKE2b-256 checksum
How to use checksums
5c15cc2045c9ac4e9cb5bb3bc559e6d6fe41a3222a5d80ba206115763d8a5f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / example_pkg_tttienthinh-0.0.3-py3-none-any.whl

Download URL example_pkg_tttienthinh-0.0.3-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae63935b7c44ef537676cd0216f1db345dd6f6fda1d69176b8da76033a1efbbe
BLAKE2b-256 checksum
How to use checksums
e728f1aef51cab5edfdc1db89b4ce31ada7c02e191346573c4104c0c0884c0de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Security for example-pkg-tttienthinh 0.0.3

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.

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