Skip to main content

Search plugin for dtool-lookup-server using mongodb

Project description

Search plugin for dtool-lookup-server using mongodb

To install the dtool-lookup-server-search-plugin-mongo package.

cd dtool-lookup-server-search-plugin-mongo
python setup.py install

To configure the connection to the mongo database.

export SEARCH_MONGO_URI="mongodb://localhost:27017/"
export SEARCH_MONGO_DB="dtool_lookup_server"
export SEARCH_MONGO_COLLECTION="datasets"

Testing

Testing requires a minimal dtool-lookup-server installation including a functional retrieve plugin, i.e.

pip install dtool-lookup-server
pip install dtool-lookup-server-retrieve-plugin-mongo

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

File details

Details for the file dtool-lookup-server-search-plugin-mongo-0.2.0.tar.gz.

File metadata

File hashes

Hashes for dtool-lookup-server-search-plugin-mongo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5ede94193e764e4151905967480670966a1cd4019a3ffa09d9b82b4d1f587531
MD5 52708e233f1fa8b4886cf331df06fced
BLAKE2b-256 537ad8ef5bd0563eb2971f1dc3973de022afb806f818d17b5c93dfeb6db7f9fe

See more details on using hashes here.

Supported by

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