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@6ad3112

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: acbox-0.0.6b6.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.6b6.tar.gz
Algorithm Hash digest
SHA256 e40c5db1cb7a9cab67294abced35279103a2a4eed3f37af120d6db1aa386dfcd
MD5 0450be8fdf87cd613d14578333bac1b0
BLAKE2b-256 71dc020f3e16f781cec5a270135416a72bebb118024132c0fd367158b3800cf9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acbox-0.0.6b6-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.6b6-py3-none-any.whl
Algorithm Hash digest
SHA256 df410fe3dbae80c7a4b079bf14490ce9bc811d9545ee0825473b9204e60be5bb
MD5 aa80764691814816c7bf8d0f153e86f7
BLAKE2b-256 f8d771a551d7b8cd16ea1326a17f90d2355c3e62b339d87d2e637185325e9525

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