Python application framework
Project description
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
@tagging.tag(key="Value")
class MyClass():
pass
tagging.tag(key="Value")(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
>>> from fleks.util import typing
Base-classes for Configuration
Placeholder
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
fleks-2023.8.29.4.36.tar.gz
(12.9 kB
view hashes)
Built Distribution
Close
Hashes for fleks-2023.8.29.4.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b84c459eee03811e928cdda3a883fc724c828c1dcea548794b29df5ea4426464 |
|
MD5 | 0046f1fed1a0a92c480b443b73d9431f |
|
BLAKE2b-256 | 2cb4dc56fd3188c9671e2cdaa3a062afbd829d5b00058097a449810376779014 |