RESTful API for the CLTK
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
convert_tei_json_to_simple_json
metadata
util
.gitignore
.travis.yml
LICENSE
README.md
api_json.py
api_old.py
gunicorn_start.sh
perseus_parsing_notes.txt
requirements.txt
tests.py

README.md

Build Status

Join the chat at https://gitter.im/cltk/cltk_api

Notice

The Classics Archive application is currently under active development and is not ready for production.

About

A simple Flask app for accessing corpora from the CLTK corpora. Currently under development.

To run with gunicorn: gunicorn -w 4 -b 0.0.0.0:5000 api_json:app.

Development

To get started developing, you'll need Python3.5 and Mongo installed.

Create a virtual environment and activate it:

$ pyvenv venv $ source venv/bin/activate

Install dependencies:

$ pip install -r requirements.txt

Finally, start the app with the following command:

$ python api_json.py