Luke Ross


16 commits ponyalchemy-master-2018-06-08.tar.gz git clone

PonyORM-style querying for SQLAlchemy.

master /

.gitignore Proper documentation building. 3 years ago
LICENSE Put on a sensible license for distribution 2 years ago
README.txt Remove stale doc tool, minor clean-up a year ago Remove stale doc tool, minor clean-up a year ago



Pony-style queries for SQLAlchemy.

This software is intended for personal use and the idiosyncratic code style
reflects this.  It has only received limited testing and shouldn't be
considered production ready. I've decided to release it in case other
people find it useful.

Example usage

from sqlalchemy import Column, Integer, String
from ponyalchemy import declarative_base, sessionmaker

Base = declarative_base()
session = sessionmaker()()

class User(Base):
	__tablename__ = 'users'

	id = Column(Integer, primary_key=True)
	name = Column(String)
	fullname = Column(String)
	password = Column(String)

users = for u in User if == "Luke")


This software is Copyright (c) 2009-2018 Luke Ross <>,
and is licensed under the Apache Software License 2.0. Please see the
<LICENSE> file included with this distribution for terms.