资源算法deepops

deepops

2019-12-26 | |  56 |   0 |   0

PYTHON DEEPOPS MODULE

This module contains some functions for performing "deep" operations on standard Python data structures - dictionaries/lists/sets:

  • deepmerge() - merges two dictionaries/lists/sets, including all sub-items, e.g. items to lists and sets, missing keys/items to dictionaries, optionally replacing clashing simple types.

  • deepremoveitems() - removes items (simple types, or whole dictionaries/lists/sets) from specified locations within a complex data structure.

The module was developed and used under Python 3.4 but seems to work OK in basic testing under 2.7.

Author

Robert Franklin, UK  rcf@mince.net


上一篇:jitify-libcu--test

下一篇:caffeine

用户评价
全部评价

热门资源

  • TensorFlow-Course

    This repository aims to provide simple and read...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • mxnet_VanillaCNN

    This is a mxnet implementation of the Vanilla C...

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • Klukshu-Sockeye-...

    KLUKSHU SOCKEYE PROJECTS 2016 This repositor...