#----------------------------------- 1.1.1 -----------------------------------
[added] IDENTITY_STRING and IDENTITY_STRING_CI keygens for
[fixed] exception edge case when saving / deleting index-only columns with a
unique constraint and no relevant data.
#----------------------------------- 1.1.0 -----------------------------------
[added] UnsafeColumns(); used for direct access to Redis structures per entity,
which are deleted on entity deletion.
#----------------------------------- 1.0.7 -----------------------------------
[fixed] searching by unique indexonly columns; previously would try to use the
useless "to_redis" on the column type, which returns none.
#----------------------------------- 1.0.6 -----------------------------------
[added] IndexOnly columns can now have unique indexes generated via keygen.
#----------------------------------- 1.0.5 -----------------------------------
Re-release for git tags
#----------------------------------- 1.0.4 -----------------------------------
[added] dockerfiles + docker-compose yamls for testing.
[updated] Python version compatability.
#----------------------------------- 1.0.3 -----------------------------------
[fix] explicitly added support for Python 3.7, 3.8, and 3.9 that were already
being tested in travis, but which we missed. Thanks to github user
https://github.com/Frank5000 for the bug report. Also removed extra-old and
generally unsupported Python 2.6 and 3.3 from the list. If you *need*
support for these, please contact me about a support license.
#----------------------------------- 1.0.2 -----------------------------------
[fix] thanks to bug report by github user https://github.com/Goury, fixed old
bug with rebuilding indexes via scan.
#----------------------------------- 1.0.1 -----------------------------------
[fix] thanks to bug report and instructions from github user
https://github.com/mshalom-meta, I have fixed rom to be compatible with
Redis connections having `decode_responses=True` set.
#----------------------------------- 1.0.0 -----------------------------------
[WARNING] data indexed in this version is NO LONGER COMPATIBLE with data indexed
in versions < 1.0.0, THIS VERSION WILL AUTOMATICALLY CONVERT YOUR INDEXES on
save, and older clients saving may not update indexes properly.
[future change] At some point, we'll stop supporting Python 2.7. I don't know
when that is, but it will be soon-ish.
[changed] data storage for "old" indexed data (so we can delete items) has
changed to reduce the number of big keys.
[changed] If you previously used no-filter model.query.count() without a primary
index, that previously worked. That will now return a lie, in order to be
fast. Sorry.
[added] You can now transfer value from one entity to another, marking success
in a 3rd "transfer" entity in a single Redis round-trip. Added from an
inbound email + self-answered StackOverflow answer. Check the new test for
how one might use that + indexes + json in order to handle the 1) payment,
and 2) item transfer for purchaseable items in a market. Thanks to Roman V
for the question / feature request.
[added] You can now iterate over all entities that do not match a given set of
prefixes or suffixes on a known prefix/suffix column. Thanks to github user
https://github.com/bgervan for the feature request.
[fixed] upstream travis config; Redis 3.2 and 4.0 were removed from Docker repo
[fixed] Thanks to github user https://github.com/cdessez for the bug report and
PR to not pass None to a Lua script. Had to fix upstream Travis CI
[added] Utility function to refresh all indexes, while showing progress.
#---------------------------------- 0.42.6 -----------------------------------
[added] get related model from relationship columns thanks to PR from github
user https://github.com/Aimage ; MyModel.column_name.get_related_model()
#---------------------------------- 0.42.5 -----------------------------------
[fixed] Odd indexing and query edge cases that would make some 3.6 String
(bytes) indexes not usable when Text (unicode) was passed. Reindexing
should fix the issue.
#---------------------------------- 0.42.4 -----------------------------------
[fixed] Thanks to github user https://github.com/stacywsmith for the bug
report and PR for fixing the Redis client compatability edge case due to
the Redis Python client upgrades
[changed] Upgraded machines, so upgraded sphinx, so docs got mangled, huge
changelog for what amounts to a few lines of library code change
#---------------------------------- 0.42.3 -----------------------------------
[fixed] IndexOnly() columns no longer accept the unique parameter (was ignored
in effect, anyway)
[added] IndexOnly() columns now take a keygen2 parameter in lieu of the column
+ keygen argument.
[fixed] Some links in the docs
#---------------------------------- 0.42.2 -----------------------------------
[fixed] Model.query.select().limit() will now honor the passed-in limit. Thanks
to Github user https://github.com/healiseu for the bug report
[fixed] Model.query.select() will now no longer pollute non-null session objects
with partial / broken objects. Thanks to Github user
https://github.com/healiseu for the bug report
#---------------------------------- 0.42.1 -----------------------------------
[fixed] Session object wasn't always initialized correctly. Bug report thanks to
github user https://github.com/cdessez .
#---------------------------------- 0.42.0 -----------------------------------
[changed] Attributes passed on object creation that don't exist will now raise
an exception, unless you explicitly pass _extra_ok=True.
[fixed] a fix from bugs 108/109 where objects wouldn't be added to the session
when they should be, and would when they shouldn't be.
[fixed] potential issue when using select and order_by; could have returned
model entities instead of columns selected.
[fixed] issue with iterators over select queries possibly returning bad data
silently (columns would all be 'False').
[fixed] issue with entities going into the session during arbitrary queries
where they shouldn't have.
[fixed] hopefully got sphinx docs to generate consistent order, so subsequent
commits don't result in rewriting it all for every commit :/
#---------------------------------- 0.41.2 -----------------------------------
[added] Model.update(*args, **kwargs) as a convenience method per requset from
github user https://github.com/61t
[fixed] multi-subclassed models may have raised a duplicate PrimaryKey error
on initialization.
[fixed] small issue with over-writing values on IndexOnly() columns not
raising an exception.
#---------------------------------- 0.41.1 -----------------------------------
[fixed] pythonhosted.org is not going to be hosting docs forever, this moves
the docs to github pages and updates references.
#---------------------------------- 0.41.0 -----------------------------------
[fixed] in some cases, bad column metadata could get left in the foreign key
column metadata in rom internals. Shouldn't have affected anything, except
some extra memory being used unnecessarily.
[added] Model.query.delete(blocksize=100) - for deleting models that match a
query. Requires that the model not have any ManyToOne, OneToMany, or
OneToOne columns or other foreign-key relationships. This should speed up
common deletion/cleanup tasks.
[added] util.session.delete(...) - for deleting a list of arbitrary models in
one round trip to Redis, if possible (if all entites are of one type, and
you haven't done anything strange with per-entity connections). Same no
foreign-key relationships limitation exists here.
[fixed] a few misspellings in the docs (there are probably more).
[added] columns.IndexOnly() - allowing multiple indexes and index types over
columns, without explic
没有合适的资源?快使用搜索试试~ 我知道了~
Python 的 Redis 对象映射器.zip
共113个文件
txt:17个
js:17个
html:12个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 18 浏览量
2024-12-03
10:18:12
上传
评论
收藏 620KB ZIP 举报
温馨提示
Python 的 Redis 对象映射器Rom——Python 的 Redis 对象映射器版权所有 2013-2023 Josiah Carlson根据 LGPL 许可证版本 2.1 和版本 3 发布(您可以选择受哪个许可证约束)。提供赞助不喜欢 LGPL?赞助该项目并获得您想要的几乎任何许可证。该项目部分由 structd.com 赞助。从历史上看,rom 曾用于帮助支持 chownow.com 配送数百万份食品订单,并被用作多家初创公司的主要后端和原型,这些公司已一路挺进 A 轮融资。感谢我们的赞助商和使用我们服务的人。欢迎您光临,我们将提供优质的服务。您的公司链接在此。文档可以找到更新的文档https //josiahcarlson.github.io/rom/什么Rom 是一个包,其目的是通过 Python 在 Redis 中提供活动记录样式的数据建模,类似于 Django ORM、SQLAlchemy、Google 的 Appengine 数据存储区等的语义。为什么我正在构建一个个人项目,想使用 Redis 来存储我的
资源推荐
资源详情
资源评论
收起资源包目录
Python 的 Redis 对象映射器.zip (113个子文件)
Dockerfile.3.10 297B
Dockerfile.3.11 297B
Dockerfile.3.4 285B
Dockerfile.3.5 284B
Dockerfile.3.6 285B
Dockerfile.3.7 294B
Dockerfile.2.7 281B
Dockerfile.3.8 294B
Dockerfile.3.9 294B
.buildinfo 230B
basic.css 14KB
pygments.css 5KB
classic.css 4KB
default.css 28B
Dockerfile.docs 476B
ajax-loader.gif 673B
.gitignore 351B
rom.html 142KB
util.html 67KB
columns.html 63KB
query.html 36KB
model.html 34KB
indexm.html 25KB
genindex.html 21KB
index.html 19KB
exceptions.html 15KB
py-modindex.html 5KB
modules.html 3KB
search.html 3KB
MANIFEST.in 35B
tox.ini 67B
objects.inv 1KB
jquery-3.6.0.js 282KB
jquery-1.11.1.js 276KB
jquery-3.2.1.js 262KB
jquery-3.1.0.js 258KB
jquery.js 87KB
underscore-1.13.1.js 67KB
searchindex.js 36KB
underscore-1.3.1.js 34KB
websupport.js 25KB
underscore.js 19KB
searchtools.js 18KB
language_data.js 5KB
sphinx_highlight.js 5KB
doctools.js 4KB
_sphinx_javascript_frameworks_compat.js 4KB
sidebar.js 2KB
documentation_options.js 420B
LICENSE 26KB
LICENSE3 42KB
Makefile 3KB
MANIFEST 119B
.nojekyll 0B
comment-close.png 829B
comment-bright.png 756B
comment.png 641B
file.png 286B
down-pressed.png 222B
up-pressed.png 214B
up.png 203B
down.png 202B
plus.png 90B
minus.png 90B
test_rom.py 73KB
model.py 45KB
columns.py 39KB
util.py 38KB
query.py 28KB
index.py 19KB
__init__.py 8KB
conf.py 8KB
exceptions.py 2KB
setup.py 1KB
README.rst 6KB
index.rst 529B
rom.rst 223B
exceptions.rst 140B
columns.rst 131B
model.rst 125B
indexm.rst 125B
query.rst 125B
util.rst 122B
changelog.txt 38KB
资源内容.txt 1KB
index.rst.txt 529B
index.txt 484B
rom.txt 345B
rom.rst.txt 223B
exceptions.rst.txt 140B
columns.rst.txt 131B
query.rst.txt 125B
model.rst.txt 125B
indexm.rst.txt 125B
util.rst.txt 122B
requirements.36.txt 52B
modules.txt 46B
requirements.txt 9B
标签.txt 5B
modules.rst.txt 0B
共 113 条
- 1
- 2
资源评论
赵闪闪168
- 粉丝: 1676
- 资源: 5391
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 按键映射.apk电视盒子软件
- oauth2-shiro与Redis的整合,更符合实际项目需要.zip
- 对datax进行了插件扩展-以支持对http接口数据的采集-jsonreader-v1.1.1.zip
- Power Off Click电视盒子软件
- node.js 和 redis 中的实时图像板.zip
- noise of polyphase electric motors(多相电机噪声)
- NewRelic 的 redis 工具.zip
- Spring 框架搭建 java 项目所需 jar 包
- 基于DeepSORT算法实现端到端的行人多目标跟踪+python源码+文档说明(高分作品)
- IDM下载器试用工具,一键运行
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功