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@892f463

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: acbox-0.0.6b3.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.6b3.tar.gz
Algorithm Hash digest
SHA256 c9bdf289fe205aa3b1a4bef8525a564efa29ebb09f0488e59e70227b70138e7d
MD5 7ec467096abff7bb13100b20c302cd34
BLAKE2b-256 69555d9fa44c1d4b4705888a9890062cfacfb490ac854523c346be0dcd18b3bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acbox-0.0.6b3-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.6b3-py3-none-any.whl
Algorithm Hash digest
SHA256 f3b1170026a9fc3d5ae9f58f9d246a806c19059aa7beb187de5b5345774fd12f
MD5 d27d57f4ba8a24241e6b4fc0544b747a
BLAKE2b-256 cc9d787d810ea174b155247a348cf8552d5419fe5280c667c2096a3a437e79c0

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