This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Please install deepfreeze-core instead
Elastic Deepfreeze Core
Core library for Elasticsearch S3 Glacier archival operations.
Overview
This package provides the shared functionality for deepfreeze operations, used by both:
- elastic-deepfreeze-cli: Standalone CLI tool
- elasticsearch-curator: Full Curator with deepfreeze support
Installation
pip install elastic-deepfreeze-core
Or from source:
pip install git+https://github.com/elastic/deepfreeze.git#subdirectory=packages/elastic-deepfreeze-core
Usage
This package is typically used as a dependency by other packages. For direct usage:
from elastic_deepfreeze_core import (
Setup, Status, Rotate, Thaw, Refreeze, Cleanup, RepairMetadata,
s3_client_factory, create_es_client
)
# Create ES client
client = create_es_client(hosts=["https://localhost:9200"], username="elastic", password="changeme")
# Create and run an action
status = Status(client=client)
status.do_action()
Components
Actions
Setup- Initialize deepfreeze environmentStatus- Display status of repositories and thaw requestsRotate- Create new repository, archive old ones to GlacierThaw- Restore data from Glacier storageRefreeze- Return thawed data to GlacierCleanup- Remove expired repositories and requestsRepairMetadata- Fix metadata discrepancies
Utilities
s3_client_factory- Create S3 client for AWScreate_es_client- Create Elasticsearch client- Repository and Settings management functions
Development
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Format code
black elastic_deepfreeze_core/
ruff check elastic_deepfreeze_core/
Why "elastic-deepfreeze-core"?
The package name includes the elastic- prefix to prevent dependency confusion attacks. See the main README for details.
Metadata
Release files for elastic-deepfreeze-core 1.0.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 |
|---|---|---|---|---|
| elastic_deepfreeze_core-1.0.0.tar.gz | 55.5 kB | Without provenance | Details for elastic_deepfreeze_core-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| elastic_deepfreeze_core-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for elastic_deepfreeze_core-1.0.0-py3-none-any.whl |
Total release size: 123.8 kB
Release files / elastic_deepfreeze_core-1.0.0.tar.gz
| Download URL | elastic_deepfreeze_core-1.0.0.tar.gz |
|---|---|
| Size | 55.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b771d55217bae67a226c2cdb190285f5597b11736e423ccd80b72ef813fd0d0
|
|
BLAKE2b-256 checksum How to use checksums |
e7f0b398a2039dcb6de05ac3ccfbce2009402b2d64481558a4e5fe715e5067ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / elastic_deepfreeze_core-1.0.0-py3-none-any.whl
| Download URL | elastic_deepfreeze_core-1.0.0-py3-none-any.whl |
|---|---|
| Size | 68.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f562b5bd8acb429cfeb4e1b752b4983ddef9ccfe41fa0005d8f32af3290c6f95
|
|
BLAKE2b-256 checksum How to use checksums |
a9055a51ee058f87a53e8761c07e64e1b3ed9fa6e2165e190a027a7cfdf3e17d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Security for elastic-deepfreeze-core 1.0.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.