Skip to main content

instant way to create a flask api for your databases

Project description

instantAPI

Description

A scripts that generates a fully functional flask api from databases;the script is ready to use in production environement right after it ; you can add yout jwt security token and tweek some code but the rest is already there (sqlite3 for the moment and looking for contributers)

Dependencies


  • sqlite3
  • python3.x

installation


no installation needed

usage


python instantAPI.py link/to/your/sqlite3/database.db

example

before execution:


after execution:

the reparation_models.py contains the api for your database (get and post methods for all tables)example of one table :

the name of the classes are the name of the db table+List and the links have the same name as your databases

for more examples make sure you test it your self or see the example folder


Before using

make sure your databases’s tables all contain an auto incremental index.

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

instantAPI-1.0.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

instantAPI-1.0.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file instantAPI-1.0.1.tar.gz.

File metadata

  • Download URL: instantAPI-1.0.1.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.8

File hashes

Hashes for instantAPI-1.0.1.tar.gz
Algorithm Hash digest
SHA256 84b13b104157bf373518c6cc91a24615183ffbe8b556f3250d75344511823e5a
MD5 b38dc13c36be8fb234b7c030a6ab6ba0
BLAKE2b-256 37acc313fb3b8bc3b98ea631a01d5145d2c35c907046177063adbbef8c1f88ef

See more details on using hashes here.

File details

Details for the file instantAPI-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: instantAPI-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.8

File hashes

Hashes for instantAPI-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47f27902d0306e656a2d01cf4f3987dfe1814fe78ed319c5e88d2b0d7c3463fa
MD5 1a970509582057912f6672dfad6a0aae
BLAKE2b-256 a749ce9ddfe08846f154334734a4e138184aaaed3a123e694771dbd785ab0083

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page