Retrieve plugin for dserver using mongodb
Project description
Retrieve plugin for dserver using mongodb
To install the dserver-retrieve-plugin-mongo package.
cd dserver-retrieve-plugin-mongo
python setup.py install
To configure the connection to the mongo database.
export RETRIEVE_MONGO_URI="mongodb://localhost:27017/"
export RETRIEVE_MONGO_DB="dserver"
export RETRIEVE_MONGO_COLLECTION="datasets"
Testing
Testing requires a minimal dserver installation including a functional search plugin, i.e.
pip install dservercore
pip install dserver-search-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_retrieve_plugin_mongo-0.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dfc54ae4a2349dd9662ecb15ad42b8662ca2e31ec14575522fe7be7a228bec7 |
|
MD5 | a8fb1bb325fb5a55448f05cde1fb2538 |
|
BLAKE2b-256 | 670f9028e40b816fb54f86a4d5035dfc6ed50b6d2d1498e5a90d0342efcdb906 |
Close
Hashes for dserver_retrieve_plugin_mongo-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f0906497e780ff17c4420418e0d90b0b3541cc91e424c3bbeccf324722a74f |
|
MD5 | 38b85bc7758ad26beea99a387dbd0a3b |
|
BLAKE2b-256 | d8acd829529093d328e22d39e0e67e0329a27bf6334f336808aaf15ddd6ce976 |