Skip to main content

Datasette plugin that masks specified database columns

Project description

datasette-mask-columns

PyPI CircleCI License

Datasette plugin that masks specified database columns

Installation

pip install datasette-mask-columns

This depends on plugin hook changes in a not-yet released branch of Datasette. See issue #678 for details.

Usage

In your metadata.json file add a section like this descripibing the database and table in which you wish to mask columns:

{
    "databases": {
        "my-database": {
            "plugins": {
                "datasette-mask-columns": {
                    "users": ["password"]
                }
            }
        }
    }
}

All database queries against the users table in my-database.db will now return null for the password column, no matter what value that column actually holds.

Project details


Release history Release notifications

This version

0.1

Download files

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

Files for datasette-mask-columns, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size datasette_mask_columns-0.1-py3-none-any.whl (6.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page