A networked standard template library and ORM for python
Project description
Python StdNet
===================
A networked standard template library for python. It includes a lightweight ORM.
Backends
====================
* local memory
* memcached (not fully supported)
* redis
Installing and Running
================================
To install::
python setup.py install
pip install python-stdnet
easy_install python-stdnet
Object-relational mapping
================================
The module ``stdnet.orm`` is a lightweight ORM.
For example::
from stdnet import orm
class Group(orm.StdModel):
name = orm.AtomField(unique=True)
class User(orm.StdModel):
username = orm.AtomField(unique=True)
password = orm.AtomField()
group = orm.ForeignKey(Group)
===================
A networked standard template library for python. It includes a lightweight ORM.
Backends
====================
* local memory
* memcached (not fully supported)
* redis
Installing and Running
================================
To install::
python setup.py install
pip install python-stdnet
easy_install python-stdnet
Object-relational mapping
================================
The module ``stdnet.orm`` is a lightweight ORM.
For example::
from stdnet import orm
class Group(orm.StdModel):
name = orm.AtomField(unique=True)
class User(orm.StdModel):
username = orm.AtomField(unique=True)
password = orm.AtomField()
group = orm.ForeignKey(Group)
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
python-stdnet-0.2.0.tar.gz
(34.4 kB
view hashes)