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.2.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for bos_incidents-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d30053b210e899577c29180dcc76b78487153aef22a8483b59e364964a6191 |
|
MD5 | a8a85cd4231e93a2978f036940c2c7a7 |
|
BLAKE2b-256 | 1731b4bd54abb877a8bfad8faf51064de295b50d990ed74c21bbfcd153cd83cb |