Skip to main content

Python tools for the Fediverse.

Project description

feditools

Python tools for the Fediverse.

Installation

Install the latest stable version

No stable versions are yet available.

Install the latest experimental version

$ pip install --pre feditools

Usage

NodeInfo

$ python -m feditools.nodeinfo mastodon.social
{
  "version": "2.0",
  "software": {
    "name": "mastodon",
    "version": "4.0.2"
  },
  "protocols": [
    "activitypub"
  ],
  "services": {
    "outbound": [],
    "inbound": []
  },
  "openRegistrations": false,
  "usage": {
    "users": {
      "total": 879403,
      "activeMonth": 245520,
      "activeHalfyear": 422601
    },
    "localPosts": 42641202
  },
  "metadata": {}
}

WebFinger

$ python -m feditools.webfinger soundbyte.social nigel
{
  "subject": "acct:nigel@soundbyte.social",
  "aliases": [
    "https://soundbyte.social/@nigel",
    "https://soundbyte.social/users/nigel"
  ],
  "links": [
    {
      "rel": "http://webfinger.net/rel/profile-page",
      "type": "text/html",
      "href": "https://soundbyte.social/@nigel"
    },
    {
      "rel": "self",
      "type": "application/activity+json",
      "href": "https://soundbyte.social/users/nigel"
    },
    {
      "rel": "http://ostatus.org/schema/1.0/subscribe",
      "template": "https://soundbyte.social/authorize_interaction?uri={uri}"
    }
  ]
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

feditools-0.1.0a5.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file feditools-0.1.0a5.tar.gz.

File metadata

  • Download URL: feditools-0.1.0a5.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for feditools-0.1.0a5.tar.gz
Algorithm Hash digest
SHA256 d3f5a2b0cd085b46c980d04cd0bd560c45a61feb4ab748697c531689466ba050
MD5 9cb837461e321dcfa51156f9d17475d3
BLAKE2b-256 f34392cec2f36e2f07b557a503e5306071bf685f243efcdb2662a910f42c0e87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page