Indieweb-utils

Latest version: v0.9.1

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.9.0

What's Changed

* Add support for polling feeds and retrieving their contents as JSON Feed data with `indieweb_utils.retrieve_feed_contents`.

0.8.0

Added

Development

- `add_footnote_links()` replaces [n] and [^n] links with HTML `<a>` tags that link to each other.
- `reduce_image_size()` abstracts the PIL resize feature to provide an easy utility for image resizing.
- `Paginator` class creates paginated list with generators to navigate through each page in the list.
- `process_salmention()` compares stored and live version of a page to find new and deleted responses. Optionally, Webmentions can be sent to all response URLs that are present on both pages.
- `remove_tracking_parameters()` removes UTM parameters and optionally custom provided parameters from a URL.
- `is_site_url()` checks if a URL is on a specified domain.
- `slugify()` removes all characters in a URL that are not alphanumerics, a period, a dash, or an underscore.
- Added types for Trackback code that did not have complete typing.

0.7.2

[Released without changelog notes. Requires backfilling.]

0.7.1

Added

Development

- `process_trackback` function to process a Trackback request and return a response.
- `SUCCESSFUL_PING` and `ERROR_PING` constants to use in the `process_trackback` function and for use in custom Trackback validation logic.

Fixed

- Fixed import statements for `rsd_trackback_discovery`, `discover_trackback_url`, and `send_trackback` functions so that they can all be imported from the top-level of the library.

0.7.0

Added

Development

- `rsd_discovery` function to find values associated with keys in a [Really Simple Discovery](https://en.wikipedia.org/wiki/Really_Simple_Discovery) file.
- `send_trackback` function to send a Trackback to a specified URL.
- `discover_trackback_url` function to discover the Trackback endpoint for a specified URL.

0.6.2

Development

- `send_webmention` now looks for a message in a `message` key and has a fallback if one cannot be found. This information is returned in the `title` and `description` values in the Webmention response. The message will be blank if one cannot be found.

Fixed

- Fixed a bug where the `send_webmention` function raised an error when trying to retrieve a message from an endpoint.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.