Skip to main content

Simple and fast ORM for python

Project description

# OreoPy

Simple and fast ORM for python.


## Installation

There are two ways to install:

- **Install OreoPy from PyPI (recommended):**
sudo pip install oreopy

- **Install OreoPy from GitHub source:**
git clone
cd oreopy
sudo python3 install

## Getting started

Let's create a file called ``
from oreopy.models import base
from oreopy.fields import IntegerField, TextField

class Album(base.Model):
title = TextField()
artist = TextField()
year = IntegerField()

album = Album()

New record in database:
from models import Album

new_album = Album(title="Hits", artist="deadmau5", year=2018)

Update record in database:
upd_album = Album(title="Greatest Hits")

Delete record from database:
del_album = Album()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for oreopy, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size oreopy-0.0.3-py3.7.egg (6.6 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size oreopy-0.0.3-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size oreopy-0.0.3.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page