An assortment of useful python utilities complementing some builtin and third party python packages
Project description
el-std-py
el-std-py is an assortment of useful python utilities complementing some builtin and third party python packages.
Disclaimer
- I mainly develop this library for my own use use, and while I do thing that it might be useful to others, there is no guarantee that features work as expected and I may introduce breaking changes to APIs at any time.
- While the
el-std-py
is namely related to myel-std-cpp
library, the two are not related in any way content-wise and there is no promise of feature parity whatsoever. Both libraries are simply utility libraries for the respective languages with features I commonly use in them. They are otherwise independent.
Versions
I am currently targeting Python 3.12 for this library. Although some things might work in earlier versions, there is no guarantee, and I will not refrain from using the latest python features.
Features and Documentation
While I might write more comprehensive documentation for some features along the way, I will at least try to maintain an up-to-date list of all available features:
(when reading from PyPi, some links might not work. View on GitHub for full documentation)
el.async_tools
: Utility functions for working withasyncio
el.errors
: More exception types for general errors I have encountered to need often. Some of them are used by el.el.terminal
: Terminal controller enabling an asynchronous command interface and a color-coded logging configuration that is a good stating point and pushes logs to stdout without disturbing the user command line.el.timers
: Async timer classes such as IntervalTimer and WDTimer for use withasyncio
el.typing_tools
: Utility functions for working withtyping
el.observable
: Data wrapper classes allowing the observation and chaining of value change events and thus declaratively defining data pathsel.datastore
: Zero-setup Data and configuration file handler that uses pydantic do define data models andasyncio
to automatically store/load them to/from disc in the background without having to touch filepaths or files.el.bindantic
: An unofficial "extension" (one could call it a "mod") for pydantic that adds support for defining, dumping and validating binary data structures (like in C), while maintaining all pydantic features.
Contribution
Despite all these disclaimers, if you have utilities, changes, fixes, etc. that you think might be nice to include here, feel free to create issues/PRs.
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
File details
Details for the file el_std_py-0.2.0.tar.gz
.
File metadata
- Download URL: el_std_py-0.2.0.tar.gz
- Upload date:
- Size: 43.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4c62947d790cb062271ccba38bacfe50948d28351c32696df6b3f8ef642278 |
|
MD5 | 867d264fe8b974962fde28830bee615a |
|
BLAKE2b-256 | 47cf1eb2429352475a81c9cc800a08501652c4314677667715a31e5b933a4c50 |
File details
Details for the file el_std_py-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: el_std_py-0.2.0-py3-none-any.whl
- Upload date:
- Size: 40.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd58b675c2bf56077f0b1a37d17204c8294e7c788639e655535b0e2ab963761 |
|
MD5 | 74ea062b45d3f4dd2419a2d75b6d8252 |
|
BLAKE2b-256 | 80867962a2ef82de4047df42d2a5041100976fd180011a4068d2c8b0be43d1e1 |