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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crud_mysql-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 224fa5603039c5d870cbee4ce07d78cb10864a36d9bbc2512ee0902d36a21bb3
MD5 57efbe36b3a812842d35bf28577b047a
BLAKE2b-256 8183990206fbd3a5e0f4dedc9beffddf80771bb8f825b30956b5659e3f7133de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crud_mysql-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd9d016126a0a646ef21a9f9af7349494fba5febf47bcd3e5ddf5b1fbb085400
MD5 4dbf734c1ca9a4f55daa7e303c5bee75
BLAKE2b-256 d433249c4aa936dd5a4c7f55d9dfafe90d4ec0776c8cd8ab8b6e31073f05edd9

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