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

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