Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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}"
    }
  ]
}

Metadata

Release files for feditools 0.1.0a5

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

Source distribution (sdist)

Source distribution for feditools 0.1.0a5
File Size Uploaded Provenance Actions
feditools-0.1.0a5.tar.gz 5.0 kB Without provenance Details for feditools-0.1.0a5.tar.gz

Release files / feditools-0.1.0a5.tar.gz

Download URL feditools-0.1.0a5.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d3f5a2b0cd085b46c980d04cd0bd560c45a61feb4ab748697c531689466ba050
BLAKE2b-256 checksum
How to use checksums
f34392cec2f36e2f07b557a503e5306071bf685f243efcdb2662a910f42c0e87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for feditools 0.1.0a5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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