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.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-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: minor_utils-0.2.1.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.tar.gz
Algorithm Hash digest
SHA256 39809c922b17a7a7be53b0c35fcc03a4c089c607ad2de57830c37e21eaad4143
MD5 bdc4d506b2da5fb7f82f6c461ee06aa9
BLAKE2b-256 f7a54cfd827a93e2862ae29ff985807e46f009b3b1e84a3c9349857d25399bc2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: minor_utils-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.5

File hashes

Hashes for minor_utils-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac0578d73aed5bdbdf3914eeb8715e5b0f94e6321b603d28e0bde860b8fc52d
MD5 000274b82a6a86cda3e62cc27193b95a
BLAKE2b-256 9ed27250f15c4676192602b4b7b9948cc35580dd7c9488ba5d6f5cfd892f52bf

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