Publish to PYPI
To publish your python package to PYPI, you can use the twine tool.
python setup.py sdist bdist_wheel
# Local package test
pip install dist/pixegami_hello-0.4-py3-none-any.whl
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=pypi-XXXXXXXXX
$twine upload dist/*
## Recomended to upload to testpypi repo first
-> Create an account on https://test.pypi.org/
$twine upload --repository testpypi dist/*
## Install from the test repo.
$pip install \
--index-url https://test.pypi.org/simple/ \
--no-deps example-package-YOUR-USERNAME-HERE
Metadata
Release files for dammy7878-pixegami-hello 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dammy7878_pixegami_hello-0.5.0.tar.gz | 1.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dammy7878_pixegami_hello-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.8 kB
Release files / dammy7878_pixegami_hello-0.5.0.tar.gz
| Download URL | dammy7878_pixegami_hello-0.5.0.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1b036da5dc6c8affe0df17ff60ce254abdee59ddc6ef922aa1270c5e09b1f06
|
|
BLAKE2b-256 checksum How to use checksums |
5426cb3ffbeac143eee2cdad2bbeba5f65565878fc48ae7d11f3a41fe39a4b5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / dammy7878_pixegami_hello-0.5.0-py3-none-any.whl
| Download URL | dammy7878_pixegami_hello-0.5.0-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acd52e44656cc8fee19e35280f3306b63629a25c8a9f7ab28bf7ff9e5a5ed0f4
|
|
BLAKE2b-256 checksum How to use checksums |
de3bc5166cd37a941658b6e95e07bb7b19125bdcedef68a08e53434a74d65de2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|