Skip to main content

Webfinger Endpoint Framework for Django

Project description

Webfinger Endpoints

Provides a mini framework for adding in webfinger responses based on package entrypoints.

Installation

Main installation is from installing the view into your URL patterns

# your apps urls.py
from django.contrib import admin
from django.urls import path
from django_webfinger_entrypoint.views import WebfingerView

urlpatterns = [
    path(".well-known/webfinger", WebfingerView.as_view(), name="webfinger"),
    path("admin/", admin.site.urls),
]

Optionally, can add it to INSTALLED_APPS to add a testing command.

# your apps settings.py
INSTALLED_APPS = [
    "django_webfinger_entrypoint",
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.messages",
    "django.contrib.staticfiles",
]
python manage.py webfinger 'acct:example@example.com'

{
  "subject": "acct:example@example.com"
}

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

django_webfinger_entrypoint-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

django_webfinger_entrypoint-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file django_webfinger_entrypoint-0.1.0.tar.gz.

File metadata

  • Download URL: django_webfinger_entrypoint-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for django_webfinger_entrypoint-0.1.0.tar.gz
Algorithm Hash digest
SHA256 56b51c893465c9cd550e3bebc96f6f78c3b7980e936352c01bd22aff092acb58
MD5 961096548a085c9c5ce82ad9d8644cc8
BLAKE2b-256 1b0e26c4570f5d1f79ff308b117315ae490fce1656e0cf63f33a875e2062b3f8

See more details on using hashes here.

File details

Details for the file django_webfinger_entrypoint-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_webfinger_entrypoint-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for django_webfinger_entrypoint-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0262ec57de489b29c93c2cca588f23421316aeca22b0bf2ad4b1a29a8f21c283
MD5 2cd76a4d9424db416435c8186ecc7f39
BLAKE2b-256 1f6626b0e7fe6f6de3aaabaeb9346c539778f291504cefc7b152f53865a23600

See more details on using hashes here.

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