Skip to main content

Run a secret santa using Datasette

Project description

datasette-secret-santa

PyPI Changelog Tests License

Run a secret santa using Datasette

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-secret-santa

Usage

This plugin requires a database called santa.db. You can run it and create such a database like this:

datasette santa.db --create

It expects to be the only plugin installed, and will take over the / homepage.

To create a new Secret Santa, visit /santa/create_secret_santa.

Development

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

cd datasette-secret-santa
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Project details


Download files

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

Source Distribution

datasette-secret-santa-0.1a0.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

datasette_secret_santa-0.1a0-py3-none-any.whl (18.0 kB view hashes)

Uploaded Python 3

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