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.2.tar.gz (3.3 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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crud_mysql-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 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.2.tar.gz
Algorithm Hash digest
SHA256 0959489b37944bcd18722572684cb5647dad2dea717130e6315741d6f4e82e1e
MD5 662bab13c5bc202c13a81457e4e6ca8f
BLAKE2b-256 fa4a83cd2e98610f9c4cdfabdf0f822d55402006d64f56dfe50c5f69ce6a0c4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crud_mysql-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f61aa337ae0b88ffa094a364cce8b640a252ad34195c2a20b8efe5a26edcd85a
MD5 ca14d3935e5ea9c4e7d6085b59175dda
BLAKE2b-256 175e49e7218c44ee37360a59ef338a9a9260aade99c9afcc80c194aad898b677

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