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.5.tar.gz
(11.0 kB
view hashes)
Built Distribution
Close
Hashes for bos_incidents-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf28f617aa2595e790b8070b3f0c7e782954f918b23d1f351b928aa485701cc4 |
|
MD5 | df7523f4c6f1a87bd5bfd3b0515be22d |
|
BLAKE2b-256 | c07ea5f843ee5d75f171f1b77dc82c6475d59139005611a44596bc9c3a3dd545 |