Name | datasette-visible-internal-db JSON |
Version |
0.1.1
JSON |
| download |
home_page | |
Summary | Datasette plugin for making the internal database visible for debugging |
upload_time | 2023-08-30 22:50:18 |
maintainer | |
docs_url | None |
author | Simon Willison |
requires_python | |
license | Apache-2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# datasette-visible-internal-db
[![PyPI](https://img.shields.io/pypi/v/datasette-visible-internal-db.svg)](https://pypi.org/project/datasette-visible-internal-db/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-visible-internal-db?include_prereleases&label=changelog)](https://github.com/datasette/datasette-visible-internal-db/releases)
[![Tests](https://github.com/datasette/datasette-visible-internal-db/workflows/Test/badge.svg)](https://github.com/datasette/datasette-visible-internal-db/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-visible-internal-db/blob/main/LICENSE)
Datasette plugin for making the internal database visible for debugging
Datasette 1.0a5 made [the internal database](https://docs.datasette.io/en/1.0a5/internals.html#datasette-s-internal-database) no longer visible through the Datasette interface.
This plugin brings it back, for debugging purposes.
## Installation
Install this plugin in the same environment as Datasette.
```bash
datasette install datasette-visible-internal-db
```
The internal database will now be publicly visible at `/_internal` in your Datasette instance.
## Controlling access to the internal database
You can use Datasette's [permissions mechanism](https://docs.datasette.io/en/stable/authentication.html#permissions) to control who is allowed to interact with the internal database.
To restrict access to just the `root` actor, drop this into your configuration:
```yaml
databases:
_internal:
allow:
id: root
```
Raw data
{
"_id": null,
"home_page": "",
"name": "datasette-visible-internal-db",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Simon Willison",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/62/0d/7316e1bc5926788d2126c8dd0fc9b242b2873aa152591d39460548c4673e/datasette-visible-internal-db-0.1.1.tar.gz",
"platform": null,
"description": "# datasette-visible-internal-db\n\n[![PyPI](https://img.shields.io/pypi/v/datasette-visible-internal-db.svg)](https://pypi.org/project/datasette-visible-internal-db/)\n[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-visible-internal-db?include_prereleases&label=changelog)](https://github.com/datasette/datasette-visible-internal-db/releases)\n[![Tests](https://github.com/datasette/datasette-visible-internal-db/workflows/Test/badge.svg)](https://github.com/datasette/datasette-visible-internal-db/actions?query=workflow%3ATest)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-visible-internal-db/blob/main/LICENSE)\n\nDatasette plugin for making the internal database visible for debugging\n\nDatasette 1.0a5 made [the internal database](https://docs.datasette.io/en/1.0a5/internals.html#datasette-s-internal-database) no longer visible through the Datasette interface.\n\nThis plugin brings it back, for debugging purposes.\n\n## Installation\n\nInstall this plugin in the same environment as Datasette.\n```bash\ndatasette install datasette-visible-internal-db\n```\n\nThe internal database will now be publicly visible at `/_internal` in your Datasette instance.\n\n## Controlling access to the internal database\n\nYou can use Datasette's [permissions mechanism](https://docs.datasette.io/en/stable/authentication.html#permissions) to control who is allowed to interact with the internal database.\n\nTo restrict access to just the `root` actor, drop this into your configuration:\n\n```yaml\ndatabases:\n _internal:\n allow:\n id: root\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Datasette plugin for making the internal database visible for debugging",
"version": "0.1.1",
"project_urls": {
"CI": "https://github.com/datasette/datasette-visible-internal-db/actions",
"Changelog": "https://github.com/datasette/datasette-visible-internal-db/releases",
"Homepage": "https://github.com/datasette/datasette-visible-internal-db",
"Issues": "https://github.com/datasette/datasette-visible-internal-db/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "09c15d0b4642c2c3bda8309f16e963bdbb59bf75bb1a52f8ebc42ad58770a771",
"md5": "7ca0725f491eeecf247babd4366db379",
"sha256": "840ebd9b84b28f6e263e226209aa229d63dd138a00b5a20a5d19ec3b7d42f094"
},
"downloads": -1,
"filename": "datasette_visible_internal_db-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7ca0725f491eeecf247babd4366db379",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2577,
"upload_time": "2023-08-30T22:50:17",
"upload_time_iso_8601": "2023-08-30T22:50:17.189003Z",
"url": "https://files.pythonhosted.org/packages/09/c1/5d0b4642c2c3bda8309f16e963bdbb59bf75bb1a52f8ebc42ad58770a771/datasette_visible_internal_db-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "620d7316e1bc5926788d2126c8dd0fc9b242b2873aa152591d39460548c4673e",
"md5": "c895c0a46f2e35de8c38aefee63b13a3",
"sha256": "13e28fb0a996a47c37e5c727abc514d4edc618b5dabcfd05047585a4fe63c83f"
},
"downloads": -1,
"filename": "datasette-visible-internal-db-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "c895c0a46f2e35de8c38aefee63b13a3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2316,
"upload_time": "2023-08-30T22:50:18",
"upload_time_iso_8601": "2023-08-30T22:50:18.528747Z",
"url": "https://files.pythonhosted.org/packages/62/0d/7316e1bc5926788d2126c8dd0fc9b242b2873aa152591d39460548c4673e/datasette-visible-internal-db-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-30 22:50:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "datasette",
"github_project": "datasette-visible-internal-db",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "datasette-visible-internal-db"
}