Skip to main content

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-data
  • dev: 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

hca_smart_sync-0.2.1.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hca_smart_sync-0.2.1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

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

Hashes for hca_smart_sync-0.2.1.tar.gz
Algorithm Hash digest
SHA256 af8aceef2bbd58766ff0f5c393049e4b33e339ed24c856df7451adbc0a6e4ba7
MD5 c71c3de9228cbcc45c1e05324ac205fe
BLAKE2b-256 3059799b436ef50973779ad9e9296cb9c0a284f68566989db19ade624a44dae8

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for hca_smart_sync-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e746bacc25c96e1ff4c71b7b70a11f637b3459444dd2de54c053500ccb6ea18
MD5 f624873fa03899130ddc14af4e55953a
BLAKE2b-256 7b400078f0c1b46a6b716f3b1aaeba7e99a7d1e4ffc956678f102a31e8194780

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page