{"id":13399993,"url":"https://github.com/ponyorm/pony","last_synced_at":"2025-05-07T11:52:35.929Z","repository":{"id":6839358,"uuid":"8087816","full_name":"ponyorm/pony","owner":"ponyorm","description":"Pony Object Relational Mapper","archived":false,"fork":false,"pushed_at":"2025-04-15T15:48:11.000Z","size":11662,"stargazers_count":3719,"open_issues_count":351,"forks_count":241,"subscribers_count":86,"default_branch":"main","last_synced_at":"2025-05-05T16:04:30.602Z","etag":null,"topics":["cockroach","cockroachdb","mysql","oracle","orm","postgresql","python","python3","sqlite"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ponyorm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-02-08T04:56:00.000Z","updated_at":"2025-05-02T10:39:51.000Z","dependencies_parsed_at":"2023-02-15T23:30:40.826Z","dependency_job_id":"9f4d36c7-8d7e-4799-911d-e187d2e736ed","html_url":"https://github.com/ponyorm/pony","commit_stats":{"total_commits":3646,"total_committers":25,"mean_commits":145.84,"dds":"0.14207350521119033","last_synced_commit":"27593ffc74184bc334dd301a86fc5f40fdd3ad87"},"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponyorm%2Fpony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponyorm%2Fpony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponyorm%2Fpony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponyorm%2Fpony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ponyorm","download_url":"https://codeload.github.com/ponyorm/pony/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252873973,"owners_count":21817710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cockroach","cockroachdb","mysql","oracle","orm","postgresql","python","python3","sqlite"],"created_at":"2024-07-30T19:00:46.223Z","updated_at":"2025-05-07T11:52:35.883Z","avatar_url":"https://github.com/ponyorm.png","language":"Python","readme":"# Downloads\n[![Downloads](https://pepy.tech/badge/pony)](https://pepy.tech/project/pony) [![Downloads](https://pepy.tech/badge/pony/month)](https://pepy.tech/project/pony/month) [![Downloads](https://pepy.tech/badge/pony/week)](https://pepy.tech/project/pony/week)\n\n\nPony Object-Relational Mapper\n=============================\n\nPony is an advanced object-relational mapper. The most interesting feature of Pony is its ability to write queries to the database using Python generator expressions and lambdas. Pony analyzes the abstract syntax tree of the expression and translates it into a SQL query.\n\nHere is an example query in Pony:\n\n```python\nselect(p for p in Product if p.name.startswith('A') and p.cost \u003c= 1000)\n```\n\nPony translates queries to SQL using a specific database dialect. Currently Pony works with SQLite, MySQL, PostgreSQL and Oracle databases.\n\nBy providing a Pythonic API, Pony facilitates fast app development. Pony is an easy-to-learn and easy-to-use library. It makes your work more productive and helps to save resources. Pony achieves this ease of use through the following:\n\n* Compact entity definitions\n* The concise query language\n* Ability to work with Pony interactively in a Python interpreter\n* Comprehensive error messages, showing the exact part where an error occurred in the query\n* Displaying of the generated SQL in a readable format with indentation\n\nAll this helps the developer to focus on implementing the business logic of an application, instead of struggling with a mapper trying to understand how to get the data from the database.\n\nSee the example [here](https://github.com/ponyorm/pony/blob/orm/pony/orm/examples/estore.py)\n\n\nSupport Pony ORM Development\n----------------------------\n\nPony ORM is Apache 2.0 licensed open source project. If you would like to support Pony ORM development, please consider:\n\n[Become a backer or sponsor](https://ponyorm.org/donation.html)\n\n\nOnline tool for database design\n-------------------------------\n\nPony ORM also has the Entity-Relationship Diagram Editor which is a great tool for prototyping. You can create your database diagram online at [https://editor.ponyorm.com](https://editor.ponyorm.com), generate the database schema based on the diagram and start working with the database using declarative queries in seconds.\n\n\nDocumentation\n-------------\n\nDocumentation is available at [https://docs.ponyorm.org](https://docs.ponyorm.org)\nThe documentation source is available at [https://github.com/ponyorm/pony-doc](https://github.com/ponyorm/pony-doc).\nPlease create new documentation related issues [here](https://github.com/ponyorm/pony-doc/issues) or make a pull request with your improvements.\n\n\nLicense\n-------\n\nPony ORM is released under the Apache 2.0 license.\n\n\nPonyORM community\n-----------------\n\nPlease post your questions on [Stack Overflow](http://stackoverflow.com/questions/tagged/ponyorm).\nMeet the PonyORM team, chat with the community members, and get your questions answered on our community [Telegram group](https://t.me/ponyorm).\nJoin our newsletter at [ponyorm.org](https://ponyorm.org).\nReach us on [Twitter](https://twitter.com/ponyorm).\n\nCopyright (c) 2013-2022 Pony ORM. All rights reserved. info (at) ponyorm.org\n","funding_links":[],"categories":["Python","Data Management \u0026 Processing","ORM","Database Clients","📚 فهرست","🗃️ SQL \u0026 Databases","ODM, ORM, Active Record"],"sub_categories":["Database \u0026 Cloud Management","دیتابیس","Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponyorm%2Fpony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fponyorm%2Fpony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponyorm%2Fpony/lists"}