Skip to main content

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


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)

Uploaded Source

Built Distribution

fleks-2023.8.29.4.36-py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page