A holistic CRUD/MVC framework for FastAPI, with endpoint policies and relationships
Project description
About Cruddy Framework
Cruddy Framework is a companion library to FastAPI designed to bring the development productivity of Ruby on Rails, Ember.js or Sails.js to the FastAPI ecosystem. Many of the design patterns base themselves on Sails.js "policies," sails-ember-rest automatic CRUD routing, and Ember.js REST-Adapter feature sets. By default, data sent to and from the auto-magic CRUD routes are expected to conform to the Ember.js Rest Envelope / Linked-data specification. This specification is highly readable for front-end developers, allows for an expressive over-the-wire query syntax, and embeds self-describing relationship URL links in each over-the-wire record to help data stores automatically generate requests to fetch or update related records. This library is still in an alpha/beta phase, so use at your own risk. All CRUD actions and relationship types are currently supported, though there may be unexpected bugs. Please report any bugs under "issues."
TODO: All the documentation. See the examples folder for a quick reference of high level setup.
Installation
The fastapi-cruddy-framework module can be install using poetry...
poetry add fastapi-cruddy-framework
Or pip.
pip install fastapi-cruddy-framework
License
Distributed under the MIT License. See LICENSE
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fastapi_cruddy_framework-0.0.1.tar.gz
.
File metadata
- Download URL: fastapi_cruddy_framework-0.0.1.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 781eeb3337e22c8e284d867c4997e517234199acf825b52e0ffa6ef536ba5502 |
|
MD5 | 4a435cf947bf9043a74d216192f558d5 |
|
BLAKE2b-256 | 4422d38d2829fa8c7cf1310a4b92fde2fb9f80bd64471e5aa4d54ecb2a5cb363 |
File details
Details for the file fastapi_cruddy_framework-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: fastapi_cruddy_framework-0.0.1-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3566919285335b2634c93d9a4601a23851cfae1e0d522098500f78f3e3d66dc5 |
|
MD5 | 69b807e545ac95db2ededd1609e9c7ac |
|
BLAKE2b-256 | f6325edc2fdd2ac54fcaa1a89abd09496dc2c9bbe8097de46e1fc6f3a97d638e |