Skip to main content

A package that extends Flask-RESTful resources to make creating resources for database use easier and faster.

Project description

Introduction

This package extends Flask-RESTful by implementing datacentric Web API Resources using DBBase for enabling the use of SQLAlchemy.

DBBase enables the same coding of database models to be used within Flask or without, such as from message queues.

Creating a website can result in a fair amount of boilerplate code as the same characteristics for table models are recreated at each layer. Then, the boilerplate code must be tested as well, resulting in boilerplate testcode.

Using this package, the database models are introspected and applied to the API, resulting in less code over all.

This package should be thought of as a tool rather than a framework. It can coexist with other Flask packages. A framework can get awkward on edge cases as a seemingly straight-forward idea turns out to be very difficult due to trying to fit it into the framework design.

Inherent in the design is an understanding that the simplest cases can be done simply, but that there are additional ways to open up the functionality to accommodate more complex issues.

And, if the issue encountered does not fit this package's approach, the original resource classes can be used with no loss of functionality.

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-RESTful-DBBase-0.4.0.tar.gz (40.7 kB view details)

Uploaded Source

Built Distributions

Flask_RESTful_DBBase-0.4.0-py3.10.egg (47.2 kB view details)

Uploaded Source

Flask_RESTful_DBBase-0.4.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file Flask-RESTful-DBBase-0.4.0.tar.gz.

File metadata

  • Download URL: Flask-RESTful-DBBase-0.4.0.tar.gz
  • Upload date:
  • Size: 40.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for Flask-RESTful-DBBase-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ebf80f2df699c9283cbf055d470cdb905a609e3813694adae7ac4df317cfd68a
MD5 d26bd68b200d837a85ce722d6cd4a305
BLAKE2b-256 4d92c50761896d3c81a946e4ab765a9696b7b6cc6d96e102984b186ef17226ed

See more details on using hashes here.

File details

Details for the file Flask_RESTful_DBBase-0.4.0-py3.10.egg.

File metadata

File hashes

Hashes for Flask_RESTful_DBBase-0.4.0-py3.10.egg
Algorithm Hash digest
SHA256 533106bbceea468d88056da4ecf16f2fe13055297a726d54d76c86416ee59411
MD5 ea4968eaeeb00ae2fb3121590deee0ab
BLAKE2b-256 9d98775b163addc7cc03183b371f6b02daf62a8c752adde03f9ce0da2b867bb6

See more details on using hashes here.

File details

Details for the file Flask_RESTful_DBBase-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Flask_RESTful_DBBase-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a2607396ab0e862ab0a17ac7138aa10126ba5da8a505a928294227e36c9dea1
MD5 b08ecbba3002f93f3a27fcfa834976bb
BLAKE2b-256 e7d2f91ed44ce9e0c3c5f027f06c08e267948d9b09d3cefa280d79ccccc6a40f

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