Skip to main content

Orbit-Orator

A simple ORM for Python, forked from Orator.

Installation

pip install orbit-orator

Basic Usage

from orbit_orator import DatabaseManager, Model

config = {
    'mysql': {
        'driver': 'mysql',
        'host': 'localhost',
        'database': 'database',
        'user': 'root',
        'password': '',
        'prefix': ''
    }
}

db = DatabaseManager(config)
Model.set_connection_resolver(db)

class User(Model):
    pass

users = User.where('votes', '>', 100).take(10).get()

for user in users:
    print(user.name)

License

MIT License

Metadata

Release files for orbit-orator 0.9.9.15

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

Source distribution (sdist)

Source distribution for orbit-orator 0.9.9.15
File Size Uploaded Provenance Actions
orbit_orator-0.9.9.15.tar.gz 116.2 kB Without provenance Details for orbit_orator-0.9.9.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for orbit-orator 0.9.9.15
File Interpreter ABI Platform Actions
orbit_orator-0.9.9.15-py3-none-any.whl Python 3 none any Details for orbit_orator-0.9.9.15-py3-none-any.whl

Total release size: 286.0 kB

Release files / orbit_orator-0.9.9.15.tar.gz

Download URL orbit_orator-0.9.9.15.tar.gz
Size 116.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e1cc08beb31e12ee2333c358a299f5010fb92da89854a110a378168d6eedc885
BLAKE2b-256 checksum
How to use checksums
762e0a16d1e862b646e7ce6ee89c473cdcae991df1813592e4be2c353ca1772e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / orbit_orator-0.9.9.15-py3-none-any.whl

Download URL orbit_orator-0.9.9.15-py3-none-any.whl
Size 169.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa57a68cd8f92baced760e5f96ecbea38b38ac0466263bbde44169d1a274f120
BLAKE2b-256 checksum
How to use checksums
bdff87b29f3890c49d52c5a03107b942499059bf171ed5d8060567174f0c7968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for orbit-orator 0.9.9.15

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