Skip to main content

skylark

A micro python orm for mysql and sqlite.

Sample Usage

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

Installation

$ pip install skylark

Metadata

Release files for skylark 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skylark 0.9.1
File Size Uploaded Provenance Actions
skylark-0.9.1.tar.gz 8.7 kB Without provenance Details for skylark-0.9.1.tar.gz

Release files / skylark-0.9.1.tar.gz

Download URL skylark-0.9.1.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2ffeddd0751d736fced84568569468370349a95a566ca455b056f05b92a0a2d3
BLAKE2b-256 checksum
How to use checksums
ecbd41f5ab8f159a34c777ae00ddfd684cd62279b3d7f753247aee89980c053b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for skylark 0.9.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page