Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11405

Bug#926459: RFP: ponyorm -- Pony Object Relational Mapper

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Antoine Beaupre <anarcat@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#926459: RFP: ponyorm -- Pony Object Relational Mapper
Date Fri, 05 Apr 2019 17:40:02 +0200
Message-ID <xJz6G-i0-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Apr 5 15:39:13 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.2
Reply-To Antoine Beaupre <anarcat@debian.org>, 926459@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc pollito@riseup.net, debian-python@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message report 926459
X-Debian-Pr-Package wnpp
X-Spam-Bayes score:0.0000 Tokens: new, 31; hammy, 149; neutral, 83; spammy, 1. spammytokens:0.946-+--business hammytokens:0.000-+--HX-Debbugs-Cc:sk:debian-, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 7.5.2
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1531201
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 50
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 05 Apr 2019 11:36:18 -0400
X-Original-Message-ID <155447857881.9302.16010502890162785579.reportbug@curie.anarc.at>
Xref csiph.com linux.debian.bugs.dist:953144 linux.debian.maint.python:11405

Cross-posted to 2 groups.

Show key headers only | View raw


Package: wnpp
Severity: wishlist

* Package name    : ponyorm
  Version         : 0.7.9
  Upstream Author : Alexander Kozlovsky, Alexey Malashkevich <team@ponyorm.com>
* URL             : https://ponyorm.org/
* License         : Apache 2
  Programming Lang: Python
  Description     : Pony Object Relational Mapper

Pony 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. Pony analyzes the abstract syntax tree
of the generator expression and translates it into a SQL query.

Here is an example 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.

By 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:

 * Compact entity definitions
 * The concise query language
 * Ability to work with Pony interactively in a Python interpreter
 * Comprehensive error messages, showing the exact part where an error
   occurred in the query
 * Displaying of the generated SQL in a readable format with
   indentation

All 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.

----

PonyORM is a dependency of supysonic (#926457), but could also be
useful for other Python packages. There are of course many other ORM
engines written in Python in the Debian archive, but I do not believe
any provides a compatibility layer that supysonic could use.

I do not plan on maintaining this and would love if the DPMT could
handle this one.

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Bug#926459: RFP: ponyorm -- Pony Object Relational Mapper Antoine Beaupre <anarcat@debian.org> - 2019-04-05 17:40 +0200

csiph-web