Skip to main content

Blog https://wangonya.com/blog/publishing-package-on-test-pypi/

install dependencies

pip install pipdeptree pip install twine

build your python codebase

python setup.py sdist bdist_wheel

publist to testpypi

twine upload --repository-url https://test.pypi.org/legacy/ dist/*

publish to pypi

twine upload dist/*

RUNNING UNIT TESTS

To run unit tests - goto src directory - make sure you are in parent of tests (where all the test file resides)

Run the following command

python -m unittest discover

Metadata

Release files for jeremyrandompassword 0.0.1

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

Source distribution (sdist)

Source distribution for jeremyrandompassword 0.0.1
File Size Uploaded Provenance Actions
jeremyrandompassword-0.0.1.tar.gz 1.7 kB Without provenance Details for jeremyrandompassword-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jeremyrandompassword 0.0.1
File Interpreter ABI Platform Actions
jeremyrandompassword-0.0.1-py3-none-any.whl Python 3 none any Details for jeremyrandompassword-0.0.1-py3-none-any.whl

Total release size: 3.2 kB

Release files / jeremyrandompassword-0.0.1.tar.gz

Download URL jeremyrandompassword-0.0.1.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ad03fd6ec3133167b6eb3d60bb60d5cff14455f59e4616c444ca6d7bba8ce7c9
BLAKE2b-256 checksum
How to use checksums
8dbb798b8050e95351a520c79aa29b6db747f1614fae32f4897526b3a853e2e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / jeremyrandompassword-0.0.1-py3-none-any.whl

Download URL jeremyrandompassword-0.0.1-py3-none-any.whl
Size 1.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe1925d20e7d14bc18e966848497c5d07b6d316f3432251b97ffd316973ad972
BLAKE2b-256 checksum
How to use checksums
e269992d4b06b53d5ff494a41f0566133b70addb9b8f116ae5e676d9146b92b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Security for jeremyrandompassword 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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