Python package template
A package template for quickly creating a new package with test and publishing to pypi as workflow
Install from Pypi
pip install PackageSnippet1
Local install
git clone https://github.com/jerinka/PackageSnippet1
pip3 install -e PackageSnippet1
build
pip install wheel
python setup.py sdist bdist_wheel
testpypi
twine upload --repository testpypi dist/*
pip install -i https://test.pypi.org/simple/ PackageSnippet1
pypi
twine upload dist/*
pip install -U PackageSnippet1
Quick usage
import PackageSnippet1 as pk1
pk1.subpackage1.moduleA.fun_a()
Test
pytest test/test_PackageSnippet1.py -s
Reference
https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56
Metadata
Release files for PackageSnippet1 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PackageSnippet1-0.0.6.tar.gz | 6.2 kB | Without provenance | Details for PackageSnippet1-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PackageSnippet1-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for PackageSnippet1-0.0.6-py3-none-any.whl |
Total release size: 13.2 kB
Release files / PackageSnippet1-0.0.6.tar.gz
| Download URL | PackageSnippet1-0.0.6.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a8133cbdffb46b7162a564a47f8d71691872f443947d1512bd6f0fe6bfc2328
|
|
BLAKE2b-256 checksum How to use checksums |
bab52e9e8f0df8923f43a80b9cbcc5525538bd2de3efd3957f4388b714d5cd25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / PackageSnippet1-0.0.6-py3-none-any.whl
| Download URL | PackageSnippet1-0.0.6-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7c263c87f5843989b33af8f63ce3db459191c8d3372b7f41604157d86801448
|
|
BLAKE2b-256 checksum How to use checksums |
b503670c88429c3d1f34ede25846e808d1550d4f14b7192a48c2660d551ac733
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Security for PackageSnippet1 0.0.6
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.