|
fleks
|
|
| Python application framework | |
Overview
(This is experimental; API-stability is not guaranteed.)
Application framework for python.
Features
- CLI parsing with click
- Console output with rich
- Plugin Framework
- Exit-handlers, conventions for handling logging, etc
Installation
See pypi for available releases.
pip install fleks
Usage
See also the unit-tests for some examples of library usage.
Tags & Tagging
>>> from fleks import tagging
>>> class MyClass(): pass
>>> tagging.tags(key="Value")(MyClass)
<class '__main__.MyClass'>
>>> assert tagging.tags[MyClass]['key']=="Value"
>>>
Class-Properties
>>> import fleks
>>> class Test:
... @fleks.classproperty
... def testing(kls):
... return 42
>>> assert Test.testing==42
>>>
Typing helpers
fleks.util.typing collects common imports and annotation-types, i.e. various optional/composite types used in type-hints, underneath one convenient namespace. This includes stuff from:
>>> from fleks import typing
>>> print(sorted([name for name in dir(typing) if name.title()==name]))
['Annotated', 'Any', 'Awaitable', 'Bool', 'Callable', 'Collection', 'Container', 'Coroutine', 'Counter', 'Deque', 'Dict', 'Field', 'Final', 'Generator', 'Generic', 'Hashable', 'Iterable', 'Iterator', 'List', 'Literal', 'Mapping', 'Match', 'Namespace', 'Optional', 'Pattern', 'Protocol', 'Reversible', 'Sequence', 'Set', 'Sized', 'Text', 'Tuple', 'Type', 'Union']
>>>
Base-classes for Configuration
>>> from fleks import Config
>>>
Metadata
Release files for fleks 2025.8.6.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fleks-2025.8.6.4.1.tar.gz | 16.4 kB | Without provenance | Details for fleks-2025.8.6.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fleks-2025.8.6.4.1-py3-none-any.whl | Python 3 | none | any | Details for fleks-2025.8.6.4.1-py3-none-any.whl |
Total release size: 35.3 kB
Release files / fleks-2025.8.6.4.1.tar.gz
| Download URL | fleks-2025.8.6.4.1.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
098885a9035af14ac7948b768dea6c744a7e49aa5c12e8dca5f9478fe43ae58c
|
|
BLAKE2b-256 checksum How to use checksums |
2782f35315d413266a68375f856c4e93cf8d1e814f3acb688b05c6cee7b22dce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / fleks-2025.8.6.4.1-py3-none-any.whl
| Download URL | fleks-2025.8.6.4.1-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
274abea0184f9907a02455773e710a5d222dc9eb4fee0c258c188aa1bdc97d76
|
|
BLAKE2b-256 checksum How to use checksums |
2634bace1203072adf01d58b1c09c27d0e9e1b8d99ebde9ba23450d90e94f706
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Security for fleks 2025.8.6.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.