The Orator ORM provides a simple yet beautiful ActiveRecord implementation. The Orator ORM is based on conventions to avoid the hassle of defining every single aspect of your models. It is inspired by the database part of the Laravel framework, but largely modified to be more pythonic. All you need to get you started is the configuration describing your database connections and passing it to a DatabaseManager instance. If you have multiple databases configured you can specify which one is the default. For MySQL and PostgreSQL, the connectors are configured to return unicode strings. If you want to use the previous behavior just set the use_unicode configuration option to False. Once you have configured your database connection, you can run queries. To run a set of operations within a database transaction, you can use the transaction method which is a context manager.

Features

  • A simple but powerful ORM
  • A database agnostic Schema Builder
  • A low level Query Builder to avoid the overhead of the ORM
  • The Orator ORM supports python versions 2.7+ and 3.2+
  • Support for PostgreSQL, MySQL and SQLite out of the box
  • Migrations

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Orator

Orator Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Orator!

Additional Project Details

Programming Language

Python

Related Categories

Python Database Software, Python Object-Relational Mapping (ORM) Software

Registered

2022-07-25