Skip to main content

Factory for creating microservices with tornado

Project description

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Description: factornado
==========

Factory for creating micro-services with tornado

0.10
~~~
- Swagger is now in openapi 3.0.0

0.9
~~~
- Create a `authentication` decorator to check authentication and roles for endpoints. Works fine with keycloak (5337753, 659dc3a)
- Create a `get_token` method to generate JWT token using SSO server (edca747)
- Default handlers need to be declare in the final service (e2164b3)
- WebMethod use URL rather URI (fb2c5ef)

0.8
~~~
- Reorganize processes so that they are all child of main process (853d6e8)
- Create a `logger` submodule for simpler log configuration (fb2f20e)

0.7
~~~
- handlers.RequestHandler has now methods to parse args and kwargs (3c28e0f)
- Todo and Do handlers push errors traceback to tasks server (5c49712)
- Close properly AsyncHTTPClient in Heartbeat.post (a98317c)

0.6
~~~
- Proxy properly service error reason (5e50a20)
- Avoid multiple task assignment when multithreading tasks example (0d3fa50)

0.5
~~~
- Method Application.get_host (7e63ec3)
- Todo.todo_loop has been replaced by Todo.todo_list with different signature (16c684e)
- New handlers.Log handler is set by default (e0d972d)
- Callbacks are not only on POST methods (9b2fc96)

0.4
~~~
- Tasks handlers are incorporated into the library (in `factornado.tasks`)
- All examples have a swagger attribute.

0.3
~~~
- Several example on how to use factornado
- Tests based on these examples
- application.WebMethod allows to pass headers
- heartbeat reorganized to be asynchronous
- possibility to stop the server
- shortcut factornado.RequestHandler to tornado.web.RequestHandler

0.2
~~~
- Application object lets you run a server in a few lines
- Todo and Do handler let you create periodicTasks in a few lines


0.1
~~~
- A first version

Keywords: microservices web tornado
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

factornado-0.10.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

factornado-0.10.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file factornado-0.10.0.tar.gz.

File metadata

  • Download URL: factornado-0.10.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for factornado-0.10.0.tar.gz
Algorithm Hash digest
SHA256 b719b1daa77839cdc0ee836caaace24725b6df01ec7fdb31c3a0d37e5c2a89d4
MD5 d8108c93a85ea465f7040a481c18130c
BLAKE2b-256 bf1ff20ac8310b769d22cff23eb92e3001eb9d69311239eed752cdca81d0d212

See more details on using hashes here.

File details

Details for the file factornado-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: factornado-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for factornado-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a2c776731fd48f532cb0454d0a350ffee02393bd808ef08ad379fd74b446156
MD5 ccc80d63b0aaa33490167c7461a71242
BLAKE2b-256 3a2268b8fc80f7611ba63f56607095d7a3aa0084ca561687f9cc35c13a8a9876

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page