没有合适的资源?快使用搜索试试~ 我知道了~
deepmerge:用于Python核心数据结构的深度合并工具
共30个文件
py:19个
rst:5个
uranium:1个
需积分: 9 0 下载量 108 浏览量
2021-03-10
15:10:32
上传
评论
收藏 21KB ZIP 举报
温馨提示
深度合并 一种处理python中嵌套数据结构合并的工具。 安装 可以在上使用deepmerge: pip install deepmerge 例子 通用策略 from deepmerge import always_merger base = { "foo" : [ "bar" ]} next = { "foo" : [ "baz" ]} expected_result = { 'foo' : [ 'bar' , 'baz' ]} result = always_merger . merge ( base , next ) assert expected_result == result 自订策略 from deepmerge import Merger my_merger = Merger ( # pass in a list of tuple, with the
资源推荐
资源详情
资源评论
收起资源包目录
deepmerge-master.zip (30个子文件)
deepmerge-master
.gitignore 1KB
README.rst 2KB
uranium 2KB
docs
strategies.rst 1KB
conf.py 10KB
index.rst 2KB
api.rst 168B
guide.rst 3KB
Makefile 7KB
LICENSE 1KB
ubuild.py 154B
MANIFEST.in 15B
setup.py 1KB
.travis.yml 93B
deepmerge
strategy
type_conflict.py 703B
__init__.py 0B
core.py 1KB
fallback.py 435B
list.py 540B
dict.py 772B
tests
strategy
test_type_conflict.py 585B
test_core.py 946B
__init__.py 0B
test_full.py 1KB
test_merger.py 728B
__init__.py 0B
exception.py 499B
compat.py 64B
merger.py 2KB
__init__.py 970B
共 30 条
- 1
资源评论
log边缘
- 粉丝: 17
- 资源: 4605
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功