Skip to main content

apistar-ponyorm

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

Metadata

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 Provenance Actions
apistar-ponyorm-0.2.12.tar.gz 2.2 kB Without provenance Details for apistar-ponyorm-0.2.12.tar.gz

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

Security for apistar-ponyorm 0.2.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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