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.7

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.7
File Size Uploaded
helper_cli-0.2.7.tar.gz 35.5 kB Details

Built distribution (wheel)

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

Total release size: 81.2 kB

Release files / helper_cli-0.2.7.tar.gz

Download URL helper_cli-0.2.7.tar.gz
Size 35.5 kB
Tags Source
SHA-256 checksum
How to use checksums
419528210b0a0c4b8361d4c4e8b75ee57bd6b95d993922e801db372cbd9ac7ef
BLAKE2b-256 checksum
How to use checksums
b881ae61d82352ad2414259bcc34378a66bdb21304508cc0e68227ebb3c9b08c
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.7-py3-none-any.whl

Download URL helper_cli-0.2.7-py3-none-any.whl
Size 45.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f2c90782bcf0b061a25b18a7848e9137ccf99f4f694908585343074d6014b4f
BLAKE2b-256 checksum
How to use checksums
49c187683280035d972e0b880a232c484d06ccc946f4e4b36fb9132efac2a7dd
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