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.4.tar.gz
(10.8 kB
view hashes)
Built Distribution
Close
Hashes for bos_incidents-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0bc2c9e109a8dfa4632279b5dfbb9ccfb565753cba14bbbacec491e9dc06ae2 |
|
MD5 | 3edb27127ae9117092627da7df1141ad |
|
BLAKE2b-256 | ce37c64fbe1a19810e2c28a09779019fc1ed1b4224630efb6a7086da00a1a40c |