Metadata-Version: 2.1
Name: txhttputil
Version: 1.4.11
Summary: Flying Ion utility classes for serving a static site with twisted.web with user permissions.
Author-email: Flying Ion Pty Ltd <contact@flyingion.com>
License: MIT
Project-URL: Homepage, https://flyingion.com
Project-URL: Repository, https://gitlab.com/flyingion/txhttputil
Project-URL: Issues, https://gitlab.com/flyingion/txhttputil/-/issues
Keywords: twisted,resource,file,download,flying-ion
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pytz
Requires-Dist: txwebsocket>=1.0.1
Requires-Dist: filetype
Requires-Dist: pem
Requires-Dist: pytmpdir
Requires-Dist: treelib>=1.6.4
Requires-Dist: cryptography
Requires-Dist: pyOpenSSL
Provides-Extra: dev
Requires-Dist: mypy>=1.0; extra == "dev"
Requires-Dist: ruff>=0.15; extra == "dev"
Requires-Dist: vulture>=2.14; extra == "dev"
Requires-Dist: basedpyright>=1.20; extra == "dev"

# 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](https://flyingion.com). Released under the [MIT License](LICENSE).
