Skip to main content

Search plugin for dserver using mongodb

Project description

dtool pypi tag test

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

dserver_search_plugin_mongo-0.4.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file dserver_search_plugin_mongo-0.4.2.tar.gz.

File metadata

File hashes

Hashes for dserver_search_plugin_mongo-0.4.2.tar.gz
Algorithm Hash digest
SHA256 a40c6ef1909461fc63b900d9c5e8dce0e7c416f77fae99ae1070a2ca9ec0b41d
MD5 4e0a63c07820ec520b07d960cfb37564
BLAKE2b-256 c5d56f4e0d1ba7eb60ec055d7762922c74103eb02919d9f37cd1d5ce0780596b

See more details on using hashes here.

File details

Details for the file dserver_search_plugin_mongo-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dserver_search_plugin_mongo-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2291c8e5e632a29dda930e62324cc5a901b5b223ed49744eec513487f996530
MD5 5882ddd166856f054dd83f4d98b4bd2c
BLAKE2b-256 f1802d3d910f7ffe664e7fd2c9bd3c2012b6e11359aa02568510eb178f5267db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page