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 details)

Uploaded Source

File details

Details for the file datasette-base64-0.1.tar.gz.

File metadata

  • Download URL: datasette-base64-0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.10

File hashes

Hashes for datasette-base64-0.1.tar.gz
Algorithm Hash digest
SHA256 2a9270067735156b054a741ec529fa258d63092f8b782eb26bb13eee85098ddd
MD5 c3b55b041ed3ad3f91a00e3bda0092ce
BLAKE2b-256 4710b8f93f26ea2c278928438d4564744844f9f233d6c00df740448fa5e5321c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page