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 dservercore
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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76ecc351ab766a36b1a4e2dc47ff795c0ed6170e65d7546cc328de3e41a67ac9 |
|
MD5 | fe88c83190401ff17a8de5c5100622b5 |
|
BLAKE2b-256 | 763b3d1eaaf033ff6086866611995571374f9d068a8e0dc0dc69ae0d35ae16a7 |
Close
Hashes for dserver_search_plugin_mongo-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcd35570e3af346180841a9667af1e9b1ec203d79d2065ae1588e14b8d421a9f |
|
MD5 | 559e2349ce3442a0fa5e5a1df1e4dc74 |
|
BLAKE2b-256 | bf612a52cdc2110ff653725067e7f36cf1feb1abf905ac5c30d81fbf1fe2aeb1 |