ANN: rom 0.28.0 - Redis object mapper for Python

Josiah Carlson josiah.carlson at gmail.com
Sat Sep 27 00:16:41 CEST 2014


Hey everyone,

The "rom" package is a Redis object mapper for Python. It sports an
interface similar to Django's ORM, SQLAlchemy with the declarative base, 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.28.0
-----------------------------------
[added] Composite unique constraints like SQLAlchemy's UniqueConstraint()
and
    Django's unique_together, spelled and used like Django's
unique_together.
    See http://pythonhosted.org//rom/rom.html#rom.Model for details.
[fixed] Deleting entities will no longer leave extra index data around
    (regardless of whether the entitiy had any indexes defined).
[added] Convenience function for cleaning out old index data from deleted
    entities. See and read the help on util.clean_old_index() .
[added] Convenience function util.show_progress() to show the progress of
    util.refresh_indices() and util.clean_old_index() . See and read the
help
    on util.show_progress() for usage.
[fixed] Tests to no longer leave testing data in db 15, and running tests
    again should clean out the testing data.
[fixed] Incorrect documentation about the String column type.
#---------------------------------- 0.27.0
-----------------------------------
[changed] Added auto-tagging support for release versions pushed to PyPI.
[added] Foreign key references defined with a OneToMany and ManyToOne
    relationship will now have the "one" side of the relationship deletion
    optionally restrict. Thanks to https://github.com/pconerly for the
initial
    request and patch.
[added] Additional warnings and tests for future on_delete behavior choices.
[fixed] Re-save issue for datetime objects, as well as any future re-save
    issues (like what happened with json columns in rom 0.15). Thanks to
    https://github.com/iamkhush for the bug report and example testcase that
    lead to the solution.
#---------------------------------- 0.26.5
-----------------------------------
[added] the ability to selectively choose rom's session caching behavior,
see
    http://pythonhosted.org//rom/rom.html#using-a-non-caching-session-object
#---------------------------------- 0.26.4
-----------------------------------
[fixed] forgot one reference that should have been fixed in 0.26.3. Everyone
    should upgrade from 0.26.3 . Thanks to https://github.com/Alanperd for
the
    report and test case.
#---------------------------------- 0.26.3
-----------------------------------
[fixed] issue when pattern match queries would sometimes produce more
results
    than would be correct, bug report, test, and initial fix thanks to
    https://github.com/Alanperd
#---------------------------------- 0.26.2
-----------------------------------
[fixed] issue when pattern-match queries wouldn't always return full
results,
    bug report, test, and initial fix thanks to https://github.com/Alanperd
[fixed] two testing errors in Python 2.6.
[fixed] some test cases that weren't properly namespaced for easy cleanup.
[removed] built documention from rom source distribution (see
    http://pythonhosted.org/rom/ instead).
[fixed] base documention about rom including the readme is now a part of the
    docs available at http://pythonhosted.org/rom/ , thanks to
    https://github.com/pconerly for the report on incomplete docs.
[fixed] added modern requirements thanks to report from
    https://github.com/pconerly .
[fixed] documentation on per-model connection objects.
[removed] extraneous and confusing documentation about the `index` and
    `columns` submodules.
#---------------------------------- 0.26.1
-----------------------------------
[fixed] issue with deleted entity resurrection, bug report and fix thanks to
    Justin Mayfield https://github.com/mayfield
[fixed] issue with deleted entities not being completely cleared out during
    delete with Lua writes enabled, bug report and fix also courtesy of
Justin
    Mayfield https://github.com/mayfield


More information about the Python-announce-list mailing list