skip to navigation
skip to content

flexer 1.1.3

Flexer is a command line tool for interacting with nFlex and running nFlex modules locally.

Latest Version: 1.3.6

Flexer is a command line tool for interacting with nFlex and running nFlex modules locally.

Installation

Install, upgrade and uninstall flexer with these commands: `sh $ pip install flexer $ pip install --upgrade flexer $ pip uninstall flexer ` or fork this repository

Dependencies

The flexer tool is supported on Python 2.7.

The main dependencies are: * [requests]: HTTP for Humans * [click]: for creating beautiful command line interfaces * [jsonschema]: an implementation of JSON Schema for Python * [jinja2]: modern and designer-friendly templating language for Python

The testing dependencies are: * [pytest]: helps you write better programs * [mock]: a library for testing in Python

Testing

Make sure you have [tox] by running the following: `sh $ pip install tox `

To run the package tests: `sh $ tox ` or `sh $ make test `

Bash Completion

For detailed explanation on how to enable bash completion for the flexer script, please read the [click documentation](http://click.pocoo.org/5/bashcomplete/).

Basically you need to run `sh _FLEXER_COMPLETE=source flexer > ~/flexer-complete.sh ` and add this line to your .bashrc file: `sh source ~/flexer-complete.sh `

Todos

  • Write more tests
  • Add support for remote module execution
 
File Type Py Version Uploaded on Size
flexer-1.1.3.tar.gz (md5) Source 2017-03-20 12KB