Skip to main content

The Bibliotheca Anonoma’s complete Python Wrapper for the Vichan API. Uses requests, respects if-modified-since headers on updating threads. Caches thread objects. Fun stuff.

An absolute must if you want to interface with or scrape from 8chan or other vichan-based imageboards/textboards, using a Python script._

Hosted Documentation

Github Repository

You can install this library straight from PyPi with:

pip install pyvichan

Getting Help

If you want help, or you have some trouble using this library, our primary IRC channel is #bibanon on irc.rizon.net. Simply head in there and talk to dan or antonizoon. Otherwise, you can put a issue on our Github Issue Tracker and we’ll respond as soon as we can!


Usage

import pyvichan
v = pyvichan.Board('v', '8kun.top')
thread = v.get_thread(16959924)

print(thread)

# supports displaying extra files in one post as well!
for file in thread.file_objects():
    print(file.file_url)

# In a while...
print("I fetched", thread.update(), "new replies.")

Documentation

This library mostly extends the classes of BASC-py4chan, but has some differences. There are some, but few diffrerences between py8chan and pyvichan. For now, refer to the py8chan documentation for more info.

py8chan Documentation

Notice that some functions are not implemented in the 8chan API. These functions will raise an AttributeError when used.

License

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                   Version 2, December 2004

Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

 0. You just DO WHAT THE FUCK YOU WANT TO.

Metadata

Release files for pyvichan 0.4.4

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

Source distribution (sdist)

Source distribution for pyvichan 0.4.4
File Size Uploaded
pyvichan-0.4.4.tar.gz 12.9 kB Details

Built distribution (wheel)

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

Total release size: 26.8 kB

Release files / pyvichan-0.4.4.tar.gz

Download URL pyvichan-0.4.4.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
87ff1b456ba2c8379ad26982bd5060d88bddb692de87598181017114357efabc
BLAKE2b-256 checksum
How to use checksums
9b46f4bc93b19a709b6900bacba5cc79903e95a5e13278fe7f3dc7e3fddfa1f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.2

Release files / pyvichan-0.4.4-py3-none-any.whl

Download URL pyvichan-0.4.4-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a9a0a515a29f3afbe8456df99ac4d992f88a275763a788030543a8974634aa7
BLAKE2b-256 checksum
How to use checksums
507fec9cb036286a13f4554a404e12c7c2a434f4dc20ebc744e1c97f2a6d2622
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.4.4 This release

2 release files

0.4.3

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