Task tool with make-like features.
Project description
Ixian
Ixian is a modular task tool written in python3. It is intended to be a replacement for Make, emulating and expanding on some of it's most useful features.
Installation
pip install ixian
Setup
Create an ixian.py file where you intend to call ix from. Optionally set IXIAN_CONFIG to tell
ixian where to find it.
Within that file create an init method that loads modules and configures settings.
from ixian.config import CONFIG
from ixian.module import load_module
def init():
# Load modules which contain tasks
load_module('ixian.modules.core')
# Update settings
CONFIG.PROJECT_NAME = 'testing'
Create a task
Tasks are created by extending the task class.
from ixian.task import Task
class MyTask(Task):
"""
The docstring will be used as help text.
"""
name = 'my_task'
short_description = 'description will be shown in general help'
def execute(self, *args, **kwargs)
print(args, kwargs)
Run a task
The task may then be called using the ix runner.
ix my_task
Args passed to the runner are passed to the task as args
ix my_task arg1 arg2
Builtin help
A list of available commands is available by calling ix or ix --help.
Access built-in help for any task by calling ix help my_task. Builtin help should display how to
use the task, enumerate any relevent environment variables, and display the status of any checks.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ixian-0.2.8.tar.gz.
File metadata
- Download URL: ixian-0.2.8.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9624df7bc5c9291c9adaf8de350caeac1d60a6effce78d4b05813a00affaddc6
|
|
| MD5 |
cd4368beedec246f21dd87373cb1604d
|
|
| BLAKE2b-256 |
2e42b4475298901c5dab25482379f664c748f0da073c45abc4f384ce5b60c459
|
File details
Details for the file ixian-0.2.8-py3-none-any.whl.
File metadata
- Download URL: ixian-0.2.8-py3-none-any.whl
- Upload date:
- Size: 83.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aa8ff3e9515d07be19503e1a37e5e727220d840e20fefb7110339f882f8f2e9
|
|
| MD5 |
2d1f02ccda48010d3570e0788e94683c
|
|
| BLAKE2b-256 |
fb056fc737e3922d8dea03e5891abc0ae00c283fc5371055290defb9f7b3c20d
|