some used tool collections
Project description
zxtoolbox
A collection of tools for frequently performed repetitive tasks on Windows, Mac, and Linux systems
English | Chinese
0x01. Install
uv tool install zxtoolbox
0x02. Directory Structure
toolbox/
├── doc/ # Documentation directory
│ ├── index.md # Project documentation
│ ├── computer_info.md # Computer information retrieval documentation
│ ├── config_manager.md # Configuration file management documentation
│ ├── git_config.md # Git repository configuration documentation
│ ├── letsencrypt.md # Let's Encrypt certificate documentation
│ ├── mkdocs_manager.md # MkDocs project management documentation
│ ├── ssl_cert.md # SSL certificate generation documentation
│ └── video_download.md # Video download documentation
├── src/ # Source code directory
│ └── zxtoolbox/ # Main package
│ ├── __init__.py # Package initialization
│ ├── cli.py # Command-line entry point
│ ├── computer_info.py # Computer information retrieval
│ ├── config_manager.py # Configuration file management
│ ├── git_config.py # Git repository configuration management
│ ├── letsencrypt.py # Let's Encrypt certificate management
│ ├── mkdocs_manager.py # MkDocs project management
│ ├── pyopt_2fa.py # 2FA tool
│ ├── ssl_cert.py # SSL certificate generation
│ ├── video_download.py # Video download
│ └── test/ # Test directory
├── pyproject.toml # Project configuration and dependencies
├── README.md # Project description
└── uv.lock # uv locked dependency versions
0x03. Dependencies
Core Dependencies
| Package | Purpose | Website |
|---|---|---|
| paramiko | SSH connections | paramiko.org |
| prettytable | Table formatting | github.com |
| psutil | System information | psutil.readthedocs.io |
| py-cpuinfo | CPU information | github.com |
| nvidia-ml-py | NVIDIA GPU information | github.com |
| pyotp | 2FA one-time passwords | github.com |
| yt-dlp | Video downloading | github.com |
| pyyaml | YAML parsing | pyyaml.org |
| acme | ACME protocol (Let's Encrypt) | github.com |
| cryptography | Cryptographic functions | cryptography.io |
| requests | HTTP requests | requests.readthedocs.io |
| mkdocs | Documentation site building | mkdocs.org |
| mkdocs-smzhbook-theme | MkDocs theme | github.com |
0x04. Running Unit Tests
The project uses pytest as the testing framework. Test files are located in the src/zxtoolbox/test/ directory.
Install Test Dependencies
uv add --dev pytest
Run All Tests
uv run pytest src/zxtoolbox/test/ -v
Run Single Test File
uv run pytest src/zxtoolbox/test/test_cli.py -v
Run Specific Test Class or Method
# Run specific test class
uv run pytest src/zxtoolbox/test/test_cli.py::TestCliGit -v
# Run specific test method
uv run pytest src/zxtoolbox/test/test_cli.py::TestCliGit::test_git_config_check -v
View Test Coverage
uv add --dev pytest-cov
uv run pytest src/zxtoolbox/test/ --cov=zxtoolbox --cov-report=term-missing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zxtoolbox-1.4.10.tar.gz
(76.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zxtoolbox-1.4.10.tar.gz.
File metadata
- Download URL: zxtoolbox-1.4.10.tar.gz
- Upload date:
- Size: 76.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b523991a2d7230b6bdec5483b5a831a37722851b1bda3590d1814094ea10518
|
|
| MD5 |
4162078b52277b542e0dd497926e9c1c
|
|
| BLAKE2b-256 |
2adb118b89cf8c2d0f841579f89870c42ccfe3e874c591c0a9995d643fde7073
|
File details
Details for the file zxtoolbox-1.4.10-py3-none-any.whl.
File metadata
- Download URL: zxtoolbox-1.4.10-py3-none-any.whl
- Upload date:
- Size: 88.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65abc21c66aaa727273e90f9afe8f90c354747373c2a83bc2822794c0db84b7b
|
|
| MD5 |
ed795c0872030878698c20256a951c3a
|
|
| BLAKE2b-256 |
fb9794479fd07d15b1485ab4651adb68ce479a604f6ee567400f4991c577dac3
|