Flexer is a command line tool for interacting with nFlex and running nFlex modules locally.
Install, upgrade and uninstall flexer with these commands:
$ pip install flexer
$ pip install --upgrade flexer
$ pip uninstall flexeror fork this repository
The flexer tool is supported on Python 2.7.
The main dependencies are:
- requests: HTTP for Humans
- click: for creating beautiful command line interfaces
- jinja2: modern and designer-friendly templating language for Python
- pyyaml: YAML parser and emitter for Python
- pymongo: Python driver for MongoDB
The testing dependencies are:
Make sure you have tox by running the following:
$ pip install toxTo run the package tests:
$ toxor
$ make testFor detailed explanation on how to enable bash completion for the flexer script, please read the click documentation.
Basically you need to run
_FLEXER_COMPLETE=source flexer > ~/flexer-complete.shand add this line to your .bashrc file:
source ~/flexer-complete.sh