No project description provided
Project description
How to Push Code to PyPI for pip
To publish your Python package on PyPI for easy installation via pip, follow these steps:
1. Installation
Install the required packages:
pip install setuptools wheel twine
2. Create repo structure
simple_hello/ |-- simple_hello/ | |-- init.py | |-- main.py |-- setup.py |-- README.md
3. Generate dist
python setup.py sdist bdist_wheel
Generete dist/xxx.whl
4. Test locally
pip install dist/echostar_public_cloud_hello-0.1-py3-none-any.whl
5. Push to PYPI
twine upload dist/*
6. ENV
export TWINE_USERNAME=__token__
export TWIN3_PASSWORD=pypi-xxxx
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file echostar_public_cloud_hello-0.1.tar.gz.
File metadata
- Download URL: echostar_public_cloud_hello-0.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ec783ec5e43d81ae69ef1ffb9e75a761973ec290b8e7bc916ad744d46190fc9
|
|
| MD5 |
b7d4d0d0b7df7d8db321bf9d46b5cf25
|
|
| BLAKE2b-256 |
3bf5aa2d8a3261d51bf993948e32541ae2c4f790bc8a894d3445694fb77fc012
|
File details
Details for the file echostar_public_cloud_hello-0.1-py3-none-any.whl.
File metadata
- Download URL: echostar_public_cloud_hello-0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e20b03b5e014f5d32362e87f3545ca9c464decffb02685e4b909af4fdcf5c06
|
|
| MD5 |
efab50efebc3f3efceaf72ed27e92189
|
|
| BLAKE2b-256 |
0c4164b4013f782a4cd2d38b8dd943e2170d6bd082ba6cb46836278fd3e32dc1
|