Vichan Python Library
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._
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.
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyvichan-0.4.4.tar.gz | 12.9 kB | Without provenance | Details for pyvichan-0.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyvichan-0.4.4-py3-none-any.whl | Python 3 | none | any | Details for pyvichan-0.4.4-py3-none-any.whl |
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
|
Security for pyvichan 0.4.4
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.