mini_util
Introduction
This is a simple example that construct a PyPI package with poetry.
Project Setup
Commands and steps:
# init project
poetry new <package-name>
cd <package-name>
# you can init your git, and do something with it here
# if ready to release
poetry version # this will display version
poetry version 0.1.2 # this will set version to 0.1.2
poetry publish --build # this will publish to pypi and build to `dist/`, you may need to wait around 2 mins to update
# after publish, you may just use pip install <my-package> to install
# or you can also build this using local file
poetry build # files will store in `dist/`
pip install dist/mini_util-0.1.2-py3-none-any.whl --force-reinstall
# and you can use the cli now
Cli Usage
mutil -s="Hello World"
# or
mutil --string="Hello World"
Metadata
Release files for mini-util 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mini_util-0.1.12.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mini_util-0.1.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / mini_util-0.1.12.tar.gz
| Download URL | mini_util-0.1.12.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b9f2405447ace313aa487103cd02cfd099bbce2230119d4880f143a9300c571
|
|
BLAKE2b-256 checksum How to use checksums |
cfe1e22e66816061c2255c0cbeb5c1386fbd513816aa5abbf9d938e9d3755c28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.10 Darwin/23.2.0
|
Release files / mini_util-0.1.12-py3-none-any.whl
| Download URL | mini_util-0.1.12-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81de632d08fb7910c907e3e7d23f554fef58e3c75b0b6beca0188edfe1aac939
|
|
BLAKE2b-256 checksum How to use checksums |
6b15f6399c58e57788c1e8c9f635a24384c7179beb6bda0dedce95badc22bcd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.10 Darwin/23.2.0
|