Flask-Tus-Cont
Flask Extension implementing the Tus.io server protocol. This project was reuploaded to Pypi under the 'Flask-Tus-Cont' name to allow a modern working version of this repo to continue serving requirements.
This repo is a fork of the fixed repo from jzwolak on github, repo found here. jzwolak's repo is a pull request of the original repo by matthoskins1980 found here
Prerequisites (redis)
Currently flask-tus-cont is reliant on a local redis server. This is used for caching information about uploads in progress. It is on the roadmap to remove this dependancy. You must install the redis python package for this extension to work.
pip install redis
Installation
Installation from source (this repository)
python setup.py install
Installation from PyPi repository (recommended for latest stable release)
pip install Flask-Tus-Cont
Usage
demo.py
from flask import Flask, render_template, send_from_directory
from flask_tus_cont import tus_manager
import os
app = Flask(__name__)
tm = TusManager(app, upload_url='/file-upload', upload_folder='uploads/')
TusManager() registers two new url endpoint /file-upload and /file-upload/<resource>. You can not define views for those urls in your app. Simply use any tus client and point it to /file-upload as the endpoint
Metadata
Release files for Flask-Tus-Cont 1.3.2
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 |
|---|---|---|---|---|
| Flask-Tus-Cont-1.3.2.tar.gz | 5.1 kB | Without provenance | Details for Flask-Tus-Cont-1.3.2.tar.gz |
Release files / Flask-Tus-Cont-1.3.2.tar.gz
| Download URL | Flask-Tus-Cont-1.3.2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d81d7b2a83a60ba5b3e27d19d80cd350b3223d5180c0409e7a5de9e9fe22e269
|
|
BLAKE2b-256 checksum How to use checksums |
7d7cdcccd3a1a1320ece40c5840d3dade0e821671fc743edc0ddf10c20c82755
|
| 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/49.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Security for Flask-Tus-Cont 1.3.2
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.