SQLAlchemy-ORM-tree
An implementation for SQLAlchemy-based applications of the nested-sets / modified-pre-order-tree-traversal technique for storing hierarchical data in a relational database.
Python support |
Python 2.6+, 3.3+ |
SQLAlchemy |
SQLAlchemy >=0.7.5, >=0.8, >=0.9 |
Source |
|
Issues |
|
Docs |
|
API |
|
Travis |
|
Test coverage |
|
pypi |
|
ohloh |
|
License |
BSD. |
git repo |
|
install |
|
install dev |
|
tests |
|
Simple Example
import sqlalchemy_tree
Model = declarative_base(metaclass=sqlalchemy_tree.DeclarativeMeta)
class Page(Model):
# This activates sqlalchemy-orm-tree.
__tree_manager__ = 'tree'
Page.tree.register()
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sqlalchemy-orm-tree2-0.5.1.tar.gz.
File metadata
- Download URL: sqlalchemy-orm-tree2-0.5.1.tar.gz
- Upload date:
- Size: 46.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
Python-urllib/3.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c0234ba54b35e9db206f60ac67d098433ae8d7d04bfd441e472bd71c279eb17
|
|
| MD5 |
b47da3d9b7fc0bcd00f64ac8703254b2
|
|
| BLAKE2b-256 |
5b1f94389f31acd72cf2789b262813f5ae079a550b98c90edccb71869331375c
|