Skip to main content

eztransfer

Simple tool that makes moving your files between different storage providers easier.

eztransfer is taking care of this time-consuming and boring operations.

  • You have access to various handles (see Supported Services) or even implement your own! (by using interface)
  • You don't need to think about transferred files being on your hard drive. Just specify where your files are and where you want them to be.

If you just need to transfer files from A to B, or B to A, this is the right tool! It's aimed for simple operations.

Getting Started

Prerequisites

  • Python 3.6+

Installation

Ultimately, there will be a pip package.

Just for now:

  1. Clone repository
git clone https://github.com/mbroton/ez-transfer.git
  1. Create python virtual environment, activate it
virtualenv venv
source venv/bin/activate
  1. Install requirements
pip install -r requirements.txt

Usage

from src import *

# Initialize handles
sftp = SFTPHandle(*sftp_credentials)
azure = AzureBlobStorageHandle(*azure_credentials)

# Send multiple files from SFTP to Azure Blob Storage
files = ("/home/ez/minecraft.exe", "/home/ez/selfie.png")
destination = "transfer/"
Transfer(source=sftp, destination=azure).files(files).to(destination).execute()

# Single file from SFTP to Azure Blob Storage
Transfer(source=sftp, destination=azure).file("/home/ez/selfie.png").to("received/image.png").execute()

# Single file (this time in opposite direction) from Azure Blob Storage to SFTP
Transfer(source=azure, destination=sftp).file("received/image.png").to("/home/ez/selfie.png").execute()

Supported Services

  • SFTP
  • Azure Blob Storage

For now, just two of them. Expect more in near future...

Feel free to suggest, what I should cover next.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Michal Broton - LinkedIn

Project Link: https://github.com/mbroton/ez-transfer

Metadata

Release files for eztransfer 0.0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eztransfer 0.0.1.1
File Size Uploaded
eztransfer-0.0.1.1.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eztransfer 0.0.1.1
File Interpreter ABI Platform
eztransfer-0.0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / eztransfer-0.0.1.1.tar.gz

Download URL eztransfer-0.0.1.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0ea1b7c85dc4aeb053a3fd899141c9dd440b52c423a2afdcf05bfae28a3bede7
BLAKE2b-256 checksum
How to use checksums
3629b816a511b19562bcaa1d8ea9e48f03cf27aa12815f16d6ffbc657d05bd36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

Release files / eztransfer-0.0.1.1-py3-none-any.whl

Download URL eztransfer-0.0.1.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4f6808eaedfb771844af9e6e3fa2a1c55248eaeef2e447e910177f41647d41e
BLAKE2b-256 checksum
How to use checksums
d36fd5cbfa36bdcc7d95e668e60eea68ccad722de643e8cf0b2b35f65d901577
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

Release history Release notifications | RSS feed

This release

0.0.1.1 This release

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page