Retrieve plugin for dtool-lookup-server using mongodb
Project description
Retrieve plugin for dtool-lookup-server using mongodb
To install the dtool-lookup-server-retrieve-plugin-mongo package.
cd dtool-lookup-server-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="dtool_lookup_server"
export RETRIEVE_MONGO_COLLECTION="datasets"
Testing
Testing requires a minimal dtool-lookup-server installation including a functional search plugin, i.e.
pip install dtool-lookup-server
pip install dtool-lookup-server-search-plugin-mongo
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
Close
Hashes for dtool-lookup-server-retrieve-plugin-mongo-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83c7aba1f7d24c335672165f48220c3c644073c985ffa6e6096af48579fff3bf |
|
MD5 | 51a25889162177f60903c320759fedd8 |
|
BLAKE2b-256 | 1cf8a3b3db848b0b36afc0f631f7733c0f7c9f7c29fc25534483085b41b0933f |