pensieve is an easy extensible server architecture to accept socket data such as sensor readings, images, etc.
- Python 2.7.x
- NumPy (pensieve doesn't need SciPy, just NumPy, but it doesn't hurt)
- OpenCV 2.4.x
- PyZMQ (optional, for streaming/pub-sub servers)
-
Clone:
$ git clone git@github.com:sinabahram/pensieve.git
-
Install (after
cd pensieve/
):$ [sudo] python setup.py develop
Note: This installs in development mode, which means Python modules are exposed directly from the source directory. You can then update your local copy to pull in changes from the remote repository, and/or make changes yourself. You can also use
[sudo] python setup.py install
for a typical installation (recommended: Python virtual environment).
Run server:
$ python -m pensieve.server
Run test client:
$ python -m pensieve.tests.client
Note: You can connect to a running server instance from any pensieve client.