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
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_search_plugin_mongo-0.4.2.tar.gz
.
File metadata
- Download URL: dserver_search_plugin_mongo-0.4.2.tar.gz
- Upload date:
- Size: 15.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 | a40c6ef1909461fc63b900d9c5e8dce0e7c416f77fae99ae1070a2ca9ec0b41d |
|
MD5 | 4e0a63c07820ec520b07d960cfb37564 |
|
BLAKE2b-256 | c5d56f4e0d1ba7eb60ec055d7762922c74103eb02919d9f37cd1d5ce0780596b |
File details
Details for the file dserver_search_plugin_mongo-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: dserver_search_plugin_mongo-0.4.2-py3-none-any.whl
- Upload date:
- Size: 7.0 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 | b2291c8e5e632a29dda930e62324cc5a901b5b223ed49744eec513487f996530 |
|
MD5 | 5882ddd166856f054dd83f4d98b4bd2c |
|
BLAKE2b-256 | f1802d3d910f7ffe664e7fd2c9bd3c2012b6e11359aa02568510eb178f5267db |