phi-masker-utils


Namephi-masker-utils JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/jai-python3/phi-masker-utils
SummaryCollection of Python modules for masking PHI in delimited files and Excel worksheets.
upload_time2025-02-15 01:39:42
maintainerNone
docs_urlNone
authorJaideep Sundaram
requires_python>=3.6
licenseNone
keywords phi_masker_utils
VCS
bugtrack_url
requirements click colorama
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ================
PHI Masker Utils
================


Collection of Python modules for masking PHI in delimited files and Excel worksheets.

Usage
-----

.. code-block:: python

    from phi_masker_utils import Masker

    config_file = "conf/config.yaml"
    config = yaml.safe_load(Path(config_file).read_text())

    # Tab-delimited file
    infile = "my.tsv"
    outfile = "my_masked.tsv"

    # Or comma-separated file
    infile = "my.csv"
    outfile = "my_masked.csv"

    masker = Masker(
        config=config,
        config_file=config_file,
        infile=infile,
        logfile=logfile,
        outdir=outdir,
        outfile=outfile,
        verbose=verbose,
    )

    masker.mask_phi_values()

Exported Script
---------------

.. code-block:: shell

    mask-file --infile ~/projects/phi-masker-utils/labguru_mockup.csv --outdir .
    --config_file was not specified and therefore was set to 
    '/tmp/phi-masker-utils/venv/lib/python3.10/site-packages/phi_masker_utils/conf/config.yaml'
    --logfile was not specified and therefore was set to './mask_file.log'
    --outfile was not specified and therefore was set to './labguru_mockup.csv'


=======
History
=======

0.1.0 (2024-09-15)
------------------

* First release on PyPI.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jai-python3/phi-masker-utils",
    "name": "phi-masker-utils",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "phi_masker_utils",
    "author": "Jaideep Sundaram",
    "author_email": "jai.python3@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/9e/cf/5ac49ac852ca4b0d7b4eac9ecfb83cf2b18a7eeb9829d423d192d92853b9/phi_masker_utils-0.1.1.tar.gz",
    "platform": null,
    "description": "================\nPHI Masker Utils\n================\n\n\nCollection of Python modules for masking PHI in delimited files and Excel worksheets.\n\nUsage\n-----\n\n.. code-block:: python\n\n    from phi_masker_utils import Masker\n\n    config_file = \"conf/config.yaml\"\n    config = yaml.safe_load(Path(config_file).read_text())\n\n    # Tab-delimited file\n    infile = \"my.tsv\"\n    outfile = \"my_masked.tsv\"\n\n    # Or comma-separated file\n    infile = \"my.csv\"\n    outfile = \"my_masked.csv\"\n\n    masker = Masker(\n        config=config,\n        config_file=config_file,\n        infile=infile,\n        logfile=logfile,\n        outdir=outdir,\n        outfile=outfile,\n        verbose=verbose,\n    )\n\n    masker.mask_phi_values()\n\nExported Script\n---------------\n\n.. code-block:: shell\n\n    mask-file --infile ~/projects/phi-masker-utils/labguru_mockup.csv --outdir .\n    --config_file was not specified and therefore was set to \n    '/tmp/phi-masker-utils/venv/lib/python3.10/site-packages/phi_masker_utils/conf/config.yaml'\n    --logfile was not specified and therefore was set to './mask_file.log'\n    --outfile was not specified and therefore was set to './labguru_mockup.csv'\n\n\n=======\nHistory\n=======\n\n0.1.0 (2024-09-15)\n------------------\n\n* First release on PyPI.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Collection of Python modules for masking PHI in delimited files and Excel worksheets.",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/jai-python3/phi-masker-utils"
    },
    "split_keywords": [
        "phi_masker_utils"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "25f9c8381f01d6d0c5ed9d04e0c52a8ffad3edb5d96b7832b8409580d1d27d98",
                "md5": "ffd6014514fa8cc4943fe10eeed145b9",
                "sha256": "a0fee115cead664d6beaf3648797ab9dc0d5b9824b7a534363378eb6046c4426"
            },
            "downloads": -1,
            "filename": "phi_masker_utils-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ffd6014514fa8cc4943fe10eeed145b9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 12447,
            "upload_time": "2025-02-15T01:39:40",
            "upload_time_iso_8601": "2025-02-15T01:39:40.359812Z",
            "url": "https://files.pythonhosted.org/packages/25/f9/c8381f01d6d0c5ed9d04e0c52a8ffad3edb5d96b7832b8409580d1d27d98/phi_masker_utils-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9ecf5ac49ac852ca4b0d7b4eac9ecfb83cf2b18a7eeb9829d423d192d92853b9",
                "md5": "5208a1176bec43cc0284d45f665e0a0d",
                "sha256": "0d01313db35456695022958dcad6bb4c0e98801bee57e0dd9d24b02dd3aceac5"
            },
            "downloads": -1,
            "filename": "phi_masker_utils-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5208a1176bec43cc0284d45f665e0a0d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 16142,
            "upload_time": "2025-02-15T01:39:42",
            "upload_time_iso_8601": "2025-02-15T01:39:42.252372Z",
            "url": "https://files.pythonhosted.org/packages/9e/cf/5ac49ac852ca4b0d7b4eac9ecfb83cf2b18a7eeb9829d423d192d92853b9/phi_masker_utils-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-15 01:39:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jai-python3",
    "github_project": "phi-masker-utils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "click",
            "specs": []
        },
        {
            "name": "colorama",
            "specs": []
        }
    ],
    "tox": true,
    "lcname": "phi-masker-utils"
}
        
Elapsed time: 0.44187s