Skip to main content

SQL functions to decode and encode base64 strings

Project description

datasette-base64

PyPI Changelog Tests License

SQL functions to decode and encode base64 strings

Installation

Install this plugin in the same environment as Datasette.

$ datasette install datasette-base64

Usage

select base64decode(
    "QmxhZGUgUnVubmVy"
)

select base64encode(
    "Blade Runner"
)

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-base64
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and tests:

pip install -e '.[test]'

To run the tests:

pytest

Project details


Release history Release notifications | RSS feed

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.

Source Distribution

datasette-base64-0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

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