Search plugin for dserver using mongodb
Project description
Search plugin for dserver using mongodb
To install the dserver-search-plugin-mongo package.
cd dserver-search-plugin-mongo
pip install .
To configure the connection to the mongo database.
export SEARCH_MONGO_URI="mongodb://localhost:27017/"
export SEARCH_MONGO_DB="dserver"
export SEARCH_MONGO_COLLECTION="datasets"
Testing
Testing requires a minimal dserver installation including a functional retrieve plugin, i.e.
pip install dtool-lookup-server
pip install dserver-retrieve-plugin-mongo
Installation with the [test] extension
pip install .[test]
installs these essential testing dependencies as well.
Run tests from within repository root with pytest.
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
Built Distribution
Close
Hashes for dserver_search_plugin_mongo-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a638535c09308d70e8e03e02722af9839c2ee8c6085f79c810162823b3f4cb3 |
|
MD5 | 2de8167d921f088c6e829e65b02c7de3 |
|
BLAKE2b-256 | 36bf690d500e1d198f1639bee4f2cc4d43e9bb25e8286e8248a5c61129efbaae |
Close
Hashes for dserver_search_plugin_mongo-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 482ec4a2d0dea43a9a363c2d6d83939a0f38c826237657510f8e7a556aa6daa0 |
|
MD5 | 57ff8da8b15f6b923c3e185670109d27 |
|
BLAKE2b-256 | 304ccc87c36b416d2d903eb2db2a6e0fef642dbf1243e888a47285cfe71ba3c3 |