crud-mysql


Namecrud-mysql JSON
Version 0.1.4 PyPI version JSON
download
home_pagehttps://github.com/Ms-Shoshany/crud-mysql
Summarycrud defiend by json
upload_time2025-07-12 20:47:10
maintainerNone
docs_urlNone
authorhanna
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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"
        }
    }
}

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Ms-Shoshany/crud-mysql",
    "name": "crud-mysql",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "hanna",
    "author_email": "channashosh@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/aa/49/9ef5926a5b5abf679a8317a6d75c7a83bf6e10d2792f40adb69b56b950a0/crud_mysql-0.1.4.tar.gz",
    "platform": null,
    "description": "main.py / app.py - example\r\n\r\nfrom flask import Flask\r\nfrom flask_cors import CORS\r\nfrom crud-mysql import crud\r\n\r\napp = Flask(__name__)\r\n\r\napp.register_blueprint(crud)\r\n\r\nif __name__ == \"__main__\":\r\n\tapp.run(host=\"0.0.0.0\", debug=True)\r\n\r\ncred.json - example\r\n\r\n{\r\n    \"user\": {\r\n        \"allowd_methods\": [\"GET\", \"POST\", \"DELETE\", \"PUT\"],\r\n        \"fetch_all\": \"true\",\r\n        \"schema\": {\r\n            \"name\": \"VARCHAR(100)\",\r\n            \"email\": \"VARCHAR(100)\",\r\n            \"encrypted_password\": \"VARCHAR(100)\",\r\n            \"account_id\": \"INT\",\r\n            \"is_active\": \"INT\"\r\n        }\r\n    },\r\n    \"account\": {\r\n        \"allowd_methods\": [\"GET\", \"POST\", \"DELETE\"],\r\n        \"fetch_all\": \"false\",\r\n        \"schema\": {\r\n            \"name\": \"VARCHAR(100)\",\r\n            \"subscription_type\": \"VARCHAR(100)\",\r\n            \"root_user\": \"INT\"\r\n        }\r\n    }\r\n}\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "crud defiend by json",
    "version": "0.1.4",
    "project_urls": {
        "Homepage": "https://github.com/Ms-Shoshany/crud-mysql"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "74925722e97f2e4847b94c83ac7558ecb6cc22c0ee7f9320c50061153a3b3555",
                "md5": "509651ed238c65812d8b2a08e0ed7be6",
                "sha256": "8ee3ef15c73471896f0e1b3e758f637233a20269c9dea22f16c248ad92f14e64"
            },
            "downloads": -1,
            "filename": "crud_mysql-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "509651ed238c65812d8b2a08e0ed7be6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 4112,
            "upload_time": "2025-07-12T20:47:09",
            "upload_time_iso_8601": "2025-07-12T20:47:09.135324Z",
            "url": "https://files.pythonhosted.org/packages/74/92/5722e97f2e4847b94c83ac7558ecb6cc22c0ee7f9320c50061153a3b3555/crud_mysql-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "aa499ef5926a5b5abf679a8317a6d75c7a83bf6e10d2792f40adb69b56b950a0",
                "md5": "945cd98ada460d9d549f217c9164d4d1",
                "sha256": "fce419e22ca97edad0c6e76a0356911ddc93d77f749cef99eb9df129adb8b0ea"
            },
            "downloads": -1,
            "filename": "crud_mysql-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "945cd98ada460d9d549f217c9164d4d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3369,
            "upload_time": "2025-07-12T20:47:10",
            "upload_time_iso_8601": "2025-07-12T20:47:10.311603Z",
            "url": "https://files.pythonhosted.org/packages/aa/49/9ef5926a5b5abf679a8317a6d75c7a83bf6e10d2792f40adb69b56b950a0/crud_mysql-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-12 20:47:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Ms-Shoshany",
    "github_project": "crud-mysql",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "crud-mysql"
}
        
Elapsed time: 0.88666s