Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atherosai/python-graphql
https://github.com/atherosai/python-graphql
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/atherosai/python-graphql
- Owner: atherosai
- Created: 2023-04-19T15:07:24.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-05-02T00:38:50.000Z (over 1 year ago)
- Last Synced: 2024-07-12T01:46:48.213Z (4 months ago)
- Language: Jupyter Notebook
- Size: 486 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - atherosai/python-graphql - (Jupyter Notebook)
README
## Technologies
- Python
- Flask - minimalistic server framework for Python
- GraphQL - Query language and API technology
- GUnicorn - WSGI server for production environments
- NLTK - Natural Language processing toolkit## Development
After cloning the repository just navigate into the folder. Assuming that you have installed the newest Python and Pipenv you should be able to execute:
```
pipenv shell
```This creates virtual environment for your application. Then we can install modules with:
```
pipenv install
```For development mode you can run
```
pipenv run dev
```Then for production mode and the use of WSGI server you should run
```
pipenv run prod
```Both applications are run on common port **5000** for Flask applications. Documentation is available at http://localhost:5000/graphiql.
# This repository demonstrates the code for the following articles
* https://atheros.ai/blog/how-to-build-graphql-api-for-text-analytics-in-python
* https://atheros.ai/blog/text-classification-with-transformers-in-tensorflow-2