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@47e23c4

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.7b0.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.7b0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acbox-0.0.7b0.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.7b0.tar.gz
Algorithm Hash digest
SHA256 1b22feaba700b0faac759fae170f372a458e6854ec59a1be190d76c585ac1644
MD5 f075a6aa625b06d86e0ccdd32f7ddf2e
BLAKE2b-256 901285797c442c66f7a458c758bbc1d24df032e44e0c0879e123948d91db0524

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acbox-0.0.7b0-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.7b0-py3-none-any.whl
Algorithm Hash digest
SHA256 c28469d33bcd85e150710d23a432e90276cfd67976adabbf52f83f4ecc6e717c
MD5 47196c101e526863ebf44276c6798bbc
BLAKE2b-256 571002d43bf7b0f9b3ca9b930b4003a80fae1b94cf31cf1fb629d8caa983c52a

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