Code Monkey home page Code Monkey logo

pony's Introduction

Pony Object-Relational Mapper

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. For this purpose Pony analyzes the abstract syntax tree of a generator and translates it to its SQL equivalent.

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.

The package pony.orm.examples contains several examples. Documenation is available at http://doc.ponyorm.com

We are looking forward to your comments and suggestions at our mailing list http://ponyorm-list.ponyorm.com

License

Pony ORM is released under multiple licenses, check ponyorm.com for more information.

Pony ORM documentation is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

By editing or otherwise contributing to Pony ORM documentation, you agree to license any text you change or contribute under the CC BY-SA license.

Copyright (c) 2014 Pony ORM, LLC. All rights reserved. team (at) ponyorm.com

Please send your questions, comments and suggestions to our mailing list http://ponyorm-list.ponyorm.com

pony's People

Contributors

kozlovsky avatar amalashkevich avatar fuzeman avatar jasonmyers avatar

Watchers

Scott Hoffberg Wilson avatar  avatar Etienne Lachance avatar Patrick Ayoup avatar James Cloos avatar  avatar Ted Strauss avatar Andy Teijelo Pérez avatar Vanya avatar Tommy Lebel avatar Victor Carriço Santos avatar Joaquin Rodriguez avatar Brian Nolan avatar Francois Lacoursiere avatar  avatar Jessy Yameogo avatar Christopher Beresford Powell avatar  avatar Hugo MACHEFER avatar  avatar Delmar de Castro Mehret Filho avatar Maggie LaBelle avatar Ted Landis avatar Walter Sobral avatar Émilie Touchette avatar Zilia Lavastida López avatar Hayden Orizondo Marrero avatar Daehli Nadeau Otis avatar Greg Saunders avatar Germain Despres-Reiller avatar  avatar  avatar  avatar  avatar arashiqurrahman avatar Kostas Stathakos avatar  avatar Pau Diaz Gallifa avatar OPetit avatar Florian Grenouilleau avatar Jaiden Shepard avatar Grégory Petit avatar  avatar Nicole avatar  avatar Nicky Mirfallah avatar  avatar Tristan Hamel avatar Francois L avatar Priscilla Beaudet avatar Kevin Chan avatar Alberto Lacerda avatar Fernando Cabral avatar  avatar Manveer Patyal avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.