All Projects → mikeywaites → flask-arrested

mikeywaites / flask-arrested

Licence: MIT License
Flask-Arrested: A Framework For Rapidly Building REST APIs with Flask.

Programming Languages

python
139335 projects - #7 most used programming language
Gherkin
971 projects
shell
77523 projects

Projects that are alternatives of or similar to flask-arrested

Protobuf
Protocol Buffers - Google's data interchange format
Stars: ✭ 52,305 (+130662.5%)
Mutual labels:  serialization, marshalling
Flatbuffers
FlatBuffers: Memory Efficient Serialization Library
Stars: ✭ 17,180 (+42850%)
Mutual labels:  serialization, marshalling
sirdez
Glorious Binary Serialization and Deserialization for TypeScript.
Stars: ✭ 20 (-50%)
Mutual labels:  serialization, marshalling
Marshmallow
A lightweight library for converting complex objects to and from simple Python datatypes.
Stars: ✭ 5,857 (+14542.5%)
Mutual labels:  serialization, marshalling
schema-gen
XML Schema code generator outputting Swift, Kotlin and Java
Stars: ✭ 25 (-37.5%)
Mutual labels:  serialization, marshalling
sbp
Structured Bindings Pack - serialize C++ structs into MessagePack binary form
Stars: ✭ 16 (-60%)
Mutual labels:  serialization
ocaml-pb-plugin
A protoc plugin for generating OCaml code from protobuf (.proto) files.
Stars: ✭ 18 (-55%)
Mutual labels:  serialization
sia
Sia - Binary serialisation and deserialisation
Stars: ✭ 52 (+30%)
Mutual labels:  serialization
fuser
Header-only library for automatic (de)serialization of C++ types to/from JSON.
Stars: ✭ 48 (+20%)
Mutual labels:  serialization
simplify
simplify 包含了一系列自我驱动学习的子项目。
Stars: ✭ 67 (+67.5%)
Mutual labels:  serialization
github-traffic-stats
Manage and automatically collect Github traffic statistics for repositories
Stars: ✭ 30 (-25%)
Mutual labels:  flask-sqlalchemy
xplatform
every feature build up from scratch
Stars: ✭ 91 (+127.5%)
Mutual labels:  serialization
nimpb
Protocol Buffers for Nim
Stars: ✭ 29 (-27.5%)
Mutual labels:  serialization
amq-protocol
AMQP 0.9.1 protocol serialization and deserialization implementation for Ruby (2.0+)
Stars: ✭ 47 (+17.5%)
Mutual labels:  serialization
Hyphen
Serialize at the speed of light.
Stars: ✭ 14 (-65%)
Mutual labels:  serialization
Dahomey.Cbor
High-performance CBOR (RFC 7049) serialization framework for .Net (C#)
Stars: ✭ 47 (+17.5%)
Mutual labels:  serialization
CppSerialization
Performance comparison of the most popular C++ serialization protocols such as Cap'n'Proto, FastBinaryEncoding, Flatbuffers, Protobuf, JSON
Stars: ✭ 89 (+122.5%)
Mutual labels:  serialization
binary
package binary is a lightweight and high-performance serialization library to encode/decode between go data and []byte.
Stars: ✭ 20 (-50%)
Mutual labels:  serialization
moonwlker
Jackson JSON without annotation.
Stars: ✭ 14 (-65%)
Mutual labels:  serialization
AvroConvert
Apache Avro serializer for .NET
Stars: ✭ 44 (+10%)
Mutual labels:  serialization

Flask-Arrested: A Framework For Rapidly Building REST APIs with Flask.

https://circleci.com/gh/mikeywaites/flask-arrested/tree/master.svg?style=svg https://coveralls.io/repos/github/mikeywaites/flask-arrested/badge.svg?branch=master https://badges.gitter.im/bruv-io/Arrested.png

Introducing Arrested

Take the pain out of REST API creation with Arrested - batteries included for quick wins, highly extensible for specialist requirements.

from arrested import ArrestedAPI, Resource, Endpoint, GetListMixin, CreateMixin,
from example.models import db, Character

api_v1 = ArrestedAPI(url_prefix='/v1')

characters_resource = Resource('characters', __name__, url_prefix='/characters')


class CharactersIndexEndpoint(Endpoint, GetListMixin, CreateMixin):

    name = 'list'
    many = True

    def get_objects(self):

        characters = db.session.query(Character).all()
        return characters

    def save_object(self, obj):

        character = Character(**obj)
        db.session.add(character)
        db.session.commit()
        return character


characters_resource.add_endpoint(CharactersIndexEndpoint)
api_v1.register_resource(characters_resource)

Flask-Arrested Features

Arrested is a framework for rapidly building REST API's with Flask.

  • Un-Opinionated: Let's you decide "the best way" to implement your REST API.
  • Battle Tested: In use across many services in a production environment.
  • Batteries Included! Arrested ships with built in support for popular libraries such as SQLAlchemy, Kim and Marshmallow. Using something different or have your own tooling you need to support? Arrested provides a rich API that can be easily customised!
  • Supports any storage backends: Want to use "hot new database technology X?" No problem! Arrested can be easily extended to handle all your data needs.
  • Powerful middleware system - Inject logic at any step of the request/response cycle

🚀 Get started in under a minute..

Use the Flask-Arrested cookie cutter to create a basic API to get you started in 4 simple commands. https://github.com/mikeywaites/arrested-cookiecutter.

$ cookiecutter gh:mikeywaites/arrested-cookiecutter
$ cd arrested-users-api
$ docker-compose up -d api
$ curl -u admin:secret localhost:8080/v1/users | python -m json.tool

The User Guide

Get started with Flask-Arrested using the quickstart user guide or take a look at the in-depth API documentation.

https://arrested.readthedocs.org.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].