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.
Metadata
Release files for txhttputil 1.4.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| txhttputil-1.4.14.tar.gz | 44.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| txhttputil-1.4.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 101.7 kB
Release files / txhttputil-1.4.14.tar.gz
| Download URL | txhttputil-1.4.14.tar.gz |
|---|---|
| Size | 44.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41e0f5381dadaee628516d327d64d5e55e4cd8403c953b6a7f189ca00889a2b1
|
|
BLAKE2b-256 checksum How to use checksums |
ff5821bf0fc01075fe24b671660b02a2a44faf49bd78c070cd886f5eb1fe0e5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.13
|
Release files / txhttputil-1.4.14-py3-none-any.whl
| Download URL | txhttputil-1.4.14-py3-none-any.whl |
|---|---|
| Size | 56.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1c05ac22ec035f3f347aeb9d8859856b73e7d37727ba3b2625528f477e85ac7
|
|
BLAKE2b-256 checksum How to use checksums |
443f6d570aed37e72b44bd54aacbbdaca5d4f0a913b3278611426b1a2da32047
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.13
|