Skip to main content

Core code for Flask based projects

Project description

Flask Atomic

GitHub PyPI version Build Status Coverage Status

Introduction

REST API development should be quick and painless, especially when prototyping or working with large amounts of models where boilerplate CRUD operations are required. With well-defined code, Flask Atomic has the opportunity to render redundant ~500 lines of per code, per every 5 models in a project.

This project was heavily influenced by repetitive efforts to get quick and dirty APIs up and running, with the bad practice of re-using a lot of code, over and over again. Instead of relying on throwaway efforts, Flask Atomic provides a very simply means to abstract away hundreds of lines of code and enable RESTful API best practices that are often esoteric and difficult to engineer for small projects.

Not only does it enable significant off-shelf functionality, it is thoroughly tested and battle-hardened for development needs.

This project intended to be a building block to enrich the Flask ecosystem, without compromising any Flask functionality. Leaving you to integrate without issues, breathing life into your projects in less than 5 lines of code. Feature rich but non-assuming.

The Flask Atomic package can be used for:

  • Blueprint integration for creating main HTTP method endpoints.
  • Extensible data access objects for common database interactions.
  • Automatic query string processing engine for requests.
  • Fully dynamic model schema definitions without any hardcoding.
  • SQLAlchemy model serializer for transforming Models to JSON ready format.
  • Custom JSON response partials to reduce repetitive Flask.jsonify responses.
  • Variety of db model mixins, including DYNA flag columns and primary key column.

Installation

pip install Flask-Atomic

Minimal Usage

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-Atomic-0.0.41.tar.gz (31.8 kB view details)

Uploaded Source

File details

Details for the file Flask-Atomic-0.0.41.tar.gz.

File metadata

  • Download URL: Flask-Atomic-0.0.41.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for Flask-Atomic-0.0.41.tar.gz
Algorithm Hash digest
SHA256 aff5588cf5b3b9564c2c61c4c1877a2ef83232739aa5c450ba44fdd47d5b2f64
MD5 7985a0dd031a7079cbb8f2f213eea4ec
BLAKE2b-256 ac80b5e9d691a1ec771c231f6caad512ea5472f4e74b6ebe56ef2a0d193b5e60

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page