Debug plugin that lets you imitate any actor
Project description
datasette-unsafe-actor-debug
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for datasette-unsafe-actor-debug-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7e44c0ea46f0ddf770347754418682c302068154a95b564ffef584048a265a |
|
MD5 | 28d2f2817de64504b59f8061cdaff6ef |
|
BLAKE2b-256 | 3621b421c76f35e6bae959f85898fcf142326c88a92e6ddc5982ce97e9a5bc7f |
Hashes for datasette_unsafe_actor_debug-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80dde125700265929f82db2a099ff0842c4ea6f5b778739fff99a9eaf3a00309 |
|
MD5 | 5fea1c92a411aa75d9429ed6ccc6bde0 |
|
BLAKE2b-256 | 0e338f91738fb1253e80bc18414c2d29b117dda5eb487a58d873649d9a26ee24 |