No project description provided
Project description
Getting Started
Define a model:
from simon import Model class User(Model): """A model to represent users"""
Connect to a database:
from simon.connection import connect connect('localhost', name='simon')
And start using it:
User.create(name='Simon') user = User.get(name='Simon') user.email = 'simon@example.com' user.save()
Full documentation can be found on Read the Docs.
Installation
Installing Simon is easy:
pip install Simon
or download the source and run:
python setup.py install
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Simon-0.1.0.tar.gz
(49.4 kB
view details)
File details
Details for the file Simon-0.1.0.tar.gz
.
File metadata
- Download URL: Simon-0.1.0.tar.gz
- Upload date:
- Size: 49.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1820c71c0b90f26c0ecd618024cb6284452803dc3abbe1b14f21bbe8978d82d1 |
|
MD5 | 273480768ea094b6d814ae163dbbdd3b |
|
BLAKE2b-256 | bcfcffdfbf9c9fad3f069cf2f2682177cd20c44e9e820b9c144d14d4b7b98399 |