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
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
File details
Details for the file dserver_retrieve_plugin_mongo-0.4.2.tar.gz
.
File metadata
- Download URL: dserver_retrieve_plugin_mongo-0.4.2.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2b76d12ab6ca06132ca36e014451235a9b5ee0d318d7e190c0f888116e63bb0 |
|
MD5 | c4c6dbad71c526e527dea2ae20997ef2 |
|
BLAKE2b-256 | b8b7843d2daf965fc7c4d6e8b71c691f495bab222976f086237fa7de67a1a4cd |
File details
Details for the file dserver_retrieve_plugin_mongo-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: dserver_retrieve_plugin_mongo-0.4.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45973ea84daadfecccb6dedadda76a6fe9190d944c6c78a7e8970b06208f4f7 |
|
MD5 | 983161a0f9b49bdd89c8d717e85341ea |
|
BLAKE2b-256 | 86ed1efbf5c39673ae063f949a550771d4ff9997082918efbd24143afba6c46c |