Skip to content

teampopong/popong-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POPONG Models

A set of data models for Korean political data written in SQLAlchemy. These models extract valuable information of Korean politics, and power Pokr and POPONG APIs.

Install

$ sudo pip install git+https://github.com/teampopong/popong-models.git

Usage

Initialize new database:

$ cd PROJECT_DIRECTORY
$ popong-alembic-init
$ vi alembic.ini       # fill database location

Python models:

#!/usr/bin/env python

from popong_models import Person
some_people = Person.query.filter_by(birthday_month=3).all()

About

A collection of data models that describe Korean political data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published