PostgreSQL range type support for Canonical's Storm ORM using Spans
Project description
StormSpans brings support for PostgreSQL’s range types [1] to Canonical’s Storm [2] using PsycoSpans [3] paired with Spans [4].
Installation
Psycospans exists on PyPI.
pip install psycospans
Documentation
For full doumentation please run pydoc stormspans from a shell.
Example
from spans import intrange from storm.locals import * from stormspans import IntRange class Model(Storm): id = Int(primary=True) span = IntRange(default=intrange(1, 10))
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
StormSpans-0.1.0.tar.gz
(7.1 kB
view hashes)