pingf / Falsy
Licence: mit
FAL.S.Y python api framework(the framework for using falcon, swagger, yaml together)
Stars: ✭ 109
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Falsy
Generator Expressjs Rest
Project template for an ExpressJS application
Stars: ✭ 41 (-62.39%)
Mutual labels: api, swagger
Flask Restx
Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
Stars: ✭ 1,050 (+863.3%)
Mutual labels: api, swagger
Fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Stars: ✭ 39,588 (+36219.27%)
Mutual labels: api, swagger
Go Tgbot
Golang telegram bot API wrapper, session-based router and middleware
Stars: ✭ 90 (-17.43%)
Mutual labels: api, swagger
Rhodddoobie
My little sandbox for playing around with the FP + OOP + DDD combination, in particular using Rho, doobie, Docker, testing, etc in a project.
Stars: ✭ 38 (-65.14%)
Mutual labels: api, swagger
Kin Openapi
OpenAPI 3.0 implementation for Go (parsing, converting, validation, and more)
Stars: ✭ 776 (+611.93%)
Mutual labels: api, swagger
Cats
Generate tests at runtime based on OpenApi specs
Stars: ✭ 86 (-21.1%)
Mutual labels: api, swagger
Bhagavadgita
A non-profit initiative to help spread the transcendental wisdom from the Bhagavad Gita to people around the world.
Stars: ✭ 84 (-22.94%)
Mutual labels: api, swagger
Widdershins
OpenAPI / Swagger, AsyncAPI & Semoasa definitions to (re)Slate compatible markdown
Stars: ✭ 856 (+685.32%)
Mutual labels: api, swagger
Go Book Store Api
Go Sample project to understand Mysql CRUD operation with best practises Includes logging, JWT, Swagger and Transactions
Stars: ✭ 18 (-83.49%)
Mutual labels: api, swagger
Grape Swagger
Add OAPI/swagger v2.0 compliant documentation to your grape API
Stars: ✭ 1,000 (+817.43%)
Mutual labels: api, swagger
Apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Stars: ✭ 831 (+662.39%)
Mutual labels: api, swagger
Compojure Api
Sweet web apis with Compojure & Swagger
Stars: ✭ 1,056 (+868.81%)
Mutual labels: api, swagger
Swagger Stats
API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
Stars: ✭ 559 (+412.84%)
Mutual labels: api, swagger
Snake
🐍 一款小巧的基于Go构建的开发框架,可以快速构建API服务或者Web网站进行业务开发,遵循SOLID设计原则
Stars: ✭ 615 (+464.22%)
Mutual labels: api, swagger
Openapi Viewer
Browse and test a REST API described with the OpenAPI 3.0 Specification
Stars: ✭ 82 (-24.77%)
Mutual labels: api, swagger
Api Client Generator
Angular REST API client generator from Swagger YAML or JSON file with camel case settigs
Stars: ✭ 92 (-15.6%)
Mutual labels: api, swagger
falsy
FAL.S.Y
description
it's an api framework.
using falcon, swagger, yaml together!
license
MIT and Apache v2
showtime
how to install it
pip install falsy
how to use it
-
create the dir for static
mkdir static
-
writting the server code(main.py)
from falsy.falsy import FALSY f = FALSY() #you need create the dir called static before you run f.swagger('test.yml', ui=True, theme='impress') #impress theme is the responsive swagger ui, or you can use 'normal' here api = f.api
-
writting the yml file
swagger: '2.0' info: title: FALSY SIMPLE DEMO API version: "0.1" consumes: - application/json produces: - application/json basePath: "/v1" paths: '/hello': get: tags: [Method] operationId: demo.get_it summary: testing parameters: - name: name in: query type: string default: 'john' responses: 200: description: Return response
-
writting the operation handler(demo.py)
def get_it(name): return { 'get': name }
-
run it
gunicorn -b 0.0.0.0:8001 main:api --reload -w 1 --threads 1
-
visit the ui page
http://0.0.0.0:8001/v1/ui/
make sure it ends with '/'
video demo
extensions
there some improvements compare to standard swagger,
you can define `operationId` for handler, 'beforeId' and 'afterId' for aop hooks,
and 'validationId' for validator, see the files in demo dir for details.
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].