Skip to main content

No project description provided

Project description

some_pypi_package

A simple example Python package.

https://www.youtube.com/watch?v=Kz6IlDCyOUY

UV Installation

pip install uv
uv build

Standard Installation

python -m venv env
env\Scripts\activate
pip install -r requirements.txt
python setup.py sdist bdist_wheel

Test locally

Replace "0.0.1" with your current version

pip install dist/some_pypi_package-0.0.1-py3-none-any.whl
pip list

Register to PyPi

Open a pypi account here: https://pypi.org/

Publish your package

twine upload -u -p dist/*

Test the new package

Create a new project

mkdir new_project
cd new_project

uv init
uv venv
uv pip install some_pypi_package>=0.0.1
uv pip list

Import the new package

from some_pypi_package import hello
hello()
uv run main.py

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

some_pypi_package-0.0.11.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

some_pypi_package-0.0.11-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file some_pypi_package-0.0.11.tar.gz.

File metadata

  • Download URL: some_pypi_package-0.0.11.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for some_pypi_package-0.0.11.tar.gz
Algorithm Hash digest
SHA256 52d7edb736f914c76a5164290502e09ba9df8f3642909264e184357e9339432e
MD5 952c2000741647d92f83cf3c2dd9bbba
BLAKE2b-256 682697c2eeaeb021a008550c21e0f183e2a52c0512a55ea24be24dfea0ccb312

See more details on using hashes here.

File details

Details for the file some_pypi_package-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for some_pypi_package-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 636acaaaa46bd704d134e03c11740e5ff89419e88c669eaa101805809cf6f5c0
MD5 bffc7fec06ab0aef2bbe4343743cc756
BLAKE2b-256 d258ef978dacf788b40130d6656d84343599008640b5399082dca4cfce5f4707

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