资源算法deepops

deepops

2019-12-26 | |  76 |   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

用户评价
全部评价

热门资源

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...

  • honk-honk-motherf...

    honk-honk-motherfucker