Skip to content

A datasette plugin that adds base64 decoder and encoder SQL functions

License

Notifications You must be signed in to change notification settings

alberto-salinas/datasette-base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A datasette plugin that adds base64 decoder and encoder SQL functions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages