Skip to main content

PyPeertube

Python module to interact with a Peertube instance's API.

Example

Search for videos tagged animal or dog and containing puppy in the title or description, printing the video's title and link of each result.

from pypeertube.client import ApiClient
from pypeertube.videos import search_videos

PEERTUBE_URL = "https://my.peertube.tld"
PEERTUBE_USERNAME = "my_username"
PEERTUBE_PASSWORD = "my_password"
SEARCH_STRING = "Puppy"
SEARCH_TAGS = ["animal", "dog"]

with ApiClient(PEERTUBE_URL, PEERTUBE_USERNAME, PEERTUBE_PASSWORD) as client:
    for video in search_videos(client, SEARCH_STRING, tags_or=SEARCH_TAGS):
        print(f"{video.name}: {client.base_url}/w/{video.short_uuid}")

Metadata

Release files for pypeertube 1.1.1

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

Source distribution (sdist)

Source distribution for pypeertube 1.1.1
File Size Uploaded
pypeertube-1.1.1.tar.gz 26.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pypeertube 1.1.1
File Interpreter ABI Platform
pypeertube-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 55.2 kB

Release files / pypeertube-1.1.1.tar.gz

Download URL pypeertube-1.1.1.tar.gz
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d7867085a47168db925617ec2c67e8f2b9abf193347f4dded1a5ab8af38c14eb
BLAKE2b-256 checksum
How to use checksums
187a6206357f6c1efd4b2700fb9fdef7aa0c1f1419708b420262a27952d65564
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 30, 2026.

Transparency log

Release files / pypeertube-1.1.1-py3-none-any.whl

Download URL pypeertube-1.1.1-py3-none-any.whl
Size 28.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a23b3d1a3884f09ef36120e68739c8d54815de89710c0975e354e890c5bd0d35
BLAKE2b-256 checksum
How to use checksums
a2335ebef12478a9c04f6c7edc9d83b200876b40524d9bdbb5e0e49277c1c73e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.1

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