Skip to main content

A very micro http framework.

Project description


PyPI Build Status Coverage Status

Pony ORM extension for yhttp.


pip install yhttp-pony


This is how to use the extension.

from yhttp import Appliation, json
from yhttp.extensions import pony as ponyext 
from pony.orm import db_session as dbsession, PrimaryKey, Required

app = Application()
  url: postgres://postgres:postgres@localhost/foo
db = ponyext.install(app)

class Foo(db.Entity):
    id = PrimaryKey(int, auto=True)
    title = Required(str)

def get(req):
    return { for f in}


Command line interface

There is some command line interfaces which will be automatically added to your application when you call ponyext.install(app).

myapp db create
myapp db drop

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for yhttp-pony, version 1.1.3
Filename, size File type Python version Upload date Hashes
Filename, size yhttp-pony-1.1.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page