Skip to main content
https://travis-ci.org/jgirardet/apistar-ponyorm.svg?branch=master https://coveralls.io/repos/github/jgirardet/apistar-ponyorm/badge.svg Pypi package

Third-party for apistar using pony orm

Features

  • Apistar Hook : PonyDBSession which give auto apply db_session to views.

Usage

This should be added in App declaration :

app = App(routes=[route], event_hooks=[PonyDBSession()])

# main app.py file
from apistar_ponyorm import PonyDBSession
# ...
app = App(routes=[route], event_hooks=[PonyDBSession()])


# myviews.py
from myproject import db # PonyORM Database Instance

def myviews():
  retun db.MyEntity.to_dict()

# No need to add @db_session

Changelog

0.2.10 :
  • use poetry

0.2.0 :
  • add PonyDBSession

Release files for apistar-ponyorm 0.2.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apistar-ponyorm 0.2.12
File Size Uploaded
apistar-ponyorm-0.2.12.tar.gz 2.2 kB Details

Release files / apistar-ponyorm-0.2.12.tar.gz

Download URL apistar-ponyorm-0.2.12.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
486c4eea47199849be69eefdcd3e5602986d8d2a0a4b9ffcc8ef3ab2fe3d2cab
BLAKE2b-256 checksum
How to use checksums
0c0bb6656305a2305f2e90f8041468457608facf9de56f3be570d8a922fe290f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.12 This release

1 release file

0.2.10

1 release file

0.2.9

1 release file

0.2.8

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page