Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

actl-0.1.0-py3-none-any.whl (6.1 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