Skip to main content

tus.io uploader for Python asyncio

aiotusclient is a fork of tus-py-client rewritten for Python asyncio and aiohttp. It is used to communicate with storage proxies that handle large transfers for vfolder uploads and downloads.

Package Structure

  • aiotusclient
    • client: The client instance class which communicates between Backend.AI Manager
    • baseuploader and uploader
      • Responsible for chunking the file and asynchronously uploading to tus server
    • request
      • Handles the uploading request

Installation

Prequisites

Installation Process

First, prepare the source clone of this agent:

# git clone https://github.com/lablup/aiotusclient

From now on, let's assume all shell commands are executed inside the virtualenv. And we located in backend.ai root directory.

Now install dependencies:

# pip install -U aiotusclient

When done, import into your code the aiotusclient

from aiotusclient import client

tus_client = client.TusClient(session_create_url, session_upload_url, rqst.headers, params)

Reference

This library was forked from tus-py-client and customized in order to facilitate asynchronous communication with our TUS server.

Metadata

Release files for backend.ai-aiotusclient 0.1.4

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

Source distribution (sdist)

Source distribution for backend.ai-aiotusclient 0.1.4
File Size Uploaded
backend.ai-aiotusclient-0.1.4.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for backend.ai-aiotusclient 0.1.4
File Interpreter ABI Platform
backend.ai_aiotusclient-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

Release files / backend.ai-aiotusclient-0.1.4.tar.gz

Download URL backend.ai-aiotusclient-0.1.4.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fe287369fab91f18d311af40b77ca4e0d10ba921e3badf635b68efeb716f00f4
BLAKE2b-256 checksum
How to use checksums
c6f5c891708cf97044c59b1a7484b9ba08f85706ad9a03327b0531078c4b112a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

Release files / backend.ai_aiotusclient-0.1.4-py3-none-any.whl

Download URL backend.ai_aiotusclient-0.1.4-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaef31f7559f67fa775b02b7142a6bf977f893eedcf1b8e9e14a06fc789a95d1
BLAKE2b-256 checksum
How to use checksums
515a2ed2100597fc6daffcd21ea05cfffc46dcbae29919aa7b051f30eb18d973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 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