
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Task-Automator is a modern Python framework for building declarative command-line interfaces with nested subcommands, designed for automation workflows and build systems.
Overview | What is Task-Automator? | Features | Installation | Build | Defining Commands | License
[!IMPORTANT] 📣 As of March 2025 Task-Automator is still in early development. 📣
Task-Automator is a best-effort open project library. This means that support is not guaranteed and how long the project will be maintained is unknown.
Task-Automator is a modern Python framework for building declarative command-line interfaces
with nested subcommands, designed for automation workflows and build systems.
Task-Automator is implemented in pure Python that enables scripting of more complicated tasks.
You can use pip to install Task-Automator
pip install task-automator
Task-Automator uses Poetry for its build process. To build the wheel file and source distribution run:
poetry build
Create your automation structure in a Python module (like my_automator.py
):
...
import build_macos_wheel
import build_macos_exe
import build_macos_so
import run_pytest
import dev_env
AUTOMATION_TREE = {
"setup": {
"help": "Setup automations",
"subcommands": {
"dev-env": {
"help": "Sets up the development environment",
"func": dev_env.setup_dev_env
}
}
},
"build": {
"help": "Build targets",
"subcommands": {
"wheel": {
"help": "Builds the Python wheel file",
"func": build_macos_wheel.build_wheel
},
"exe": {
"help": "Creates a frozen Python application",
"func": build_macos_exe.build
},
"so": {
"help": "Compiles the _cmd module from source",
"func": build_macos_so.build_cmd_module
}
}
},
"test": {
"help": "Runs all tests under the tests/ directory using pytest.",
"func": run_pytest.run_pytest_suite
}
}
if __name__ == "__main__":
from task_automator import automator
automator.Automator(AUTOMATION_TREE).run()
If you connect your automation functions in the tree using the func
key,
you must NOT add parenthesis after the function name! Otherwise, it will
sequentially execute your tree and ignore all passed arguments.
This project is licensed under the BSD-3 License - see the LICENSE file for details.
FAQs
Task-Automator is a modern Python framework for building declarative command-line interfaces with nested subcommands, designed for automation workflows and build systems.
We found that task-automator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.