A dot-accessible Python utility toolkit for files, directories, media, math conversions, random values, strings, validation, and external tooling.
Project description
colemen_py
colemen_py is a dot-accessible Python utility toolkit rebuilt from the older colemen_utils ecosystem.
The public API is intentionally discoverable from a single import:
import colemen_py as c
c.file.exists("notes.txt")
c.string.to_snake_case("Hello World")
c.rand.uuid()
Installation
Base install:
pip install colemen-py
Optional feature groups:
pip install "colemen-py[image]" # Pillow-backed image helpers
pip install "colemen-py[audio]" # Mutagen-backed audio metadata helpers
pip install "colemen-py[video]" # OpenCV-backed video frame scoring helpers
pip install "colemen-py[media]" # image + audio + video optional dependencies
pip install "colemen-py[dev]" # test/build/lint tooling
The import package name is still colemen_py:
import colemen_py as c
Design principles
- One installable package, many internal modules.
- Dot-accessible namespaces for IDE autocomplete.
- Pythonic
snake_casemethod names, with selected compatibility aliases where useful. - Public functions include type hints and docstrings.
- No expensive work at import time.
strandpathlib.Pathare accepted for path-based helpers.- Generic file utilities live in
c.file; media-specific behavior lives inc.media.
Public namespaces
c.array # list/sequence utilities
c.list # alias to c.array
c.object # dictionary/object utilities
c.dict # alias to c.object
c.string # string utilities
c.file # file utilities
c.dir # directory utilities
c.directory # alias to c.dir
c.console # console output/timers
c.rand # random values/ids
c.random # alias to c.rand
c.time # time/duration utilities
c.type # type checks/coercion
c.validation # validation helpers
c.math # math helpers
c.media # media/binary utilities
Stage 1 status
This is the foundation package. The old colemen_utils source has not been blindly copied in. Instead, the core utility surface has been rebuilt with clean internals and tests.
The package can use bundled binaries when present and can also fall back to compatible tools available on PATH. Current media wrappers may rely on external executables such as ExifTool, FFmpeg, FFprobe, colemen_copy, and Shredator depending on the feature being used.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file colemen_py-0.1.1.tar.gz.
File metadata
- Download URL: colemen_py-0.1.1.tar.gz
- Upload date:
- Size: 7.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81cad05a45e8639b2a5f2cc6afc46b616a6481822089ea50527bfa34c3be099e
|
|
| MD5 |
926384dce6ff404796168bd1b6391807
|
|
| BLAKE2b-256 |
1c8f032bbca23a3b7962a3dd82d853414029f1305e46e1f1c2bfcd676b98901a
|
File details
Details for the file colemen_py-0.1.1-py3-none-any.whl.
File metadata
- Download URL: colemen_py-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecd3eefeb1a24fcffeea4791d5afb876dd37bdefba3687101937c1225710efb3
|
|
| MD5 |
2dc306dc4e70a9390b74dc448ab929a0
|
|
| BLAKE2b-256 |
d2403c380f68637444be1a29f7876eeeaa9e840888b4b1f0eb636d6929631987
|