Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

About

Pony ORM is easy to use and powerful object-relational mapper for Python. Using Pony, developers can create and maintain database-oriented software applications faster and with less effort. One of the most interesting features of Pony is its ability to write queries to the database using generator expressions. Pony then 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)

Such approach simplify the code and allows a programmer to concentrate on the business logic of the application.

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

The package pony.orm.examples contains several examples.

Installation

pip install pony

Entity-Relationship Diagram Editor

Pony online ER Diagram Editor is a great tool for prototyping. You can draw your ER diagram online, generate Pony entity declarations or SQL script for creating database schema based on the diagram and start working with the database in seconds.

Metadata

Release files for pony 0.7.6rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pony 0.7.6rc1
File Size Uploaded
pony-0.7.6rc1.tar.gz 256.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pony 0.7.6rc1
File Interpreter ABI Platform
pony-0.7.6rc1-py3-none-any.whl Python 3 none any Details
pony-0.7.6rc1-py2-none-any.whl Python 2 none any Details

Total release size: 883.6 kB

Release files / pony-0.7.6rc1.tar.gz

Download URL pony-0.7.6rc1.tar.gz
Size 256.5 kB
Tags Source
SHA-256 checksum
How to use checksums
64d779c555f0164acb48af0df71af81a518cc07311b7f9184fe9a51bdb779c06
BLAKE2b-256 checksum
How to use checksums
942809f433804712806a27ff660f4569583f20f41324a943ec3f19db1482729e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release files / pony-0.7.6rc1-py3-none-any.whl

Download URL pony-0.7.6rc1-py3-none-any.whl
Size 313.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8212d580c2319bd82e241f0fd0fa5204f9ca0baa257be02a80c69f679f8be7e0
BLAKE2b-256 checksum
How to use checksums
885986775deaf8edd6b16bea203677491790ab1e62288fccd0930f1cb9e2a0a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release files / pony-0.7.6rc1-py2-none-any.whl

Download URL pony-0.7.6rc1-py2-none-any.whl
Size 313.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
7ae8f8915b5b059d20f1324e891d1a0a370d25dec2771d10f4e8d0bf41ab0caa
BLAKE2b-256 checksum
How to use checksums
d1156c8f87dfc2464c862d69c8ced56ab9ef3a3108bb8ec32e578e3144d3c746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release history Release notifications | RSS feed

0.7.19

2 release files

0.7.18

2 release files

0.7.17

2 release files

0.7.16

2 release files

0.7.15

2 release files

0.7.14

1 release file

0.7.13

1 release file

0.7.12

1 release file

0.7.11

1 release file

0.7.10

1 release file

0.7.9

1 release file

0.7.8

1 release file

0.7.7

1 release file

0.7.6

3 release files

This release

0.7.6rc1 This release

3 release files

0.7.5

2 release files

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7

1 release file

0.6.6

1 release file

0.6.5

1 release file

0.6.4

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5

1 release file

0.4.9

1 release file

0.4.8

1 release file

0.4.7

1 release file

0.4.6

1 release file

0.4.5

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

0.0.1a1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page