Skip to main content

📦 Helper CLI

A simple command-line tool to show system info (IP, CPU arch, etc.) and the commands used to get them.


🚀 Install

With uv (recommended):

uv tool install helper-cli

Or run without installing:

uvx --from helper-cli helper ip

With pip:

pip install helper-cli

🧠 Usage

helper [command]

Available commands:

Command Description Example
ip Show internal IP helper ip
pubip Show public IP helper pubip
arch Show CPU architecture (arm / amd) helper arch
si Show system information helper si
nix Show NixOS information helper nix
d Show Docker information helper d
sp Show speed test results helper sp
v Show virtual environment info helper v
f Show file information helper f
env Show environment variables helper env
run Run command snippets helper run
kill Kill processes by name or port helper kill <name>
disk Show disk usage, mount, and list info helper disk usage
journalctl Show useful journalctl options and examples helper journalctl
tools List other tools by the same author helper tools
odoo Download click-odoo scripts to current dir helper odoo
all Show all info helper all

Use -v for verbose output (e.g., helper ip -v).

Each command also prints the shell command it runs to get the result.

📚 Library Usage

You can import and use helper functions programmatically:

import helper

# Get disk usage information
usage = helper.disk.get_usage()
print(usage)

# Get system information as dict
info = helper.system_info.get_info()
print(f"System: {info['system']['system']}")
print(f"CPU: {info['cpu']['cpu']}")

# Get internal IP
ip = helper.internal_ip.get_internal_ip()
print(f"Internal IP: {ip}")

# Get public IP
pub_ip = helper.public_ip.get_public_ip()
print(f"Public IP: {pub_ip}")

# Get architecture
arch = helper.arch.get_arch()
print(f"Architecture: {arch}")

# Get all info
all_info = helper.all_info.get_info()
print(all_info)

🔄 Upgrade

With uv:

uv tool upgrade helper-cli

With pip:

pip install --upgrade helper-cli

🧑‍💻 Contribute

Pull requests are welcome!

Set up a development environment with uv:

uv venv
uv pip install -e ".[dev]"

Or with pip:

pip install -e ".[dev]"

Before submitting a PR, ensure your code passes lint checks and tests:

make lint
make test

With uv you can also run them directly:

uv run --extra dev ruff check .
uv run --extra dev pytest

Testing

Run the test suite:

make test

Or run pytest directly:

pytest

Tests are located in the tests/ directory. For detailed testing guidelines and conventions, see src_docs/testing.md.

Repo: https://github.com/nguyenhuy158/helper

Metadata

Release files for helper-cli 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for helper-cli 0.2.4
File Size Uploaded
helper_cli-0.2.4.tar.gz 32.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for helper-cli 0.2.4
File Interpreter ABI Platform
helper_cli-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 71.5 kB

Release files / helper_cli-0.2.4.tar.gz

Download URL helper_cli-0.2.4.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c5e0a7ae97e8d011c8a2b45aaaddaf029c3abd544c614563c1865ea098e60c45
BLAKE2b-256 checksum
How to use checksums
ddcea8b1bb46ca871292c7dc2f48b6aa608041633d7504efff77d88867a2d50b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Release files / helper_cli-0.2.4-py3-none-any.whl

Download URL helper_cli-0.2.4-py3-none-any.whl
Size 39.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02296a4c925851d3d8e5d596b685221a5e6c83bf1801fb62a666c7b17b6e1de2
BLAKE2b-256 checksum
How to use checksums
32010205d59d15534b311dc5178c2e1dbccdb165c3e134f0eaeff140681ad768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page