Skip to main content

Module package for sanitizing data

Project description

junkaptor - Python module for sanitizing data

-- Garbage in, sanitized data out... --

This module package allows to sanitize data records provided as key-values dictionaries, allowing attribute mapping etc.

Mainly this is used in meta-directory connectors.

Dependencies

Only Python 3.6+ and its standard library.

Installation

From PyPI

pip install junkaptor

Debian package

You can build a Debian package by using setuptools helper stdeb. A custom configuration file stdeb.cfg is provided.

See repo container-stdeb for easy containerized builds.

Configuration parameters

The following configuration paramaters can be optionally provided to configure some transformation steps applied in same the order the parameters are described herein:

decompose_attrs

recode_attrs

remove_values

replace_values

sanitizer

rename_attrs

fallback_attrs

fixed_attrs

remove_attrs

compose_attrs

single_val_attrs

name_suffix

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

junkaptor-0.0.5.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file junkaptor-0.0.5.tar.gz.

File metadata

  • Download URL: junkaptor-0.0.5.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/5.0.0 pkginfo/1.5.0.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.8

File hashes

Hashes for junkaptor-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7ba1a9198ebe1d8c142fdc2dc19c2e5cb33384f16dd807133da1fb973923fb7d
MD5 5a5478301f2a199426337345b4b139d1
BLAKE2b-256 3f857d05696049868e8745357643bd133b072dc543f03d4a4e13f916c6e8b601

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