Skip to main content

chtoolbox

chtoolbox is a library containing various python tools used in my daily work

Installation

To install chtoolbox, use pip:

pip install chtoolbox

Usage

Examples are provided in the examples folder in the repository.

Folder size check

Use check_folder_sizes to inspect the direct files and subfolders inside a folder. Subfolder sizes include all files recursively below each subfolder.

from chtoolbox.misc import check_folder_sizes

sizes = check_folder_sizes('.')

After installing the package, you can also run the same check directly from CMD:

chfolder-size
chfolder-size C:\path\to\folder
chfolder-size C:\path\to\folder --sort-by name --ascending

If Windows blocks generated .exe launchers in your environment, run the same command through Python instead:

python -m chtoolbox.folder_size
python -m chtoolbox.folder_size C:\path\to\folder
python -m chtoolbox.folder_size C:\path\to\folder --sort-by name --ascending

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for chtoolbox 1.4.0

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

Source distribution (sdist)

Source distribution for chtoolbox 1.4.0
File Size Uploaded Provenance Actions
chtoolbox-1.4.0.tar.gz 9.4 kB Without provenance Details for chtoolbox-1.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chtoolbox 1.4.0
File Interpreter ABI Platform Actions
chtoolbox-1.4.0-py3-none-any.whl Python 3 none any Details for chtoolbox-1.4.0-py3-none-any.whl

Total release size: 21.4 kB

Release files / chtoolbox-1.4.0.tar.gz

Download URL chtoolbox-1.4.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aff77575a4bf40991031125b216bed718ec882b93418fc40369250539754640e
BLAKE2b-256 checksum
How to use checksums
00f0329262f7bdc72d0c1048ce4686d35fd856d703d8e7bb062f1076a1de8cb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / chtoolbox-1.4.0-py3-none-any.whl

Download URL chtoolbox-1.4.0-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be65993bc9cc706d47746683c9784d638fcef25ad00cad0472d08afae4870126
BLAKE2b-256 checksum
How to use checksums
2de40c1d9c15500eb8fae78181235c285b3fbe07dca0274ad04ca833de0a72ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Security for chtoolbox 1.4.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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