Flying Ion utility classes for serving a static site with twisted.web with user permissions.
Project description
TxHttpUtil
Flying Ion 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
License
Copyright (c) 2016-2026 Flying Ion Pty Ltd. Released under the MIT License.
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.9.tar.gz
(41.8 kB
view details)
File details
Details for the file txhttputil-1.4.9.tar.gz.
File metadata
- Download URL: txhttputil-1.4.9.tar.gz
- Upload date:
- Size: 41.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebc57f0b94454f7df9de487b8dd8d4ac604ec0cbfb322453e25223e2ee29306e
|
|
| MD5 |
d44267f8cd4dcc06634c5662f67ae1cc
|
|
| BLAKE2b-256 |
53f507a7acf07e677e1a11afcb123ab3887c67b448761518d79c2071a3047797
|