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.6@e6ca513

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.6b2.tar.gz (21.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.6b2-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file acbox-0.0.6b2.tar.gz.

File metadata

  • Download URL: acbox-0.0.6b2.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for acbox-0.0.6b2.tar.gz
Algorithm Hash digest
SHA256 43d06e4d2170fbb84a3003ef2aebf9419dc6a87ce3e3bfef155f6964f0286dc2
MD5 c8a326869f1d0adc684526f41fc304e4
BLAKE2b-256 9fcb5c9a2e03ade34cc9cdb468f7caada5bc82c62cec0285f1baff5d8dbf5c8a

See more details on using hashes here.

File details

Details for the file acbox-0.0.6b2-py3-none-any.whl.

File metadata

  • Download URL: acbox-0.0.6b2-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for acbox-0.0.6b2-py3-none-any.whl
Algorithm Hash digest
SHA256 e60cc93f279d881eb455e4615ed31ac38541731befab8d55517db3a327462717
MD5 2c5832a5dd1c1ee8d5ae5042aa514edb
BLAKE2b-256 162f0008537a834a43710c204126336e59ece7650245ec26f76476748087cd67

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