First pypi library
Project description
Creating a Pypi Library
Let's learn how to create and publish a library to pypi using Github Actions.
Publishing Library
You can use API keys etc but apparently the best way is to use Trusted Publishers like Github.
So, log into your
-
Pypi Account > Publishing -
Here you will see Github, as one of the publishers.
-
Add necessary details to link your library to Github repo.
You are all done.
Tag A Release
git tag 0.0.0
git push origin --tags
Release a patch
poetry version patch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zccypkg-0.0.3.tar.gz.
File metadata
- Download URL: zccypkg-0.0.3.tar.gz
- Upload date:
- Size: 1.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d15fc370f2401a8a5641e144f03b9f249552b862fadbf9e3f4c5a92708d056c
|
|
| MD5 |
31cc53803d484a6fc91012ab19a852c3
|
|
| BLAKE2b-256 |
27019636cac8c4cbdc85c967ba2390210cd6c726cf5a4f72ed0b3059439a68d3
|
Provenance
The following attestation bundles were made for zccypkg-0.0.3.tar.gz:
Publisher:
releases.yml on zone-connect/zccypkg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zccypkg-0.0.3.tar.gz -
Subject digest:
0d15fc370f2401a8a5641e144f03b9f249552b862fadbf9e3f4c5a92708d056c - Sigstore transparency entry: 147651682
- Sigstore integration time:
-
Permalink:
zone-connect/zccypkg@441753fa14e0f3bda0f663c4372032f0cc37d56e -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/zone-connect
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
releases.yml@441753fa14e0f3bda0f663c4372032f0cc37d56e -
Trigger Event:
push
-
Statement type:
File details
Details for the file zccypkg-0.0.3-py3-none-any.whl.
File metadata
- Download URL: zccypkg-0.0.3-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c873eb426c3ecec5cda919257b3777824c4bc6e0172e5f71441d78a8cd48368
|
|
| MD5 |
7bbd30823c0878e67f8d27c56cbcf381
|
|
| BLAKE2b-256 |
87909f04fc42208ca197fcd5f4c1ff567158f7e4ff3eaed1851ddfaa3d25a8fd
|
Provenance
The following attestation bundles were made for zccypkg-0.0.3-py3-none-any.whl:
Publisher:
releases.yml on zone-connect/zccypkg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zccypkg-0.0.3-py3-none-any.whl -
Subject digest:
7c873eb426c3ecec5cda919257b3777824c4bc6e0172e5f71441d78a8cd48368 - Sigstore transparency entry: 147651683
- Sigstore integration time:
-
Permalink:
zone-connect/zccypkg@441753fa14e0f3bda0f663c4372032f0cc37d56e -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/zone-connect
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
releases.yml@441753fa14e0f3bda0f663c4372032f0cc37d56e -
Trigger Event:
push
-
Statement type: