simple api for Make Data API Server Project
Project description
mdapisp
Project description
- This is a code snippet level code that roughly implements the CSV file upload and SQL Select Query functions.
Execution environment
- written and tested in Python 3.7.3 (via pyenv virtual environment)
- if you are using pip as your package manager
pip install mdapisp
- if you are using poetry as your package manager
poetry install
How to run
- The basic execution scenario is as follows:
- Type the command in the terminal to run the application.
mdapisp
- Open to fastapi swegger test page (default http://127.0.0.1:8000/docs#/) with a web browser
- Upload human.csv, fruit.csv using Create Upload Csvfiles
- Select query using Read Table
- Check cache contents using Read Cache
- Upload csvfile again and check cache contents
- Type the command in the terminal to run the application.
architecture design & the reason for design
- Focused on minimum difficulty and minimum cost implementation to meet the requirements specification.
- only the logic for the api was written without implementing a web server (ex. nginx, apache, etc.), the database also used sqlite, and it was written as lightly as possible using fastapi to avoid swegger implementation.
api specification
- api.md
- If you want to exact api specification, Please refer to
http://127.0.0.1:8000/redocor the openapi.json file in the directory for the exact specification
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mdapisp-0.1.1a3.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mdapisp-0.1.1a3.tar.gz.
File metadata
- Download URL: mdapisp-0.1.1a3.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.7.3 Linux/5.4.0-67-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac8cc1d1f35ae35ee4ebb80274bd2f6e5108deb6b835d5049692066cd0d5d1d9
|
|
| MD5 |
8b644e4604199e3bc2be0dbf4523d776
|
|
| BLAKE2b-256 |
95c8027cd316a592361c916a08d5801955c114057c78741f1f17f640f50094d9
|
File details
Details for the file mdapisp-0.1.1a3-py3-none-any.whl.
File metadata
- Download URL: mdapisp-0.1.1a3-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.7.3 Linux/5.4.0-67-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cf50d75887b4078f8d80723275747182e69e3d0c54d17da2e54118437337ac5
|
|
| MD5 |
65a1b958df50df0b7604917993361431
|
|
| BLAKE2b-256 |
751f33f4fd142dbe4ea2aa02afa7299794ff091e703a85ecb0408ba2eed59ae8
|