Synerty utility classes for serving a static site with twisted.web with user permissions.
Project description
TxHttpUtil
Synerty utility classes for serving a static site with twisted.web with user permissions.
Whats of interest?
- Protected resource with simple form login - Not suitable for public networks at this stage
- A resource that underlays a multi level file system search under a standard twisted Resource.putChild type resource tree.
- Twisted HTTP File Downloader
- Consistent request data, providing a Bytes IO like oboject and switching to a NamedTemporaryFile if fileno, or name is called, or the data exceeds 5mb.
- Support for single page applications
TODO
Unit tests for :
- Creating resource trees
- Getting resources from the resource tree
- Getting files from an underlay resource with two underlays
- Downloading files with the
- Logging into the test site (Using Seleneium/Chrome WebDriver)
- Test uploading data under 5mb and over 5mb to and auto switching to NamedTemporaryFile from BytesIO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
txhttputil-1.4.8.tar.gz
(39.9 kB
view details)
File details
Details for the file txhttputil-1.4.8.tar.gz.
File metadata
- Download URL: txhttputil-1.4.8.tar.gz
- Upload date:
- Size: 39.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11a14f00c71bf78dc8319581b25ddcd96ed899d7757bf579de9fad000722ba03
|
|
| MD5 |
10e610be2a227ac7797de069a6ec19d8
|
|
| BLAKE2b-256 |
22537ed5f80190d619c1b61cc24b5848c375c89561d3d15e631f4937441adea0
|