Skip to main content

sopel-mastodon

A Mastodon plugin for Sopel.

This plugin looks for urls of the form https://host/@user/12345 or https://host/@user@homehost/12345 and then tries to query a Mastodon API at host for details about the toot in question.

Installation

$ pip install sopel-mastodon

Usage

Just send a link to a toot!

<SnoopJ> check out this toot: https://mastodon.social/@Gargron/1
<terribot> [mastodon] @Gargron: «Hello world»

Changes between 0.1.1 and 1.0.0

  • Convert to entry-point plugin (courtesy dgw)
  • Indicate attachments to a toot
  • Use Sopel's built-in long-message truncation features
  • Use as much of an IRC message as possible when summarizing a toot

Changes between 0.1.0 and 0.1.1

  • Relax URL regex so that a list of Mastodon instance hostnames is not required
    • Any URL of the form https://host/@user/12345 or https://host/@user@homeinstance/12345 is considered as a possible Mastodon URL

Metadata

Release files for sopel-mastodon 1.0.0

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

Source distribution (sdist)

Source distribution for sopel-mastodon 1.0.0
File Size Uploaded
sopel-mastodon-1.0.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sopel-mastodon 1.0.0
File Interpreter ABI Platform
sopel_mastodon-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / sopel-mastodon-1.0.0.tar.gz

Download URL sopel-mastodon-1.0.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
37d91b8c86525368bdeb4f17175e00ebef65c2d1772f5d6195c4e90869ab1fda
BLAKE2b-256 checksum
How to use checksums
6e1c966cd50394d598ad7dfd3056dd7b90baa1cd9c7f07e4e7542830c1f77f2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / sopel_mastodon-1.0.0-py3-none-any.whl

Download URL sopel_mastodon-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8cb54c31c69c33f0d2a4f1d5537bfee00c8b43b270175c99736c5a49b2a675d9
BLAKE2b-256 checksum
How to use checksums
f7fb4e30e5cb24bb2b7637e5e69c7deecc62f66c16c84998cd30d49448fe3166
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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