Editable user profile pages for Datasette
Project description
datasette-profiles
Editable user profile pages for Datasette
Installation
Install this plugin in the same environment as Datasette.
datasette install datasette-profiles
Usage
Adds the ability for users to view profiles and edit their profile, from options in the main application menu.
Stores data in the internal database, so Datasette needs to be run with the --internal internal.db option.
Plugin hook
This plugin adds a plugin hook: bottom_profile(datasette, request, profile_actor). Other plugins can use this to return HTML to be included at the bottom of the public user profile page - or return an async def function that returns that HTML.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-profiles
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datasette_profiles-0.1a4.tar.gz.
File metadata
- Download URL: datasette_profiles-0.1a4.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0db598544a68b0f83e770a29453d3099d9bc2989e452684d0f7f40f2c95d7264
|
|
| MD5 |
af29d91b0e877527669b375378f1a166
|
|
| BLAKE2b-256 |
afcff4d53b07d23870dcc5ad5cb9a21dd9274636fd995419bbb53ba4e91df92c
|
Provenance
The following attestation bundles were made for datasette_profiles-0.1a4.tar.gz:
Publisher:
publish.yml on datasette/datasette-profiles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_profiles-0.1a4.tar.gz -
Subject digest:
0db598544a68b0f83e770a29453d3099d9bc2989e452684d0f7f40f2c95d7264 - Sigstore transparency entry: 625666297
- Sigstore integration time:
-
Permalink:
datasette/datasette-profiles@2d19f5e2eeb9e640052917c15dce0de448a115c8 -
Branch / Tag:
refs/tags/0.1a4 - Owner: https://github.com/datasette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2d19f5e2eeb9e640052917c15dce0de448a115c8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file datasette_profiles-0.1a4-py3-none-any.whl.
File metadata
- Download URL: datasette_profiles-0.1a4-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff854936e477815665d3c46aea39cf12b89386957316ca6a058142b385d773f1
|
|
| MD5 |
1cd5b625138c31d7dd7b77d3f0fd0075
|
|
| BLAKE2b-256 |
fa276a9bf310d2b9b235e79f5ffe64236fdd18d621e21627e6982bb8318d17ff
|
Provenance
The following attestation bundles were made for datasette_profiles-0.1a4-py3-none-any.whl:
Publisher:
publish.yml on datasette/datasette-profiles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_profiles-0.1a4-py3-none-any.whl -
Subject digest:
ff854936e477815665d3c46aea39cf12b89386957316ca6a058142b385d773f1 - Sigstore transparency entry: 625666335
- Sigstore integration time:
-
Permalink:
datasette/datasette-profiles@2d19f5e2eeb9e640052917c15dce0de448a115c8 -
Branch / Tag:
refs/tags/0.1a4 - Owner: https://github.com/datasette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2d19f5e2eeb9e640052917c15dce0de448a115c8 -
Trigger Event:
release
-
Statement type: