title: Pony ORM
category: page
slug: pony-orm
sortorder: 0309
toc: False
sidebartitle: Pony ORM
meta: Pony is an object-relational mapper (ORM) library for Python applications.


[Pony](https://ponyorm.com/) 
([source code](https://github.com/ponyorm/pony)) is 
a Python 
[object-relational mapper (ORM) library](/object-relational-mappers-orms.html)
([database module source code](https://github.com/django/django/tree/master/django/db)).
Pony can be used to interact and manipulate data in 
[relational databases](/databases.html), including 
[PostgreSQL](/postgresql.html), [SQLite](/sqlite.html) and 
[MySQL](/mysql.html).

<a href="https://ponyorm.com/" style="border: none;"><img src="/img/logos/pony-orm.png" width="100%" alt="Pony ORM logo." class="technical-diagram"></a>

<div class="well see-also">Pony is an implementation of the <a href="/object-relational-mappers-orms.html">object-relational mapping (ORM)</a> concept. Learn more in the <a href="/data.html">data</a> chapter or view <a href="/table-of-contents.html">all topics</a>.</div>


### Pony resources
* [Why you should give Pony ORM a chance](http://jakeaustwick.me/why-you-should-give-ponyorm-a-chance/)
  explains some of the benefits of Pony ORM that make it worth trying out.

* [An intro to Pony ORM](http://www.blog.pythonlibrary.org/2014/07/21/python-101-an-intro-to-pony-orm/)
  shows the basics of how to use the library, such as creating databases
  and manipulating data.

* The Pony ORM author explains on a Stack Overflow answer
  [how Pony ORM works behind the scenes](http://stackoverflow.com/questions/16115713/how-pony-orm-does-its-tricks).
  Worth a read whether or not you're using the ORM just to find out how
  some of the magic coding works.

