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.1.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.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: try_pub_pypi-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 15f7a591003a558c9346fc07c2fe2ef04a9724dbcb564789d249b8ebd9b5430b
MD5 afcffc73fd897069aa4d04990523c056
BLAKE2b-256 c3d917cca747590b9d5d9770096d3007f1d2f41245252e3d9f5545be6ab67f8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: try_pub_pypi-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76bf1b8185cfbd847d38adae4c923b01a2bc59a9dfe3eb99c3ed51146d94721a
MD5 04be7332ebb639ff3c57985890e7ad4c
BLAKE2b-256 683ff2469f6ad13301dad637a1dccf4d01f90669f27173864a22274b2b8f080c

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