Skip to main content

Debug plugin that lets you imitate any actor

Project description

datasette-unsafe-actor-debug

PyPI Changelog Tests License

Debug plugin that lets you imitate any actor. Only use this for debugging purposes.

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-unsafe-actor-debug

Configuration

You need to set the following plugin configuration to enable this tool:

plugins:
  datasette-unsafe-actor-debug:
    enabled: true

With Datasette 1.0 alpha you can enable it like this:

datasette -s plugins.datasette-unsafe-actor-debug.enabled 1

Usage

This plugin adds a public page at /-/unsafe-actor that lets you sign into Datasette as any actor.

This option will also be available through the Datasette global navigation menu.

Do not enable this tool in production!

Development

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

cd datasette-unsafe-actor-debug
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-unsafe-actor-debug-0.2.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

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