Skip to main content

Utils compilation for easier work

Project description

minor-utils

Utility library for formatting and function management.

Installation

pip install minor-utils

Modules

Formatter

Format strings using built-in or custom formats. Supports pipelines, aliases, and enable/disable of formats.

from minor_utils import Formatter

Formatter.formatting("hello world", "camelCase")  # "helloWorld"
Formatter.pipe("Hello World", "lower", "snake_case")  # "hello_world"

Manager

Register and manage functions with a menu-based runner.

from minor_utils import Manager

m = Manager()

@m.add_func
def greet():
    print("Hello!")

m.run_manual()

Note

The project is in early development. APIs may change, bugs are possible.

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

minor_utils-0.2.1.dev1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minor_utils-0.2.1.dev1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file minor_utils-0.2.1.dev1.tar.gz.

File metadata

  • Download URL: minor_utils-0.2.1.dev1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.5

File hashes

Hashes for minor_utils-0.2.1.dev1.tar.gz
Algorithm Hash digest
SHA256 6d69fae03f9f801aa8de502d780942162746a3c0f11991236ec376adff124fe2
MD5 4b9fa054a2f3416024d59eb6cb9b65d6
BLAKE2b-256 7f9e353b9d261a50d268c387e806138c7f6051808f4592881dea2f5febc54307

See more details on using hashes here.

File details

Details for the file minor_utils-0.2.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for minor_utils-0.2.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 54c1d8befe00de7b7e04078344e1ace224abd4ce5e3374d1dbb127a822f3e6b6
MD5 a039b36bb3ebefdd9b29c67dbfe8f19f
BLAKE2b-256 726acc4c28d0f556aed77c175cd36c028ca31eeb0422d5f638d83fcbea5ca390

See more details on using hashes here.

Supported by

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