Skip to main content

Collection of small tools

Project description

ACBox my little toolbox

PyPI version Python versions Codecov (main) Build

License - MIT PyPI - Downloads Mypy Ruff

Quickstart

pip install acbox

Helpers

cli helper

A cli wrapper modeled after click

from argparse import Namespace
from acbox import clickwrapper

@clickwrapper.command("fancy")
def main(args: Namespace) -> None:
    print(args)

utilities

A cli runner with verbose output

from acbox.runner import Runner

runner = Runner(True, exe=["git"])
print(runner.run(["status"], capture=True))

A loadmod function to load modules from a file

from acbox.utils import loadmod
print(loadmod(Path("support/builder")))

Ref. beta/0.0.7@1611e79

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

acbox-0.0.7b1.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acbox-0.0.7b1-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file acbox-0.0.7b1.tar.gz.

File metadata

  • Download URL: acbox-0.0.7b1.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for acbox-0.0.7b1.tar.gz
Algorithm Hash digest
SHA256 d47f46803053fa3506de987929bf4a66461c61683885e21d69e90fbf750db817
MD5 0c400f0add4a1cc065839466a32172f4
BLAKE2b-256 275cbcef576551afa6e969c16187d76490b9a1872d0911522f32d1d2d9d5c226

See more details on using hashes here.

File details

Details for the file acbox-0.0.7b1-py3-none-any.whl.

File metadata

  • Download URL: acbox-0.0.7b1-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for acbox-0.0.7b1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f4b3a2f33e3435ea92223e795c3edd54f9872bb454dc232d56c497d0951c01f
MD5 d8cbafd053ca8380002d7443b04acc9b
BLAKE2b-256 ab0c01c4b2f4161e577969e6282cc3359bddaff0801b0f8224e2ec701886f0a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page