Skip to main content

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


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.12.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

mini_util-0.1.12-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file mini_util-0.1.12.tar.gz.

File metadata

  • Download URL: mini_util-0.1.12.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

Hashes for mini_util-0.1.12.tar.gz
Algorithm Hash digest
SHA256 0b9f2405447ace313aa487103cd02cfd099bbce2230119d4880f143a9300c571
MD5 86bf1149cc0a1259215693680975db32
BLAKE2b-256 cfe1e22e66816061c2255c0cbeb5c1386fbd513816aa5abbf9d938e9d3755c28

See more details on using hashes here.

File details

Details for the file mini_util-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: mini_util-0.1.12-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

Hashes for mini_util-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 81de632d08fb7910c907e3e7d23f554fef58e3c75b0b6beca0188edfe1aac939
MD5 0181ea7d39fced8b2181389cd0b7953b
BLAKE2b-256 6b15f6399c58e57788c1e8c9f635a24384c7179beb6bda0dedce95badc22bcd8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page