rootly-sdk
rootly-sdk is a small Python library to count free disk space on filesystem roots (drive roots on Windows, / on Unix-like systems).
Installation
pip install rootly-sdk
Quick Start
from rootly_sdk import count_free_space, list_root_free_space
total_free_bytes = count_free_space()
per_root = list_root_free_space()
print(total_free_bytes)
print(per_root)
CLI
After installation, use:
rootly-free-space
Example output:
/ : 2241304576 bytes free
Total free space across roots: 2241304576 bytes
Development
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest
Publishing to PyPI
python -m pip install --upgrade build twine
python -m build
twine check dist/*
twine upload dist/*
Metadata
Release files for rootly-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rootly_sdk-0.1.0.tar.gz | 3.1 kB | Without provenance | Details for rootly_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rootly_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rootly_sdk-0.1.0-py3-none-any.whl |
Total release size: 7.2 kB
Release files / rootly_sdk-0.1.0.tar.gz
| Download URL | rootly_sdk-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61b31d32a3d534be5704a472eb2e50dba60ff453826c6a66bcba850012a956a4
|
|
BLAKE2b-256 checksum How to use checksums |
bc338568b99de38fe69a87f5d3e673d628b4f740222cf01e5ffed597532043c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / rootly_sdk-0.1.0-py3-none-any.whl
| Download URL | rootly_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b15ecfcfc9a22188a5ec8bdec67041058ecde45c81c65f7f95ee365a82fa719
|
|
BLAKE2b-256 checksum How to use checksums |
479a0a731d15dbbfb8056b86528af09ded473e2174242d6cea8faa2f5c19b3ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for rootly-sdk 0.1.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.