Skip to main content

PonyORM for your Flask application

Project description

Latest Version Apache 2.0 STARS

PonyORM for your Flask application.


pip install flask-pony

Quick start

Read the documentation for the pony-database-facade package.


from flask import Flask

from flask_pony import Pony

app = Flask(__name__)

pony = Pony(app)

from . import models


from pony.orm import Required

from . import pony

db = pony.db

class Person(db.Entity):
    username = Required(str, 50)

class Config(object):
    PONY = {
        'provider': 'mysql',
        'user': 'anyone',
        'password': 'anykey',
        'dbname': 'blog'

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 Flask-Pony, version 3.0.1
Filename, size File type Python version Upload date Hashes
Filename, size flask-pony-3.0.1.tar.gz (2.8 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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page