Skip to main content
Help us improve Python packaging – donate today!

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))
[1]http://www.postgresql.org/docs/9.2/static/rangetypes.html
[2]http://storm.canonical.com/
[3]https://github.com/runfalk/psycospans
[4]https://github.com/runfalk/spans

Release history Release notifications

This version
History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
StormSpans-0.1.0.tar.gz (7.1 kB) Copy SHA256 hash SHA256 Source None Jun 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page