datasette-unsafe-actor-debug


Namedatasette-unsafe-actor-debug JSON
Version 0.2 PyPI version JSON
download
home_page
SummaryDebug plugin that lets you imitate any actor
upload_time2024-02-18 20:21:44
maintainer
docs_urlNone
authorSimon Willison
requires_python>=3.8
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # datasette-unsafe-actor-debug

[![PyPI](https://img.shields.io/pypi/v/datasette-unsafe-actor-debug.svg)](https://pypi.org/project/datasette-unsafe-actor-debug/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-unsafe-actor-debug?include_prereleases&label=changelog)](https://github.com/datasette/datasette-unsafe-actor-debug/releases)
[![Tests](https://github.com/datasette/datasette-unsafe-actor-debug/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-unsafe-actor-debug/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-unsafe-actor-debug/blob/main/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.
```bash
datasette install datasette-unsafe-actor-debug
```
## Configuration

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

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

With Datasette 1.0 alpha you can enable it like this:
```bash
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:
```bash
cd datasette-unsafe-actor-debug
python3 -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
pytest
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "datasette-unsafe-actor-debug",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Simon Willison",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/36/21/b421c76f35e6bae959f85898fcf142326c88a92e6ddc5982ce97e9a5bc7f/datasette-unsafe-actor-debug-0.2.tar.gz",
    "platform": null,
    "description": "# datasette-unsafe-actor-debug\n\n[![PyPI](https://img.shields.io/pypi/v/datasette-unsafe-actor-debug.svg)](https://pypi.org/project/datasette-unsafe-actor-debug/)\n[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-unsafe-actor-debug?include_prereleases&label=changelog)](https://github.com/datasette/datasette-unsafe-actor-debug/releases)\n[![Tests](https://github.com/datasette/datasette-unsafe-actor-debug/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-unsafe-actor-debug/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-unsafe-actor-debug/blob/main/LICENSE)\n\nDebug plugin that lets you imitate any actor. **Only use this for debugging purposes.**\n\n## Installation\n\nInstall this plugin in the same environment as Datasette.\n```bash\ndatasette install datasette-unsafe-actor-debug\n```\n## Configuration\n\nYou need to set the following plugin configuration to enable this tool:\n\n```yaml\nplugins:\n  datasette-unsafe-actor-debug:\n    enabled: true\n```\n\nWith Datasette 1.0 alpha you can enable it like this:\n```bash\ndatasette -s plugins.datasette-unsafe-actor-debug.enabled 1\n```\n\n## Usage\n\nThis plugin adds a public page at `/-/unsafe-actor` that lets you sign into Datasette as _any_ actor.\n\nThis option will also be available through the Datasette global navigation menu.\n\n**Do not enable this tool in production!**\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd datasette-unsafe-actor-debug\npython3 -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\npip install -e '.[test]'\n```\nTo run the tests:\n```bash\npytest\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Debug plugin that lets you imitate any actor",
    "version": "0.2",
    "project_urls": {
        "CI": "https://github.com/datasette/datasette-unsafe-actor-debug/actions",
        "Changelog": "https://github.com/datasette/datasette-unsafe-actor-debug/releases",
        "Homepage": "https://github.com/datasette/datasette-unsafe-actor-debug",
        "Issues": "https://github.com/datasette/datasette-unsafe-actor-debug/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e338f91738fb1253e80bc18414c2d29b117dda5eb487a58d873649d9a26ee24",
                "md5": "5fea1c92a411aa75d9429ed6ccc6bde0",
                "sha256": "80dde125700265929f82db2a099ff0842c4ea6f5b778739fff99a9eaf3a00309"
            },
            "downloads": -1,
            "filename": "datasette_unsafe_actor_debug-0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5fea1c92a411aa75d9429ed6ccc6bde0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7975,
            "upload_time": "2024-02-18T20:21:26",
            "upload_time_iso_8601": "2024-02-18T20:21:26.381711Z",
            "url": "https://files.pythonhosted.org/packages/0e/33/8f91738fb1253e80bc18414c2d29b117dda5eb487a58d873649d9a26ee24/datasette_unsafe_actor_debug-0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3621b421c76f35e6bae959f85898fcf142326c88a92e6ddc5982ce97e9a5bc7f",
                "md5": "28d2f2817de64504b59f8061cdaff6ef",
                "sha256": "ae7e44c0ea46f0ddf770347754418682c302068154a95b564ffef584048a265a"
            },
            "downloads": -1,
            "filename": "datasette-unsafe-actor-debug-0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "28d2f2817de64504b59f8061cdaff6ef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7567,
            "upload_time": "2024-02-18T20:21:44",
            "upload_time_iso_8601": "2024-02-18T20:21:44.238649Z",
            "url": "https://files.pythonhosted.org/packages/36/21/b421c76f35e6bae959f85898fcf142326c88a92e6ddc5982ce97e9a5bc7f/datasette-unsafe-actor-debug-0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-18 20:21:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "datasette",
    "github_project": "datasette-unsafe-actor-debug",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "datasette-unsafe-actor-debug"
}
        
Elapsed time: 0.69130s