Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed0.kamp.net!newsfeed.kamp.net!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'url:pypi': 0.03; 'subject:Python': 0.06; 'attribute': 0.07; 'column': 0.07; 'definitions': 0.07; 'report.': 0.07; 'subject:ANN': 0.07; 'attributes': 0.09; "django's": 0.09; 'fixed,': 0.09; 'models.': 0.09; 'newly': 0.09; 'skip:# 30': 0.09; 'url:github': 0.09; 'bug': 0.12; 'itself.': 0.14; '(should': 0.16; '0.19': 0.16; 'columns': 0.16; 'intersection': 0.16; 'optionally': 0.16; 'orm,': 0.16; 'prefixed': 0.16; 'reasonably': 0.16; 'reload': 0.16; 'sqlalchemy': 0.16; 'subject:mapper': 0.16; 'subject:object': 0.16; 'suite.': 0.16; 'to:addr:python-announce- list': 0.16; 'exception': 0.16; 'hey': 0.18; 'trying': 0.19; 'everyone,': 0.19; 'skip:p 40': 0.19; 'tests': 0.22; 'filtering': 0.24; 'module,': 0.24; "shouldn't": 0.24; 'performing': 0.26; 'query': 0.26; 'to:2**1': 0.27; 'fixed': 0.29; 'skip:- 40': 0.29; 'to:no real name:2**1': 0.29; 'moved': 0.30; 'message- id:@mail.gmail.com': 0.30; 'factor': 0.31; 'keys': 0.31; 'anyone': 0.31; 'allows': 0.31; 'interface': 0.32; 'option': 0.32; 'skip:- 30': 0.32; 'run': 0.32; 'url:python': 0.33; 'addresses': 0.33; 'skip:# 10': 0.33; 'at:': 0.34; 'objects': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'there': 0.35; '2.6': 0.36; 'replies': 0.36; 'skip:f 40': 0.36; 'thanks': 0.36; 'similar': 0.36; 'url:org': 0.36; 'performance': 0.37; 'skip:& 10': 0.38; 'thank': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'recent': 0.39; 'ability': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'users': 0.40; 'improved': 0.60; 'affect': 0.61; 'new': 0.61; 'range': 0.61; 'simple': 0.61; 'notified': 0.63; 'such': 0.63; 'sports': 0.69; 'estimation': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=T06BHPr9ip4/3i84rElcPQ69wWlR1uBTlGwxYV/3CKA=; b=bTNRdu2Lv8LE3pn5tzCxPribJezX0uTiPlpu1VsTYHh2gYn64MLYBm9TRyUahORonR Npus9/FtTjlWTMkt6HIPlrDLCxlncLHs2nnUN7XFSYNVrSznSByWsr+wpWf7v9sjQVbG SnuwuP/JJmKN6G+D/m+rAUtQ6/zR7klmsVQPVkwXWW30NH93He8FF6Swjk0UtTquPvsZ 07luXXdcNyXVIqr3dOQK1vt/LwcnQ6rTvTo1nGnZdTqmpiWh2S+Fhfguudc9RYCMNvSq GU5tPhc+SwFkv5bxWySprJ0ySsUCC6iadWq2wQ/1l1xHqE8u+BK7Pg5Z/oE7/RsDU4jb iM2A== MIME-Version: 1.0 X-Received: by 10.52.116.74 with SMTP id ju10mr7518819vdb.20.1383507103222; Sun, 03 Nov 2013 11:31:43 -0800 (PST) Date: Sun, 3 Nov 2013 11:31:43 -0800 Subject: ANN: rom 0.22 - Redis object mapper for Python From: Josiah Carlson To: Python-announce-list@python.org, python-list@python.org Content-Type: multipart/alternative; boundary=20cf307d01dc6e948e04ea4ad91b X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 161 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383507111 news.xs4all.nl 15867 [2001:888:2000:d::a6]:55431 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58407 --20cf307d01dc6e948e04ea4ad91b Content-Type: text/plain; charset=ISO-8859-1 Hey everyone, As time progresses, so does my Redis object mapper. The "rom" package is a Redis object mapper for Python. It sports an interface similar to Django's ORM, SQLAlchemy + Elixir, or Appengine's datastore. The changelog for recent releases can be seen below my signature. You can find the package at: https://www.github.com/josiahcarlson/rom https://pypi.python.org/pypi/rom And docs can be found at: http://pythonhosted.org/rom/ Please CC me on any replies if you have any questions or comments. Thank you, - Josiah #----------------------------------- 0.22 ------------------------------------ [fixed] size estimation for intersection ordering when filtering has now been fixed, thank you to https://github.com/MickeyKim for the report and the change (should improve performance). [fixed] an issue with some types when trying to update attributes has now been fixed, thank you to https://github.com/denisvolokh for the report. [changed] improved performance for simple numeric range queries of the form Model.get_by(attr=value) or Model.get_by(attr=(min, max)) by roughly a factor of 60x or better in some cases. Thank you to https://github.com/MickeyKim for the report on poor performance. #----------------------------------- 0.21 ------------------------------------ [fixed] upload for rom 0.20 was missing new columns.py, now fixed #----------------------------------- 0.20 ------------------------------------ [changed] Added exception when performing .all(), .execute(), or .count() on query objects that have had no filters or attribute ordering provided. This addresses issue #12. [changed] Moved column definitions to their own module, shouldn't affect any normal uses of rom. [added] For users of Redis 2.6 and later, there is a beta Lua-enabled writing option that allows for multiple unique columns on models. In some cases, this may improve performance when writing many entities very quickly. [added] The ability to reload an entity from Redis, optionally discarding any modifications to the object itself. Check out the documentation for Model.refresh(), Session.refresh(), and Session.refresh_all() [added] Tests for the newly changed/added features. [changed] Tests no longer use flushdb() - all test models/indexes/etc. are prefixed with RomTest, and we find/delete such keys before and after any tests are run. Now anyone can reasonably run the test suite. #----------------------------------- 0.19 ------------------------------------ [fixed] Thanks to a bug report by https://github.com/MickeyKim , was notified of a bug when using unique indexes, which is now fixed and has a testcase. --20cf307d01dc6e948e04ea4ad91b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hey everyone,

As time progresses, so doe= s my Redis object mapper.

The "rom" package is a Redis object mapper for Python. = It sports an interface similar to Django's ORM, SQLAlchemy + Elixir, or= Appengine's datastore.

The changelog for recent release= s can be seen below my signature.

You can find the package at:
https://www.github.com/josiahcarlson/rom

= https://pypi.python.org/pypi/rom

And do= cs can be found at:
http://= pythonhosted.org/rom/

Please CC me on any replies if you have any questions or comments.
<= br>Thank you,
=A0-=A0J= osiah

#----------------------------------- 0.22 -----------------= -------------------
[fixed] size estimation for intersection orde= ring when filtering has now been
=A0 =A0 fixed, thank you to https://github.com/MickeyKim for t= he report and the
=A0 =A0 change (should improve performance).
[fixed] an issu= e with some types when trying to update attributes has now been
= =A0 =A0 fixed, thank you to http= s://github.com/denisvolokh for the report.
[changed] improved performance for simple numeric range queries of the= form
=A0 =A0 Model.get_by(attr=3Dvalue) or Model.get_by(attr=3D(= min, max)) by roughly a
=A0 =A0 factor of 60x or better in some c= ases. Thank you to
=A0 =A0 https://github.com/Mi= ckeyKim for the report on poor performance.
#----------= ------------------------- 0.21 ------------------------------------
[fixed] upload for=A0rom=A00.20 was missing new col= umns.py, now fixed
#----------------------------------- 0.20 ----= --------------------------------
[changed] Added exception when performing .all(), .execute(), or .count() o= n
=A0 =A0 query objects that have had no filters or attribute ord= ering provided.
=A0 =A0 This addresses issue #12.
[chan= ged] Moved column definitions to their own module, shouldn't affect any=
=A0 =A0 normal uses of=A0rom.
[added= ] For users of Redis 2.6 and later, there is a beta Lua-enabled writing
=A0 =A0 option that allows for multiple unique columns on models. In= some cases,
=A0 =A0 this may improve performance when writing many entities very q= uickly.
[added] The ability to reload an entity from Redis, optio= nally discarding any
=A0 =A0 modifications to the object itself. = Check out the documentation for
=A0 =A0 Model.refresh(), Session.refresh(), and Session.refresh_all()<= /div>
[added] Tests for the newly changed/added features.
[ch= anged] Tests no longer use flushdb() - all test models/indexes/etc. are
=A0 =A0 prefixed with RomTest, and we find/delete such keys before and= after any
=A0 =A0 tests are run. Now anyone can reasonably run t= he test suite.
#----------------------------------- 0.19 ---------------------------------= ---
[fixed] Thanks to a bug report by=A0https://github.com/MickeyKim=A0, was = notified
=A0 =A0 of a bug when using unique indexes, which is now fixed and has= a testcase.
--20cf307d01dc6e948e04ea4ad91b--