Skip to main content


Project description

A simple, flexible and testable active-record powered by SQLAlchemy.

Documentation Status


pip install chemist


Basic Usage

from chemist import (
    Model, db, MetaData,

metadata = MetaData()
engine = get_or_create_engine('sqlite:///example.db')

class BlogPost(Model):
      table = db.Table('blog_post',metadata,
          db.Column('id', db.Integer, primary_key=True),
          db.Column('title', db.Unicode(200), nullable=False),
          db.Column('content', db.UnicodeText, nullable=False),

post1 = BlogPost.create(title='Hello World', content='\n'.join([
    'Supporting Theory 1...',
    'Supporting Theory 2...',
    'Supporting Theory 3...',

for post in BlogPost.all():


  1. flask app

Project details

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
chemist-1.2.2.tar.gz (11.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

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