Python library quick start
This is a minimal template for uploading your python packages to pypi.org.
To Use
- First clone this project.
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
- Rename the folder
your-packageto the package name you want. then place all your files into a folder. Open the__init__.pyfile with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
from .Filename import Classname
- Replace the information in the
setup.pyfile with the matching content. - Upload your package to PyPi
python setup.py sdist
twine upload dist/*
Metadata
Release files for superpatriotz 1.1
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 | |
|---|---|---|---|---|
| superpatriotz-1.1.tar.gz | 2.8 kB | Without provenance | Details |
Release files / superpatriotz-1.1.tar.gz
| Download URL | superpatriotz-1.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59a5b66552cf251f32e43922e4a865f588734b8f72bf76f0496821cb97c6d937
|
|
BLAKE2b-256 checksum How to use checksums |
df2c106fb0fdae86435915d29486fff82512617015a7d539a8df0bb28ba80925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for superpatriotz 1.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.