Skip to main content

Tweakers

Build codecov PyPI PyPI - Python Version

A Python wrapper for tweakers.net

Install

pip install tweakers

Usage

import tweakers

Gathering

With the tweakers.gathering module you can access the forum.

Active topics

for topic in tweakers.gathering.active_topics():
    print(topic.title)
for topic in tweakers.gathering.search('tweakers.net'):
    print(topic.title)

Topic

Get comments for a specific topic

topic = Topic("https://gathering.tweakers.net/forum/list_messages/1551828")
for comment in topic.comments(page=1):
    print(comment.user.name, comment.text)

Generate new comments as they are added

for comment in topic.comment_stream():
    print(comment.user.name, comment.text)

Login

tweakers.login("YOUR_USERNAME", "YOUR_PASSWORD")

Now you can access pages that are unavailable for logged out users:

for topic in tweakers.gathering.bookmarks():
    print(topic.name)

Metadata

Release files for tweakers 0.4.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 tweakers 0.4.0
File Size Uploaded Provenance Actions
tweakers-0.4.0.tar.gz 7.0 kB Without provenance Details for tweakers-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 16.2 kB

Release files / tweakers-0.4.0.tar.gz

Download URL tweakers-0.4.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2cdb2c4cdde6d5cb84ddb909d0a873008036ac598797797b8b326e2ce12f8611
BLAKE2b-256 checksum
How to use checksums
c1256f9f2af5e5deb7d3b11c7ec77e9671c39170ffbbea007b93b7d03ed444d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / tweakers-0.4.0-py3-none-any.whl

Download URL tweakers-0.4.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42b5e23bfce704bf5cade8f877a92a0077bef972bcebaacaba6d4b8ca088d990
BLAKE2b-256 checksum
How to use checksums
50b13dfd2bcd9b594dedb65cfc6aed5d1cc107f335cc995436caa0824cc0c29f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Security for tweakers 0.4.0

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