Distributed intelligent compression for long-term data archival
Project description
❄️ Permafrost Data Framework
Instalação
pip install permafrost-framework
Quick Start
import permafrost as pf
metrics = pf.freeze(df, "vendas.permafrost", codec=pf.CODEC_LZMA2, partition_by="ano")
print(f"Ratio: {metrics['ratio']:.2f}x")
df_back = pf.thaw("vendas.permafrost", verify=True)
df_2023 = pf.thaw("vendas.permafrost", filter={"ano": 2023}) # sparse index
Benchmarks (medidos)
| Dado | Original | .permafrost | Ratio |
|---|---|---|---|
| CSV corporativo 80k linhas | 5.85 MB | 0.678 MB | 8.37x |
| JSONL social media 5k posts | 1.44 MB | 0.043 MB | 33x |
| 1 TB no Glacier Deep Archive | $0.99/mês | $0.12/mês | -88% |
91/91 testes passando — ver EVIDENCE.md.
Docs
caua-ferreira.github.io/permafrost-framework
Licença
Apache License 2.0
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
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 permafrost_framework-0.6.0.tar.gz.
File metadata
- Download URL: permafrost_framework-0.6.0.tar.gz
- Upload date:
- Size: 88.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b67d66bfc4d47576b205809379be57c64ae8ae8f679ab1637c1bfc8265ebaadc
|
|
| MD5 |
0ecbe5dc619fe45b45dc3e772ea4f34a
|
|
| BLAKE2b-256 |
ec14bef9d8a87c4884cc494d559da223772be22c59e06aa14796711fde930524
|
File details
Details for the file permafrost_framework-0.6.0-py3-none-any.whl.
File metadata
- Download URL: permafrost_framework-0.6.0-py3-none-any.whl
- Upload date:
- Size: 50.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ec9e7fd2a0063e2bee7eeef743ecf04e81b6e962534c7210823a18665aa9c38
|
|
| MD5 |
ca56cef07bf1ad5d809ee2764e5031bb
|
|
| BLAKE2b-256 |
3e8a89533508b65c729bbd45baf00829ab37234bdef4bf026217c6cd9256705d
|