Skip to main content

A Python tool for downloading files from AWS S3 bucket with configuration file support

Project description

Atlas AWS Auto Download

A Python tool for automatically downloading BGI sequencing data from AWS S3 bucket with configuration file support.

Features

  • 🔬 BGI Specific: Optimized for downloading BGI sequencing data from AWS S3
  • 🔐 Secure: Supports AWS access keys and region configuration
  • 📁 Flexible: Configurable S3 bucket and folder paths for different projects
  • 📝 Logging: Comprehensive logging of all download operations
  • 🚀 Progress: Visual progress bars for large sequencing data downloads
  • ⚙️ Configurable: Simple configuration file format for BGI project settings
  • 📊 Batch Processing: Efficiently handles multiple sequencing files and directories

Installation

From PyPI (Recommended)

pip install atlas-aws-autodownload

From Source

git clone https://github.com/yourusername/atlas-aws-autodownload.git
cd atlas-aws-autodownload
pip install -e .

Usage

Command Line Interface

After installation, you can use the atlas-aws-download command to download BGI sequencing data:

# Download to current directory
atlas-aws-download bgi_config.txt

# Download to specific directory
atlas-aws-download bgi_config.txt -o ./sequencing_data

# Download specific project data
atlas-aws-download project_config.txt -o ./projects/BGI_2024

Command Line Help

$ atlas-aws-download -h

Python API

from atlas_aws_autodownload import aws_download

# Download BGI sequencing data
aws_download("bgi_config.txt", "./sequencing_data")

# Download specific project
aws_download("project_config.txt", "./projects/BGI_Project_2024")

Configuration File Format

Create a configuration file with the following format for BGI sequencing data:

Project:***
Alias ID:***
S3 Bucket:***
Account:***
Password:***
Region:***
Aws_access_key_id:***
Aws_secret_access_key:***

Note:

  • The tool also supports s3:// URI format in the configuration file
  • For BGI projects, typically use ap-southeast-1 region (Singapore)
  • Project names usually follow BGI naming conventions

Note: The tool also supports s3:// URI format in the configuration file.

Requirements

  • Python 3.7+
  • boto3 (for AWS S3 access)
  • tqdm (for progress bars)

Typical Use Cases

  • BGI Sequencing Data: Download raw sequencing data from BGI's AWS S3 storage
  • Project Management: Organize downloads by project, sample, or experiment
  • Batch Processing: Handle multiple sequencing runs and data types
  • Data Transfer: Efficiently transfer large sequencing datasets to local storage

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

If you encounter any issues or have questions, please:

  1. Check the Issues page
  2. Create a new issue if your problem isn't already reported
  3. Contact the maintainers at your.email@example.com

Changelog

Version 1.0.0

  • Initial release
  • Basic S3 download functionality
  • Configuration file support
  • Command line interface
  • Progress bars and logging

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

atlas_aws_autodownload-1.0.3.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

atlas_aws_autodownload-1.0.3-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file atlas_aws_autodownload-1.0.3.tar.gz.

File metadata

  • Download URL: atlas_aws_autodownload-1.0.3.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for atlas_aws_autodownload-1.0.3.tar.gz
Algorithm Hash digest
SHA256 b5f8501fe09ffd0424034efe4c824a46bebda4965add3fcdcc184075cbf043d4
MD5 51caf659cb7ce86ad30cfdaabd8bbb53
BLAKE2b-256 4ade0251b9b3b5d2844827a98f8cdec797a0cc4fd295b0ef94f50acc2a47e856

See more details on using hashes here.

File details

Details for the file atlas_aws_autodownload-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for atlas_aws_autodownload-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 14c5f8aaaeb06c25e583683f9063ed3b84f8bfa16270a3be7cd58f1144805145
MD5 c401e87554f17d9e3311c9a1462aecc2
BLAKE2b-256 de247b81355eb7391cc862f7fa2e2ddab1118b9c9bc2e38895747dc7f24da28f

See more details on using hashes here.

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