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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 524a48be3f44ac87853c8eed84fa9b2dc8ecd18c2a6b221ab75258b39aa4fde2 |
|
MD5 | f76ddf65a8d0d5017eddb7a68d98c009 |
|
BLAKE2b-256 | 8a73f9a30230cb6fc2da4ba9c518f951b1bc71058bb9bad633c300dd2589ce37 |
Close
Hashes for dserver_search_plugin_mongo-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05615b98a26aa257538ccc7cd0d4628dc30fcc77d4154897a0de7f1139d984d4 |
|
MD5 | 93d02d45523367eefe301cc8e90b9db1 |
|
BLAKE2b-256 | aad8bc8cb2f9132b8f1644cd2cf68913c5dae040273ecddcdf4793f1344a11f7 |