https://github.com/hugapi/hug_peewee
An extension to hug that adds clean integration with the peewee ORM
https://github.com/hugapi/hug_peewee
Last synced: about 2 months ago
JSON representation
An extension to hug that adds clean integration with the peewee ORM
- Host: GitHub
- URL: https://github.com/hugapi/hug_peewee
- Owner: hugapi
- License: mit
- Created: 2016-03-24T04:49:16.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-26T20:29:51.000Z (over 2 years ago)
- Last Synced: 2025-04-30T15:14:57.057Z (about 2 months ago)
- Language: Python
- Size: 552 KB
- Stars: 6
- Watchers: 6
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
hug_peewee
===================[](http://badge.fury.io/py/hug_peewee)
[](https://travis-ci.org/timothycrosley/hug_peewee)
[](https://coveralls.io/github/timothycrosley/hug_peewee?branch=master)
[](https://pypi.python.org/pypi/hug_peewee/)
[](https://gitter.im/timothycrosley/hug_peewee?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)An extension to hug that adds clean integration with the peewee ORM:
```py
import hug_peeweedb = hug_peewee.connection.manage(__name__, 'sqlite', 'my.db')
```Works with hug 2.1.0 or greater.
Installing hug_peewee
===================Installing hug_peewee is as simple as:
```bash
pip3 install hug_peewee --upgrade
```Ideally, within a virtual environment.
What is hug_peewee?
===================An extension to hug that adds clean integration with the peewee ORM
--------------------------------------------
Thanks and I hope you find hug_peewee helpful!
~Timothy Crosley