Skip to main content

A small example package

Project description

Publish Python 🐍 distribution 📦 to PyPI and TestPyPI

Lint & Tests

try_pub_pypi

Only test to automate publishing to pypi.org

virtual python3 ENV

  1. Create virtual ENV → python3 -m venv .venv # смотри conda (Anaconda)
  2. Activate → source .venv/bin/activate
  3. Check virt env → echo $VIRTUAL_ENV → should be non empty output
  4. Deactivate → deactivate or 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

Project details


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.2.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

try_pub_pypi-0.0.2-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file try_pub_pypi-0.0.2.tar.gz.

File metadata

  • Download URL: try_pub_pypi-0.0.2.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for try_pub_pypi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 be8cfdf8b943300ee265bbad87d524bdb2c0bb4aaf87b4760b02b273f5a875c7
MD5 a9643a9386dcb16c5b614fcddb51ed8d
BLAKE2b-256 f425e048ddae2a81cd1e728de1c09d82f298189e9d07ad7b1f93243afb3c52df

See more details on using hashes here.

File details

Details for the file try_pub_pypi-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: try_pub_pypi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for try_pub_pypi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a237636dbe6b16ec714d15c977616caf84bae59ee0a20d139a83327e0d06a15
MD5 0a876218878a0de75a2bd82cbfe1fa9e
BLAKE2b-256 344060795a45c68d12b3dc4626102a97f5f572937f11d61011ecf79d6109d8b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page