Skip to main content

A micro python orm for mysql and sqlite.

Project description

A micro python orm for mysql and sqlite.

Sample Usage

>>> from models import User
>>> user = User(name='Tom', email='')
>>>  # insert
>>> = ''
>>>  # update
>>> [ for user in]  # select
>>> query = User.where(name='Tom').delete()
>>> query.execute()  # delete
>>> user = User.create(name='Kate', email='')  # another insert
>>> user
{'email': '', 'name': 'Kate', 'id': 2}
>>> user.destroy()  # another delete


$ pip install skylark

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

skylark-0.9.1.tar.gz (8.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page