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
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
File details
Details for the file dtool-lookup-server-search-plugin-mongo-0.2.0.tar.gz.
File metadata
- Download URL: dtool-lookup-server-search-plugin-mongo-0.2.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ede94193e764e4151905967480670966a1cd4019a3ffa09d9b82b4d1f587531
|
|
| MD5 |
52708e233f1fa8b4886cf331df06fced
|
|
| BLAKE2b-256 |
537ad8ef5bd0563eb2971f1dc3973de022afb806f818d17b5c93dfeb6db7f9fe
|