A Python Application Development Framework
Project description
Introduction
actl is a command line application engine for Python, it provides an utility and library for the development of modular command line applications.
Features
- 2 lines of code for the
main
function - Uses Click for modular command line definitions
- Automatic loaded command modules «from commands/*.py»
Installation
actl is avaiable from the official Python Package Index (PIP), you can install it from the terminal:
pip install actl
Hello World
main.py
import actl
actl.main(__name__, __file__)
commands/hello.py
import click
@click.command()
def hello():
print("Hello")
Test the app:
python main.py
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
actl-0.1.0.tar.gz
(9.3 kB
view details)
Built Distribution
actl-0.1.0-py3-none-any.whl
(6.1 kB
view details)
File details
Details for the file actl-0.1.0.tar.gz
.
File metadata
- Download URL: actl-0.1.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33ecda221ca8e836318594999b031be01d4f536e7c03017708e0048500b41d58 |
|
MD5 | 3ed1f43b3a7f1ea463668613a1be215e |
|
BLAKE2b-256 | d702e95321b2e877ad487d280a8a8900f6d9eafee1a3cdc84446a772e6c65f89 |
File details
Details for the file actl-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: actl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47d48b8a4ee8e234879e9f5bc2dff85520047f0c98cda9abf1ea9d029f5dd2a1 |
|
MD5 | 3bbd313933df26aedfc95a46730e0d19 |
|
BLAKE2b-256 | 0dea5f4b05d6bde5d8be98c7eea72be6537e08cb8a7559b65398fe25e180ed4e |