Hey everyone,

Big change today: rom now supports fast prefix, suffix, and pattern match
queries over your data. The method is based on the autocomplete process
described in my book, Redis in Action

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.25.0
-----------------------------------
[changed] version numbers to account for bugfixes vs. feature updates.
[added] columns can now be defined to allow for prefix and/or suffix
queries.
    Enabling prefix queries also enables arbitrary pattern matching over
your
    data.
[fixed] in some cases, rom would allow the definition of multiple primary
    keys, of which only one would ever be used (inconsistently). This will
now
    result in an error.
[changed] defaulted to assume Lua is available on Redis, which has been
    released for over 15 months at this point. You can disable support via
    a call to rom._disable_lua_writes().
[added] the ability to cache and get the key that holds the result of a
query,
    which can be used for pagination, etc. See: Query.cached_result()
[warning] using rom versions of 0.23 with 0.25.0 when prefix and suffix
    indexes are enabled can result in improper results from prefix, suffix,
    and/or pattern queries, and can result in orphan data living in prefix
or
    suffix indexes. Upgrade all of your clients!
[changed] temporary keys for queries are now prefixed with the name of the
    model over which queries are being executed on. This should effect
    basically zero people, but can allow for query cleanup in the off chance
    of a failure during execution.
#----------------------------- 0.23 (unreleased)
-----------------------------
[changed] reduced number of round trips for single-filter queries by 1,
thanks
    to https://github.com/MickeyKim for the report.
#----------------------------------- 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
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to