Skip to main content

Compatible with XRD 1.0 (execpt XRD Signature and XRDS) http://docs.oasis-open.org/xrd/xrd/v1.0/xrd-1.0.html

Outstanding issues:

  • support ds:Signature

  • support XRDS

  • parsing of Expires date stamp from XML

  • more tests are needed

Basic usage:

from xrd import XRD, Link

lnk = Link(rel='http://spec.example.net/photo/1.0',
           type='image/jpeg',
           href='http://photos.example.com/gpburdell.jpg')
lnk.titles.append(('User Photo', 'en'))
lnk.titles.append(('Benutzerfoto', 'de'))
lnk.properties.append(('http://spec.example.net/created/1.0', '1970-01-01'))

xrd = XRD(subject=http://example.com/gpburdell)
xrd.properties.append('http://spec.example.net/type/person')
xrd.links.append(lnk)

xrd.to_xml()

Release files for python-xrd 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-xrd 0.1
File Size Uploaded
python-xrd-0.1.tar.gz 5.3 kB Details

Release files / python-xrd-0.1.tar.gz

Download URL python-xrd-0.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
487fe569a394615ff9e8596b6ca5388b16fdfe4a22be168fe0901edd13a8787b
BLAKE2b-256 checksum
How to use checksums
f5955865ab34ed5980d41ca5cdbd4ee10781dd71cb37ab44a10a11b525670e2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page