Skip to main content

autokit version 0.14.16

A framework for effortlessly integrating external tools into your Python projects.

Installation

pip install autokit 

Basic Usage

from autokit import ToolConfig, PlatformData, ExternalTool
from pathlib import Path

class TestTool(ExternalTool):
    def __init__(self, base_dir: str = "./third-party", progress_bar: bool = True, lazy_setup: bool = False):
        super().__init__(base_dir, progress_bar, lazy_setup)

    @property
    def config(self) -> ToolConfig:
        return ToolConfig(
            tool_name="tests-tool",
            platform_data={
                "windows": PlatformData(
                    url="https://github.com/IRSS-UBC/MediaTools/releases/download/latest/win-x64.zip",
                    subdir=Path(""),
                    executable=Path("IRSSMediaTools.exe")
                ),
            },
            python=False,
        )

    def help(self):
        self.run_command("help")


if __name__ == "__main__":
    test = TestTool()
    test.help()

Features

  • Automatic download and configuration of external tools on first use.
  • Define tools and their commands in a configuration file.
  • Streamlined execution of tool commands from within your Python code.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Contact: olson@student.ubc.ca

Release files for autokit 0.14.16

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

Source distribution (sdist)

Source distribution for autokit 0.14.16
File Size Uploaded
autokit-0.14.16.tar.gz 7.7 kB Details

Built distribution (wheel)

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

Total release size: 16.0 kB

Release files / autokit-0.14.16.tar.gz

Download URL autokit-0.14.16.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
946eb2ab0bc98f674389845c311193884674d0ad6e2c5531c2ae2e2904aae925
BLAKE2b-256 checksum
How to use checksums
3b742af569e76087ae891f3ac131a824dee64dd1a144e3f62edfa62ec6187797
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release files / autokit-0.14.16-py3-none-any.whl

Download URL autokit-0.14.16-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bcb32159becd2a376d96b0d953f8a4c57a944f930a8b92e72caed663d089ab63
BLAKE2b-256 checksum
How to use checksums
694826ac01102644f873d54650d1f6e230302857a2912ba472d3be406848d260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7
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