This is the Python SDK for OEF agent development, allowing:
- registration of agents and services in the OEF
- searching for agents and services in the OEF
- constructing a direct communication channel with another agent
-
Google Protocol Buffers compiler. You can install it in several ways, depending on your platform:
-
On Debian-based (e.g. Ubuntu):
sudo apt-get install protobuf-compiler -
You can do it manually by checking the release page and by choosing the release for your platform. The name format is
protoc-$(VERSION)-$(PLATFORM).zip(e.g. for Windows look atprotoc-$(VERSION)-win32.zip).
-
In order to install oef, run:
python setup.py install
To run the tests, you need to clone oef-core repository and build the project. Check that you have installed all the dependencies (see INSTALL.txt):
python scripts/setup_test.py
Finally:
tox -e py3x
Where x depends on your Python version (either 3.5, 3.6 or 3.7).
For the documentation we use Sphinx.
-
Install the required packages with Pipenv and activate the shell:
pipenv install --dev pipenv shell -
Then build the docs with:
cd docs/ make html
And then just open index.html in the build/html folder.