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
aiotusclientclient: The client instance class which communicates between Backend.AI Managerbaseuploaderanduploader- Responsible for chunking the file and asynchronously uploading to tus server
request- Handles the uploading request
Installation
Prequisites
- Python 3.7 or higher with pyenv and pyenv-virtualenv (optional but recommneded)
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 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiotusclient-0.1.4.tar.gz | 8.9 kB | Without provenance | Details for aiotusclient-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiotusclient-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for aiotusclient-0.1.4-py3-none-any.whl |
Total release size: 18.9 kB
Release files / aiotusclient-0.1.4.tar.gz
| Download URL | aiotusclient-0.1.4.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e23704420b5273b0c417c92a8bae605f90fc8f9364caa91a80f2586c7d8f952
|
|
BLAKE2b-256 checksum How to use checksums |
7c9e1a2fa86e00168a035ce532b1e595298b397eed6de9e757470f1e2bf53b8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / aiotusclient-0.1.4-py3-none-any.whl
| Download URL | aiotusclient-0.1.4-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69dad8a1bfb66c811a537014bda44e06188621df36e75566b97c4aaf373a389b
|
|
BLAKE2b-256 checksum How to use checksums |
7bd2004c9f673df74ff0455f381e898ad522b5fbc05a2b7b99420f1998702a58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for aiotusclient 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.