PyPI Package Guide
Requirements
-
Python >= 3.6
. . .
-
Linux Only
Installation
You can find this package at https://pypi.org/project/pypi-package-guide
pip install pypi-package-template
Features
-
Feature 0, short description
-
Feature 1, short description
-
Feature 2, short description
. . .
-
Feature N, short description
Usage and Examples
Feature 1
Description
from pypi-package-template import Phraser
phraser = Phraser()
phrase = phraser.get_random_phrase()
# ¿Quieres ser rico? Pues no te afanes es aumentar tus bienes, sino en disminuir tu codicia (Epicuro )
. . .
Testing
python -m unittest tests.tests
Contributing
You rules
License
All other code in this repository is licensed under a MIT license.
Contact Me
My blog: cr0wg4n Twitter: cr0wg4n Linkedin: cr0wg4n
Upload Package to PYPI (only-for-demo)
Install some dependencies to build your package:
pip install -U sdist twine setuptools wheel build
Create your build:
python setup.py sdist
then two directories appear:
- <your_package_name>.egg-info
- dist/<your_package_name>-<your_version>.tar.gz
You can prove your package build before upload:
pip install -e ./dist/<your_package_name>-<your_version>.tar.gz
Upload your package, you must be logged at https://pypi.org/ before, after that:
## Introduce your credentials, remmember it!
twine upload dist/*
And finally, you package is up!
Metadata
Release files for pypi-package-guide 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pypi-package-guide-0.0.2.tar.gz | 7.9 kB | Details |
Release files / pypi-package-guide-0.0.2.tar.gz
| Download URL | pypi-package-guide-0.0.2.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c349963062b6a3751cd594652ba44e0b2ea8807c470794b75049cdee6da3447
|
|
BLAKE2b-256 checksum How to use checksums |
0e9730c97a1c863786b87a29b77d00e143ed539e4d9038cb3a9d23951b2f6601
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|