Skip to content

bogomazov/ORM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORM

Python database management system for PosthgreSQL.

To use ORM you simply have to structure your database in the yaml file. A yaml file have to look like(structure.yaml):

Article:
  fields:
      title: varchar(50)
      text: text
  relations:
      Category: one
      Tag: many

Category:
  fields:
      title: varchar(50)
  relations:
      Article: many

Tag:
  fields:
      value: varchar(50)
  relations:
      Article: many

After, you generate python classes(in models.py) by using generator.py, which is in the project. Python classes allows you to manage your entities in database.

About

PostgreSQL database management system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages