Pony is an object-relational mapper. The most interesting feature of Pony is its ability to write queries to the database using generator expressions. Pony works with entities which are mapped to a SQL database. Using generator syntax for writing queries allows the user to formulate very eloquent queries. It increases the level of abstraction and allows a programmer to concentrate on the business logic of the application.

Following is an example of a query in Pony:

select(p for p in Product if p.name.startswith('A') and p.cost <= 1000)

Pony translates queries to SQL using a specific database dialect. Currently Pony works with SQLite, MySQL, PostgreSQL and Oracle databases.

Pony ORM also include the ER Diagram Editor which is a great tool for prototyping. You can create your ER diagram online at https://editor.ponyorm.com, generate the database schema based on the diagram and start working with the database using declarative queries in seconds.

Project Samples

Project Activity

See All Activity >

License

Affero GNU Public License, Other License

Follow PONY - ORM & web publication framework

PONY - ORM & web publication framework Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PONY - ORM & web publication framework!

Additional Project Details

Languages

English, Russian

Intended Audience

Developers

User Interface

Command-line, Web-based

Programming Language

Python

Database Environment

MySQL, Oracle, PostgreSQL (pgsql), Project is a database abstraction layer (API), Project is a relational object mapper, SQL-based, SQLite

Related Categories

Python Database Software, Python Frameworks, Python Object Brokering Software, Python Internet Software

Registered

2006-04-26