A simple sample Python package for PyPI demonstration
Project description
my-sample-pkg
A simple sample Python package for PyPI demonstration.
Installation
pip install my-sample-pkg
Usage
from my_sample_pkg import hello
hello() # Prints "Hello, PyPI!"
Requirements
- Python 3.8 or higher
Build and Upload
Build the package
pip install build twine
python -m build
Upload to PyPI
# Upload to TestPyPI first (recommended)
python -m twine upload --repository testpypi dist/*
# Upload to PyPI
python -m twine upload dist/*
License
MIT License
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
my_sample_pkg-0.1.1.tar.gz
(2.7 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 my_sample_pkg-0.1.1.tar.gz.
File metadata
- Download URL: my_sample_pkg-0.1.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70e206cd3874a2dad4609fdbc1419e6840f4c2f0b68b1c5e813ba1a1ff1452b2
|
|
| MD5 |
f8b6f5366f88c2315d2132a3650b88bc
|
|
| BLAKE2b-256 |
4081ea3da54dd0f935e0b81c2a9cb4386163582ec1134cbbc3663da71b6d491c
|
File details
Details for the file my_sample_pkg-0.1.1-py3-none-any.whl.
File metadata
- Download URL: my_sample_pkg-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e3aa7bce31f46334268bcae1217f048fc5b1c2f472df3309962bbf5363375e8
|
|
| MD5 |
b865e29b0939186cd018fc1acffebb98
|
|
| BLAKE2b-256 |
3e8b4ad9442afadbbe8e1e2b5190720dd02ab756ee0230916de85997a24ca398
|