Skip to content

juztin/tinflask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinflask 0.0.1

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

Install flask and requests

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages