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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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