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, DefaultTable

engine = set_default_uri('sqlite:///example.db')

class BlogPost(Model):
     table = DefaultTable('blog_post'
         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.

Files for chemist, version 1.6.4
Filename, size File type Python version Upload date Hashes
Filename, size chemist-1.6.4.tar.gz (12.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page