Skip to content

Ormling is a small home-made ORM, build on top of the asyncpg.

Notifications You must be signed in to change notification settings

tech-cobber/ormling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ormling

Ormling is a small home-made ORM, build on top of the asyncpg.

Features!

Ormling uses python's native declarative mechanism - annotations to declare tables

@primary_key('id')
class Music(db.Base):
    __tablename__ = 'music'

    id: Serial
    song: Text
    artist: Text
    released: Integer

Usage

See no reason to publish it to PyPI, so...

$ pip3 install dist/ormling-0.1.0-py3-none-any.whl

... and then

import ormling

Examples

And I got some examples

TODO

Basically everything, but currenly you can take a look at this project -> TODO

About

Ormling is a small home-made ORM, build on top of the asyncpg.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages