Intelligent S3 synchronization for HCA Atlas data
Project description
HCA Smart-Sync
Intelligent S3 data synchronization for HCA Atlas source datasets and integrated objects.
Installation
cd smart-sync
poetry install
Usage
# Basic sync
poetry run hca-smart-sync sync gut-v1 --profile my-profile
# Dry run
poetry run hca-smart-sync sync gut-v1 --profile my-profile --dry-run
# Development environment
poetry run hca-smart-sync sync gut-v1 --profile my-profile --environment dev
Development
# Install development dependencies
make dev
# Run tests
make test-all
# Run with coverage
make test-cov
# Run linting
make lint
# Format code
make format
Features
- SHA256 checksum-based synchronization
- Manifest-driven uploads
- AWS CLI integration with progress display
- Environment-based bucket selection
- Interactive upload confirmation
- Research-grade data integrity verification
Configuration
The tool supports environment-based bucket selection:
prod(default):hca-atlas-tracker-datadev:hca-atlas-tracker-data-dev
Requirements
- Python 3.10+
- AWS CLI configured with appropriate profiles
- Poetry for dependency management
Project details
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 hca_smart_sync-0.2.1.tar.gz.
File metadata
- Download URL: hca_smart_sync-0.2.1.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af8aceef2bbd58766ff0f5c393049e4b33e339ed24c856df7451adbc0a6e4ba7
|
|
| MD5 |
c71c3de9228cbcc45c1e05324ac205fe
|
|
| BLAKE2b-256 |
3059799b436ef50973779ad9e9296cb9c0a284f68566989db19ade624a44dae8
|
Provenance
The following attestation bundles were made for hca_smart_sync-0.2.1.tar.gz:
Publisher:
publish-smart-sync.yml on clevercanary/hca-ingest-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hca_smart_sync-0.2.1.tar.gz -
Subject digest:
af8aceef2bbd58766ff0f5c393049e4b33e339ed24c856df7451adbc0a6e4ba7 - Sigstore transparency entry: 544198108
- Sigstore integration time:
-
Permalink:
clevercanary/hca-ingest-tools@fca7ab68b8621101e6608ed80e27e049324e590f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/clevercanary
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-smart-sync.yml@fca7ab68b8621101e6608ed80e27e049324e590f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file hca_smart_sync-0.2.1-py3-none-any.whl.
File metadata
- Download URL: hca_smart_sync-0.2.1-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e746bacc25c96e1ff4c71b7b70a11f637b3459444dd2de54c053500ccb6ea18
|
|
| MD5 |
f624873fa03899130ddc14af4e55953a
|
|
| BLAKE2b-256 |
7b400078f0c1b46a6b716f3b1aaeba7e99a7d1e4ffc956678f102a31e8194780
|
Provenance
The following attestation bundles were made for hca_smart_sync-0.2.1-py3-none-any.whl:
Publisher:
publish-smart-sync.yml on clevercanary/hca-ingest-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hca_smart_sync-0.2.1-py3-none-any.whl -
Subject digest:
6e746bacc25c96e1ff4c71b7b70a11f637b3459444dd2de54c053500ccb6ea18 - Sigstore transparency entry: 544198110
- Sigstore integration time:
-
Permalink:
clevercanary/hca-ingest-tools@fca7ab68b8621101e6608ed80e27e049324e590f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/clevercanary
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-smart-sync.yml@fca7ab68b8621101e6608ed80e27e049324e590f -
Trigger Event:
workflow_dispatch
-
Statement type: