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.4.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

deepops-1.4-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file deepops-1.4.tar.gz.

File metadata

  • Download URL: deepops-1.4.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for deepops-1.4.tar.gz
Algorithm Hash digest
SHA256 ba826b8e89acd49f7c216e59d61d5c908d13e08d5dca49879b9648cd318fd704
MD5 e4dcda66e6b9f7046514bf6d3ed82564
BLAKE2b-256 896d17e1bcaf7b53bca82f9079969d78fe86f9c5fc8a60c5bb7bfff63495bba8

See more details on using hashes here.

File details

Details for the file deepops-1.4-py2.py3-none-any.whl.

File metadata

  • Download URL: deepops-1.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for deepops-1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4447bc313ec6b87246a1bd4fd26defa79db10a793285737989554de0aba4f9f3
MD5 df26488c44b2198de5478c2996664645
BLAKE2b-256 50ca5e95d8899ab773b4dbac5ca2728f9ff9387788dd0be84b64fa0b1a05de3c

See more details on using hashes here.

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