Skip to main content

crud defiend by json

Project description

main.py / app.py - example

from flask import Flask from flask_cors import CORS from crud_mysql import crud

app = Flask(name)

app.register_blueprint(crud)

if name == "main": app.run(host="0.0.0.0", debug=True)

cred.json - example

{ "user": { "allowd_methods": ["GET", "POST", "DELETE", "PUT"], "fetch_all": "true", "schema": { "name": "VARCHAR(100)", "email": "VARCHAR(100)", "encrypted_password": "VARCHAR(100)", "account_id": "INT", "is_active": "INT" } }, "account": { "allowd_methods": ["GET", "POST", "DELETE"], "fetch_all": "false", "schema": { "name": "VARCHAR(100)", "subscription_type": "VARCHAR(100)", "root_user": "INT" } } }

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

crud_mysql-0.1.6.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crud_mysql-0.1.6-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file crud_mysql-0.1.6.tar.gz.

File metadata

  • Download URL: crud_mysql-0.1.6.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for crud_mysql-0.1.6.tar.gz
Algorithm Hash digest
SHA256 276d1140ea724ddca910f13741d37eb4638c7f0aaad7cedb54d9c92c0eb2e8c7
MD5 2ab8b8c61e28e8bbfcfb95fa6bf4f0e4
BLAKE2b-256 9b1f8800ea8c9e05ae7309039ada9b9e48fec19cb3fafa88bf6b37742a629beb

See more details on using hashes here.

File details

Details for the file crud_mysql-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: crud_mysql-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for crud_mysql-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5ddba345ac1a5faaec41b7ac7aab458329bcb332b290fea2bbcaac80637d055d
MD5 2522fb8ef3f20efe5a0ee22d6c375225
BLAKE2b-256 77c690a0048e0f2349c6b23c41d2771f08a1a4966c16b2e52d63953687042c8c

See more details on using hashes here.

Supported by

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