A hellowold example package
Project description
Example python package
example how to create python package and deploy to pip registory
Prerequisite
- install wheel
python3 -m pip install --user --upgrade setuptools wheel
- intstall twine
python3 -m pip install --user --upgrade twine
Build & Deploy Steps
- Go to setup.py directories and run the following command
- it will generated a lot of files include dist directory which include package
python3 setup.py sdist bdist_wheel
- Upload all file to test server
- after finish uploading try to visit the link https://test.pypi.org/project/example-pkg-YOUR-USERNAME-HERE
- don't forget to create API token on website first
# first upload
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- Or Upload to the world
- don't forget to create API token on website first
# no need for url twine will use default one
twine upload dist/*
How to use
- for test server
pip3 install -i https://test.pypi.org/simple/ example-pkg-hta-helloworld
- for global
pip3 install example-pkg-hta-helloworld
- Then use in python3 console
#access python console
python3
import hta_helloworld_pkg
References
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.
Source Distribution
Built Distribution
Close
Hashes for example-pkg-hta-helloworld-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b19508033671ecbbcdf4a66e3fa984ecaec9338b6cdb9da135811a57a263af7 |
|
MD5 | a3bc2ffd78098f3d1005fa2fb6dba6ad |
|
BLAKE2b-256 | dff60b455a15a82d3bb75ed802a8975ec71a2c636cf47db2e24caba29d099227 |
Close
Hashes for example_pkg_hta_helloworld-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 492d7356b96faa1207774f6c878516bc92755ef45a769a52c6223ee3119544eb |
|
MD5 | 01bd8de3d82f8fd68ca1efe9a469c211 |
|
BLAKE2b-256 | 0ce48430c779c6cdce2e5d7e7da147431ffb2e0459b15e59575f2e354e4a277c |