This release is a pre-release and may not be stable for production use.
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.
The package pony.orm.examples contains several examples. Documenation is available at http://ponyorm.com
Metadata
Release files for pony 0.6rc3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pony-0.6rc3.tar.gz | 194.5 kB | Details |
Release files / pony-0.6rc3.tar.gz
| Download URL | pony-0.6rc3.tar.gz |
|---|---|
| Size | 194.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df10d8de437672e51c4d7786e34632c9ec869f242e5e226777b871aa32b365d8
|
|
BLAKE2b-256 checksum How to use checksums |
40193fb826ff7ae4702d67a48066c3737c4622e71fc612cd5c282e81b6c98192
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |