Private module for BOS incident storage
Project description
# Peerplays BOS incident storage
Clone this repository next to the project that has the dependency on the incident storage and include it as egg in requirements.txt via
Default implementation requires a mongodb server running locally (localhost:27017)
>>> from bos_incidents import factory >>> storage = factory.get_incident_storage() >>> incidents = storage.get_incidents_by_id({ "home": "Charlotte Hornets", "start_time": "2018-03-22T23:00:00Z", "event_group_name": "NBA Regular Season", "away": "Memphis Grizzlies", "sport": "Basketball" } )
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
bos-incidents-0.0.1.tar.gz
(9.9 kB
view hashes)
Built Distribution
Close
Hashes for bos_incidents-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27e4e995e268650e59da4cd33be595c9e6682293a20768943d168ffa6e2a8360 |
|
MD5 | 26566f41000a448f6609d88c9a6d86ee |
|
BLAKE2b-256 | 777f599cb3de8ebb3e03db615ca8fb3ac386b7ae0f736fc7b093fb94d8877d4b |