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. v0.0.6@29a7830

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: acbox-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 01bc0d8be07743218438a77628015cf83e17f2411fc364051acac4e384c73efc
MD5 b1a2339ff47ca41a2b0b075450906a30
BLAKE2b-256 48595ff035089e50f4d1692a5521358c9aac06cca0e508915dc336cecb2199ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acbox-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 22.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2acf08f55879a984660a43a29ae786f3e22aecb855cf19064b8c106f7e925314
MD5 3412b302aded33c0b7326e842fdb07fa
BLAKE2b-256 311a9b2980484588f7429e6c02ba093a4590703ea78066e88c297b874adbd84b

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