Skip to main content

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

Project description

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 * [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: * [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 `

License

[GNU General Public License, version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)

[//]: #

[requests]: <http://docs.python-requests.org> [click]: <http://click.pocoo.org> [jinja2]: <http://jinja.pocoo.org> [pyyaml]: <http://pyyaml.org/wiki/PyYAML> [pymongo]: <https://api.mongodb.com/python/3.6.0/> [mock]: <https://pypi.python.org/pypi/mock> [pytest]: <http://doc.pytest.org> [tox]: <https://tox.readthedocs.io/>

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flexer-1.8.0.tar.gz (20.2 kB view details)

Uploaded Source

File details

Details for the file flexer-1.8.0.tar.gz.

File metadata

  • Download URL: flexer-1.8.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for flexer-1.8.0.tar.gz
Algorithm Hash digest
SHA256 5eefa6f80ffccf898f61801df91941ea4accf0e01b2e0461b2a63ae7a18e7fc5
MD5 69b672e4e1f16a218d26e4a6c36dd4e6
BLAKE2b-256 972d20c9ff3fbc8eb5432839ef8fcc7abd67349cec935fdc289769d7636b00ed

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