Welcome to IndieWeb Utils documentation!
indieweb-utils is a Python library that provides building blocks for people implementing IndieWeb applications. This library also contains implementations for some specifications that may be useful in IndieWeb applications.
To install IndieWeb Utils, use this command:
pip3 install indieweb-utils
You can import the package using the following line of code:
import indieweb_utils
Below, you will find links to all of the methods available in IndieWeb Utils.
This project is licensed under an MIT license.
Contents
- Discovery
- URLs
- Generate Reply Context
- Generate a URL Summary
- IndieAuth Features
- Get application scope reference
- Discover IndieAuth endpoints
- Get a h-app object
- Get a profile response object
- Retrieve Valid Links for Use in RelMeAuth
- IndieAuth Endpoint Scaffolding
- Webmention
- Trackbacks
- Really Simple Discovery (RSD)
- Content Utilities
- Salmention Features
- Paginating a list of posts
- Images
- Changelog
- [0.8.0] - 2023-03-09
- [0.7.2] - 2023-03-02
- [0.7.1] - 2023-03-02
- [0.7.0] - 2023-03-01
- [0.6.2] - 2022-10-21
Feature Set
This package provides functions that cater to the following needs:
Generating reply context for a given page.
Finding the original version of a post per the Original Post Discovery specification.
Finding the post type per the Post Type Discovery W3C note.
Finding the webmention endpoint on a page, if one is provided.
Canonicalizing a URL.
Discovering the author of a post per the Authorship Specification.
Handling the response from an IndieAuth callback request.
If any of the above use cases resonate with you, this library may be helpful. Please note this library does not fully implement all IndieWeb specifications.
Rather, this library provides a set of building blocks that you can use to speed up your development of IndieWeb applications.
Here are a few of the many applications that may benefit from the functions provided in this library:
Micropub server.
Microsub server.
Webmention sender.
Any application that needs to canonicalize a URL.
An application implementing IndieAuth authentication.