Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FerdinaKusumah/excel2api
Convert your excel as api
https://github.com/FerdinaKusumah/excel2api
excel2api exceltoapi python-csv python-excel python-excel-to-api python3
Last synced: 3 months ago
JSON representation
Convert your excel as api
- Host: GitHub
- URL: https://github.com/FerdinaKusumah/excel2api
- Owner: FerdinaKusumah
- License: mit
- Created: 2020-03-31T04:50:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-23T04:44:58.000Z (over 1 year ago)
- Last Synced: 2024-08-02T20:46:46.318Z (6 months ago)
- Topics: excel2api, exceltoapi, python-csv, python-excel, python-excel-to-api, python3
- Language: Python
- Size: 26.4 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-indo-projects - Excel2api - Convert your excel data as api. (Python)
- awesome-indonesia-repo - Excel2api - Convert your excel data as api. (Python)
- jimsghstars - FerdinaKusumah/excel2api - Convert your excel as api (Python)
README
# Convert your excel and csv as API
It can read from excel and csv file url
Documentation
-----------
Please open [https://excel2api.herokuapp.com/docs](https://excel2api.herokuapp.com/docs)Documentation explanation:
* `host/v1/api/excel`
* query string `sheet_name` is sheet name to open
* query string `sheet_url` is url where excel will be open
* query string `row_range` is range row:
* `1:50` mean will display data from row 1 to 49
* `:50` mean will display data from first to 49
* `50` mean will display data from first to 49
* query string `column_range` is range row:
* `date` mean will display only column `date`
* `date,age` mean will display only column `date` and `age`* `host/v1/api/csv`
* query string `sheet_url` is url where csv will be open
* query string `row_range` is range row:
* `1:50` mean will display data from row 1 to 49
* `:50` mean will display data from first to 49
* `50` mean will display data from first to 49
* query string `column_range` is range row:
* `date` mean will display only column `date`
* `date,age` mean will display only column `date` and `age`
Manual Installation
------------
* Need python 3.7+
* Backed by python [fast api](https://github.com/tiangolo/fastapi)
* `pip install -r requirements.txt`
* Run with command `uvicorn main:app --reload --port 8000`Manual Installation
------------
* Need python 3.7+
* `pip install -r requirements.txt`
* change configuration in `conf/.env.yaml`
* Backed by python [fast api](https://github.com/tiangolo/fastapi)Running unit test
------------
```shell script
python -m unittest discover -v -s ./tests
```Contribution
------------
We are always happy to have new contributions.
We have `marked issues good for anyone looking to get started`, and welcome.