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.9.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file mini_util-0.1.9.tar.gz
.
File metadata
- Download URL: mini_util-0.1.9.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 | 2546b47c69bcae0fcebc1fc7d51d676f8e17433999d51cfc3d0447d6f558be47 |
|
MD5 | 6b2cca99c36ea9b200fe6ab3b49248cf |
|
BLAKE2b-256 | 3ba8a624e5899d67181f79653faf853226ee1c51d7d38ab69f0e6c4a89ff9cf3 |
File details
Details for the file mini_util-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: mini_util-0.1.9-py3-none-any.whl
- Upload date:
- Size: 3.3 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 | 28e73ce2931d93a822e45842db9fcf8a05733092b68881ba77197ed702cafc8d |
|
MD5 | 4023ed1ef8e4f54481362c89e0aee4dd |
|
BLAKE2b-256 | e7ccabcc85fadbe73178af36af7519d2001d1de34fab8bf3c9f2d0428b4b2fe6 |