Skip to main content

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

Metadata

Release files for actl 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for actl 0.1.0
File Size Uploaded
actl-0.1.0.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for actl 0.1.0
File Interpreter ABI Platform
actl-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / actl-0.1.0.tar.gz

Download URL actl-0.1.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
33ecda221ca8e836318594999b031be01d4f536e7c03017708e0048500b41d58
BLAKE2b-256 checksum
How to use checksums
d702e95321b2e877ad487d280a8a8900f6d9eafee1a3cdc84446a772e6c65f89
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / actl-0.1.0-py3-none-any.whl

Download URL actl-0.1.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47d48b8a4ee8e234879e9f5bc2dff85520047f0c98cda9abf1ea9d029f5dd2a1
BLAKE2b-256 checksum
How to use checksums
0dea5f4b05d6bde5d8be98c7eea72be6537e08cb8a7559b65398fe25e180ed4e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page