Description
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 alternatives and similar packages
Based on the "RESTful API" category.
Alternatively, view TBone alternatives based on common mentions on social networks and blogs.
-
falcon
The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale. -
hug
Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler. -
django-tastypie
Creating delicious APIs for Django apps since 2010. -
connexion
Connexion is a modern Python web framework that makes spec-first and api-first development easy. -
Django REST Swagger
Swagger Documentation Generator for Django REST Framework: deprecated -
Flask RestPlus
Fully featured framework for fast, easy and documented API development with Flask -
pycord
Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API -
django-sql-explorer
Easily share data across your company via SQL queries. From Grove Collab. -
sandman2
Automatically generate a RESTful API service for your legacy database. No code required! -
django-admin-interface
:superhero: :zap: django's default admin interface with superpowers - customizable themes, popup windows replaced by modals and many other features. -
flask-restless
NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models. -
Blueprint/Boilerplate For Python Projects
Blueprint/Boilerplate For Python Projects -
apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification).. -
Flask Google Maps
Easy way to add GoogleMaps to Flask applications. maintainer: @getcake -
PEP 8 Speaks
A GitHub :octocat: app to automatically review Python code style over Pull Requests -
django-treenode
:deciduous_tree: probably the best abstract model/admin for your tree based stuff. -
pyswagger
An OpenAPI (fka Swagger) client & converter in python, which is type-safe, dynamic, spec-compliant. -
django-maintenance-mode
:construction: :hammer_and_wrench: shows a 503 error page when maintenance-mode is on. -
flask_for_startups
Flask boilerplate using a services oriented structure -
ripozo
A tool for quickly creating REST/HATEOAS/Hypermedia APIs in python -
django-newsfeed
A news curator and newsletter subscription package for Django -
Flask-Diamond
:gem: Flask-Diamond is a batteries-included Flask framework. -
discord-interactions-python
Useful tools for building interactions in Python -
#<Sawyer::Resource:0x00007f160f191eb0>
Python package for webscraping in Natural language -
Changelog CI
Changelog CI is a GitHub Action that enables a project to automatically generate changelogs -
django-modern-rpc
Simple XML-RPC and JSON-RPC server for modern Django
Collect and Analyze Billions of Data Points in Real Time
* 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?
README
TBone
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:
- Data Structure - an ODM-like modeling mechanism for schema declaration, data validation and serialization
- Data Persistency - Persistency mixin classes for document stores with a full implementation over MongoDB
- Resources - Mechanism for creating full-duplex RESTful APIs over
HTTP
andWebsockets
- Dispatch - Classes for managing internal and external events.
Combining the usage of these 4 modules makes it extremely easy to build full-duplex RESTful APIs on top of your MongoDB datastore.
Disclaimer
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.
Example
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
Nonblocking
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.
Requirements
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.
Documentation
*Note that all licence references and agreements mentioned in the TBone README section above
are relevant to that project's source code only.