TBone makes it easy to develop full-duplex RESTful APIs on top of your asyncio web application or webservice. It uses a nonblocking asynchronous web server and provides the neccesary infrastructure to build asynchronous web apps and services. TBone is web-server agnostic and can be added on top of your Sanic or Aiohttp app.
Based on the "RESTful API" category.
Alternatively, view TBone alternatives based on common mentions on social networks and blogs.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of TBone or a related project?
logo
Build Status PyPI version Python License: MIT Waffle.io - Issues in progress Gitter chat
TBone makes it easy to develop full-duplex RESTful APIs on top of your asyncio web application or webservice.
It uses a nonblocking asynchronous web server and provides the neccesary infrastructure to build asynchronous web apps and services.
TBone is web-server agnostic and can be added on top of your Sanic or Aiohttp app.
TBone is comprised of 4 major modules:
HTTP and WebsocketsCombining the usage of these 4 modules makes it extremely easy to build full-duplex RESTful APIs on top of your MongoDB datastore.
TBone is currently in Alpha stage. It may still have some bugs in the code, and some typos in the documentation. The APIs may change before an official release is made.
The following example demonstrates the creation of a model schema and the corresponding RESTful resource
class Book(Model, MongoCollectionMixin):
_id = ObjecIdField(primary_key=True)
title = StringField(required=True)
author = StringField(required=True)
publication_date = DateTimeField()
class BookResource(AioHttpResource, MongoResource):
class Meta:
object_class = Book
TBone was designed to develop asynchorous web applications and web services. The entire infrastructure was built around coroutines.
TBone utilizes only asynchronous 3rd party components to make sure that your app is truly nonblocking.
TBone uses the async/await syntax and is limited to Python version 3.5 and up.
Furthermore, TBone has some very few basic requirements. However, depending on its usage requires additional packages may be required.
*Note that all licence references and agreements mentioned in the TBone README section above
are relevant to that project's source code only.
Do not miss the trending, packages, news and articles with our weekly report.