Skip to main content

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].


Psycospans exists on PyPI.

pip install psycospans


For full doumentation please run pydoc stormspans from a shell.


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for StormSpans, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size StormSpans-0.1.0.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page