A minimalistic Python util library for some daily usage
Project description
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"
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
mini_util-0.1.11.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file mini_util-0.1.11.tar.gz
.
File metadata
- Download URL: mini_util-0.1.11.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.10 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fccfae7ea8aea7a600efe8b88aed372cb7c69d5504421826f776ab7cc72a1c13 |
|
MD5 | ec0bde74623c934f4b0da4f5ec61866e |
|
BLAKE2b-256 | 0c03725f90aad8720f9f73b23aa328b48469a9ddb59da40ba04aaeb7e081b53d |
File details
Details for the file mini_util-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: mini_util-0.1.11-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.10 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47375deda210138aa1502c33fe13ac2633f36dcc3ccd9f77b76eba5fb39cbb71 |
|
MD5 | 26912382e3fd10f79c70e5da190b4ad9 |
|
BLAKE2b-256 | 374cedd906a19df435eb16776b8d8cc1a5d662b0acb6fb86ec8f2a51566998f3 |