A small example package
Project description
try_pub_pypi
Only test to automate publishing to pypi.org
virtual python3 ENV
- Create virtual ENV →
python3 -m venv .venv# смотри conda (Anaconda) - Activate →
source .venv/bin/activate - Check virt env →
echo $VIRTUAL_ENV→ should be non empty output - Deactivate →
deactivateor reopen terminal session
Requirements
- instal
pip install -r requirements.txt - save
pip freeze > requirements.txt - check to old requirements
pip list --outdated - upgrade some package
pip install -U package_name
Run tests
A simple way: python3 -m unittest discover -s ./tests or pytest
Publish on pypi.org
- manual mod: just run Actions → Publish Python 🐍 distribution 📦 to PyPI
- pub by special commit tag to only 'main' branch:
git commit -m "your important message"&git pushgit tag vx.x.x;xis the numbers! Follow the pattern: 'v[0-9]+.[0-9]+.[0-9]+'git push origin vx.x.x
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
try_pub_pypi-0.0.3.tar.gz
(15.2 kB
view details)
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 try_pub_pypi-0.0.3.tar.gz.
File metadata
- Download URL: try_pub_pypi-0.0.3.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
643b5d98593c7f3fa42ecc8d38e3c37a7a6b32e42c0549fa0804a3d28cf40403
|
|
| MD5 |
b96c9ee3751f636d7ff353e06d849352
|
|
| BLAKE2b-256 |
927f9226289ecf892eff8c2e73ffc781b65fef43f9efa991a736e1390ffee9cc
|
File details
Details for the file try_pub_pypi-0.0.3-py3-none-any.whl.
File metadata
- Download URL: try_pub_pypi-0.0.3-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e7923d102dd387a675ac3fd22ec0ee7b822497d7be68c682a48b84d6e23df68
|
|
| MD5 |
64c6de8daf0c9b5a38d2f5bc5343e2d2
|
|
| BLAKE2b-256 |
37174203e50489d29cd71400495158c6b8b6103870b673a27c33818abd2df246
|