Registry / http-networking / webfinger

webfinger

JSON →
library1.0pypypi✓ verified 85d ago

Simple Python implementation of the WebFinger client protocol (RFC 7033). Version 1.0 is the current stable release. No update since 2012.

pip install webfinger
INSTALL
IMPORT
SIG · WEBFINGER
W
webfinger
http-networkingpythonv1.0
Install
3.1s avg
Import
19ms
Disk
20MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.018s · 22.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.1s · import 0.020s · 23MB
20MB installed
● package 20MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

webfinger
import webfinger
from webfinger import webfinger
The library is a single module; the function is webfinger.webfinger().

Look up a user's WebFinger resource.

import webfinger resource = 'acct:user@example.com' result = webfinger.webfinger(resource) print(result)
Debug
Known issues
gotchaThe module name and the only public function are both 'webfinger' — import webfinger then call webfinger.webfinger().
fix
Use 'import webfinger' and 'webfinger.webfinger()'.
affects: 1.0
deprecatedThe library uses the legacy XRD/XML format in addition to JSON. Some modern servers may return only JSON.
fix
Ensure your server supports both or handle JSON-only responses manually.
affects: 1.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'webfinger'
The package is not installed.
fix
Run 'pip install webfinger'.
TypeError: webfinger() got an unexpected keyword argument 'ssl_verify'
The library does not support custom SSL verification. Pass host directly without ssl_verify parameter.
fix
Use webfinger.webfinger(resource, host='example.com') instead of ssl_verify.
Upgrade
Version history
1.0latest on PyPI · released Nov 2, 2013
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
OpenAI (training)
1
Resources
webfinger — pip install webfinger · libregistry