Skip to main content

Python deepops module

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepops-1.2.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

deepops-1.2-py2.py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page