资源算法deepops

deepops

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

用户评价
全部评价

热门资源

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • honk-models

    Honk models google-speech-dataset.pt: model fo...

  • couleurs-des-van-...

    couleurs-des-van-gogh

  • My_DrQA

    My_DrQA A re-implement DrQA based on Pytorch