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


Groups > comp.lang.python > #54094

Ann: rom 0.20 - Redis object mapper for Python

Date 2013-09-12 19:06 -0700
Subject Ann: rom 0.20 - Redis object mapper for Python
From Josiah Carlson <josiah.carlson@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.335.1379037978.5461.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.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.
#----------------------------------- 0.18
------------------------------------
[fixed] Thanks to a bug report by https://github.com/MickeyKim , was
notified
    and received an interim patch for a bug that could cause deleted
entities
    to be resurrected on session.commit() or session.flush() . This has now
    been fixed and a testcase has been added.
#----------------------------------- 0.17
------------------------------------
[added] LGPL 3 licensing option.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Ann: rom 0.20 - Redis object mapper for Python Josiah Carlson <josiah.carlson@gmail.com> - 2013-09-12 19:06 -0700

csiph-web