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@f385532

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.6b5.tar.gz (21.6 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.6b5-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acbox-0.0.6b5.tar.gz
  • Upload date:
  • Size: 21.6 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.6b5.tar.gz
Algorithm Hash digest
SHA256 c2fd754d4117871cde85f15707c9853dd8154f97a6029fa251c1148da023e270
MD5 33c7a66a4faa7647e48b67bb5eceea4c
BLAKE2b-256 2c2e406f2c58c9215676df685227e4a91d1bbccf591922fe41d4eb012ddcb974

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acbox-0.0.6b5-py3-none-any.whl
  • Upload date:
  • Size: 22.3 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.6b5-py3-none-any.whl
Algorithm Hash digest
SHA256 5ebca23db10b5f94a3f4428fdd01beb7165bb071798a838480dc88e459402b99
MD5 4a3bc2d18172bc1bc569f954a7a70a3b
BLAKE2b-256 2a8baab18239def43acc98e572490394f1b23725bf8a4d29ab75043dfa13acd1

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