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.3.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.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for crud_mysql-0.1.3.tar.gz
Algorithm Hash digest
SHA256 97294b0daeacd4bcd6017e2386d2403ee2ca2d183bfdaff4ef7a240acf493a7b
MD5 a431f894c7d2eac7556909779574e02b
BLAKE2b-256 5930b5890dd3973749739e2690e536ea6d4b7084fd192ac027627368808c7100

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for crud_mysql-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 30bfbdbda08321cfbf2ddcf54445a195b49d8a2e6cecbd188e330f1043f252db
MD5 d5ba45ea456cb1e878f93128fef1555d
BLAKE2b-256 81e61ae400abb7c617aae0f92aed2e4d197cb6d2545cc248e5763c5cfa1aa255

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