Skip to main content

Flask Extension to browse CTS Repository

Project description

Documentation Build status Coverage https://badge.fury.io/py/flask_nemo.svg

Capitains Nemo is an User Interface built around the need to make CTS a easy to use, human readable standard for texts. Capitains Nemo counts multiple language implementation, including this one in Python for Flask. Presentend as a classic Flask Extension, flask.ext.nemo intends to be a simple, customizable interface between your enduser and your CTS5 API.

The Flask’s extension Nemo can be customized from its stylesheets to its functions. Adding routes or removing them is as easy as adding a XSL Stylesheet to transform the very own result of a CTS GetPassage results to your own expected output.

Install

You can now install it with pip : pip install flask_nemo

If you want to install the latest version, please do the following

git clone https://github.com/Capitains/flask-capitains-nemo.git
cd flask-capitains-nemo
virtualenv -p /path/to/python3 venv
source venv/bin/activate
python setup.py install

If you have trouble with dependency conflicts with MyCapitains, try running pip install MyCapytain this before install

Running Nemo from the command line

This small tutorial takes that you have a CTS API endpoint available, here http://localhost:8000

  1. (Advised) Create a virtual environment and source it : virtualenv -p /usr/bin/python3 env, source env/bin/activate

  2. With development version:
    • Clone the repository : git clone https://github.com/Capitains/flask-capitains-nemo.git

    • Go to the directory : cd Nemo

    • Install the source with develop option : python setup.py develop

  1. With production version:
    • Install from pip : pip install flask_nemo

  2. You will be able now to call capitains nemo help information through capitains-nemo --help

  3. Basic setting for testing an api is capitains-nemo http://localhost:8000.

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

flask_nemo-1.0.0b3.tar.gz (105.4 kB view details)

Uploaded Source

File details

Details for the file flask_nemo-1.0.0b3.tar.gz.

File metadata

File hashes

Hashes for flask_nemo-1.0.0b3.tar.gz
Algorithm Hash digest
SHA256 bc46bd79add4d434e2677c576336b9478a82a40524cddc140940610a07c3f117
MD5 69cbe82ff4c9674c7758b396da027749
BLAKE2b-256 d7dd5a3fddfc6d89a643dfd8f8071b59a4cbce408584b649c41d74e8f8767d5d

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