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 details)
File details
Details for the file StormSpans-0.1.0.tar.gz
.
File metadata
- Download URL: StormSpans-0.1.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9612747fccdfb87ef9b81da23c6492c06a88fc936a36dd0e0efbdc63269a83b7 |
|
MD5 | df1569a177169b28505c7700b8eaa488 |
|
BLAKE2b-256 | 5479d46daa01405f61feddaf280180a104896856b350c95a29ef01ef7ce58f8d |