tinflask 0.0.2
Tornado server with some built-in endpoints.
Here’s a simple usage example:
import tinflask.web
def test():
self.write("hola")
def test_job():
print("did some job")
if __name__ == "__main__":
a = tinflask.web.Application()
c.add_status_job("Test Job", 5, test_job)
c.run()
The Application looks at the environment variables HOST, PORT, and ENDPOINT on initialization. If These are not set the defaults are HOST: 0.0.0.0, PORT: 8080, ENDPOINT: /.
get tinflask
sudo easy_install tinflask
Download the latest release from Python Package Index or clone the repository
More documentation is on it’s way (check the site for updates)
Provide any feedback and issues on the bug tracker, that should be coming soon.
Release files for tinflask 0.0.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 | |
|---|---|---|---|
| tinflask-0.0.2.tar.gz | 14.2 kB | Details |
Release files / tinflask-0.0.2.tar.gz
| Download URL | tinflask-0.0.2.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7185780eb6f04fd2d5417684c3bbd562352965cee5557cb3d87c8efcbeb74a36
|
|
BLAKE2b-256 checksum How to use checksums |
4b75692dff10584aee81e23cf578d565cf097d8749bdb78da5319b3b23af3e41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |