Skip to main content

Editable user profile pages for Datasette

Project description

datasette-profiles

PyPI Changelog Tests License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasette_profiles-0.1a2.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_profiles-0.1a2-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file datasette_profiles-0.1a2.tar.gz.

File metadata

  • Download URL: datasette_profiles-0.1a2.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for datasette_profiles-0.1a2.tar.gz
Algorithm Hash digest
SHA256 9aacc612f0830bf44c2c0519f6d4c0e214edc95437335c696e519c4c8d462f29
MD5 4e988a8892d14e9c1ba7d2abb12b1d57
BLAKE2b-256 2bea6863d612a6f2820d94b305a2e56fe5b0f490f67db81ed29f4b7533151bb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_profiles-0.1a2.tar.gz:

Publisher: publish.yml on datasette/datasette-profiles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datasette_profiles-0.1a2-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_profiles-0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f3f7b836c510e4a10fb45b1026cfbec522ea2772cebaceeffcf8d5ff48dc709
MD5 cae560bc0e62cd36042cbd155554cc66
BLAKE2b-256 0a52a9f5133bc9501d8c830f92dbf27f0a4f725f303dfe2e31a1d00fe6e47613

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_profiles-0.1a2-py3-none-any.whl:

Publisher: publish.yml on datasette/datasette-profiles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page