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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crud_mysql-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 3b22776435435ad3abeac8d2fd77221b486e126302ef7ddd107f7f4140470164
MD5 ea98704fd9043f8c8343abde04954d3d
BLAKE2b-256 5b71b204067f2618e53d5e0019ae009395b3c4da2b4403709429dc7904427f83

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crud_mysql-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cc287dd559b9a3b936d0fd9209b634ea4219104352c75cb391fd6b751a659cc2
MD5 8c2348548e50fe91e68083d7ca5f2050
BLAKE2b-256 055a6b109e287e3f44b83fe6cbaadf87f3042486ab2c9cdb4079f8f681093500

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