This is a PYPI package template
Project description
PyPI Package Template
Requirements
-
Python >= 3.6
. . .
-
Linux Only
Installation
You can find this package at https://pypi.org/project/pypi-package-template
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 sdist setuptools twine
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!
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.