New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apistar-ponyorm

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apistar-ponyorm

Third-party for apistar using pony orm

  • 0.2.12
  • PyPI
  • Socket score

Maintainers
1

apistar-ponyorm ###########################

.. image:: https://travis-ci.org/jgirardet/apistar-ponyorm.svg?branch=master :target: https://travis-ci.org/jgirardet/apistar_ponyorm .. image:: https://coveralls.io/repos/github/jgirardet/apistar-ponyorm/badge.svg :target: https://coveralls.io/github/jgirardet/apistar_ponyorm .. image:: https://badge.fury.io/py/apistar-ponyorm.svg :target: https://pypi.python.org/pypi/apistar_ponyorm/ :alt: 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()])

.. code-block:: python

# 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc