Giter VIP home page Giter VIP logo

knobclient's Introduction

Team and repository tags

python-knobclient

OpenStack Indexing and Search API Client Library

This is a client library for Knob built. It provides a Python API (the knobclient module)

python-knobclient is licensed under the Apache License like the rest of OpenStack.

The :program:`python-knobclient` package is published on PyPI and so can be installed using the pip tool, which will manage installing all python dependencies:

$ pip install python-knobclient

Note

The packages on PyPI may lag behind the git repo in functionality.

  • Clone repository for python-knobclient:

    $ git clone https://github.com/openstack/python-knobclient.git
    $ cd python-knobclient
    
  • Setup a virtualenv

Note

This is an optional step, but will allow knobclient's dependencies to be installed in a contained environment that can be easily deleted if you choose to start over or uninstall knobclient.

$ tox -evenv --notest

Activate the virtual environment whenever you want to work in it. All further commands in this section should be run with the venv active:

$ source .tox/venv/bin/activate

Note

When ALL steps are complete, deactivate the virtualenv: $ deactivate

  • Install knobclient and its dependencies:

    (venv) $ python setup.py develop
    

There are multiple test targets that can be run to validate the code.

  • tox -e pep8 - style guidelines enforcement
  • tox -e py27 - traditional unit testing

knobclient's People

Contributors

igor-toga avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.