pyvichan


Namepyvichan JSON
Version 0.4.4 PyPI version JSON
download
home_pagehttp://github.com/bibanon/pyvichan
SummaryPython vichan API Wrapper. Based on BASC-py4chan by the Bibliotheca Anonoma
upload_time2024-12-15 18:34:43
maintainerNone
docs_urlNone
authorAntonizoon Overtwater
requires_pythonNone
licenseDO 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.
keywords 8chan api vichan
VCS
bugtrack_url
requirements requests sphinxcontrib-napoleon
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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._

`Hosted Documentation <http://py8chan.readthedocs.org/en/latest/index.html>`_

`Github Repository <https://github.com/bibanon/pyvichan>`_

You can install this library `straight from
PyPi <https://pypi.python.org/pypi/pyvichan>`_ 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 <http://qchat2.rizon.net/?channels=bibanon>`_. Simply head
in there and talk to dan or antonizoon. Otherwise, you can put a issue on our `Github
Issue Tracker <https://github.com/bibanon/pyvichan>`_ and we'll respond as soon as
we can!

--------

Usage
-----

.. code:: python

    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 <https://github.com/bibanon/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 <http://py8chan.readthedocs.org/en/latest/index.html>`_

Notice that some functions are not implemented in the 8chan API. These functions will `raise an AttributeError when used. <http://stackoverflow.com/a/23126260>`_

License
-------

.. code:: text

                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.

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/bibanon/pyvichan",
    "name": "pyvichan",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "8chan api vichan",
    "author": "Antonizoon Overtwater",
    "author_email": "antonizoon@bibanon.org",
    "download_url": "https://files.pythonhosted.org/packages/9b/46/f4bc93b19a709b6900bacba5cc79903e95a5e13278fe7f3dc7e3fddfa1f7/pyvichan-0.4.4.tar.gz",
    "platform": null,
    "description": "Vichan Python Library\n===========================\nThe Bibliotheca Anonoma's **complete Python Wrapper for the Vichan API.**\nUses requests, respects if-modified-since headers on updating threads.\nCaches thread objects. Fun stuff.\n\nAn absolute must if you want to interface with or scrape from 8chan or other vichan-based imageboards/textboards,\nusing a Python script._\n\n`Hosted Documentation <http://py8chan.readthedocs.org/en/latest/index.html>`_\n\n`Github Repository <https://github.com/bibanon/pyvichan>`_\n\nYou can install this library `straight from\nPyPi <https://pypi.python.org/pypi/pyvichan>`_ with::\n\n    pip install pyvichan\n\n\n**Getting Help**\n\nIf you want help, or you have some trouble using this library, our primary IRC channel\nis `#bibanon on irc.rizon.net <http://qchat2.rizon.net/?channels=bibanon>`_. Simply head\nin there and talk to dan or antonizoon. Otherwise, you can put a issue on our `Github\nIssue Tracker <https://github.com/bibanon/pyvichan>`_ and we'll respond as soon as\nwe can!\n\n--------\n\nUsage\n-----\n\n.. code:: python\n\n    import pyvichan\n    v = pyvichan.Board('v', '8kun.top')\n    thread = v.get_thread(16959924)\n\n    print(thread)\n\n    # supports displaying extra files in one post as well!\n    for file in thread.file_objects():\n        print(file.file_url)\n        \n    # In a while...\n    print(\"I fetched\", thread.update(), \"new replies.\")\n\nDocumentation\n-------------\n\nThis library mostly extends the classes of `BASC-py4chan <https://github.com/bibanon/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.\n\n`py8chan Documentation <http://py8chan.readthedocs.org/en/latest/index.html>`_\n\nNotice that some functions are not implemented in the 8chan API. These functions will `raise an AttributeError when used. <http://stackoverflow.com/a/23126260>`_\n\nLicense\n-------\n\n.. code:: text\n\n                DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n                        Version 2, December 2004\n\n     Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>\n\n     Everyone is permitted to copy and distribute verbatim or modified\n     copies of this license document, and changing it is allowed as long\n     as the name is changed.\n\n                DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n       TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n      0. You just DO WHAT THE FUCK YOU WANT TO.\n",
    "bugtrack_url": null,
    "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.  ",
    "summary": "Python vichan API Wrapper. Based on BASC-py4chan by the Bibliotheca Anonoma",
    "version": "0.4.4",
    "project_urls": {
        "Homepage": "http://github.com/bibanon/pyvichan"
    },
    "split_keywords": [
        "8chan",
        "api",
        "vichan"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "507fec9cb036286a13f4554a404e12c7c2a434f4dc20ebc744e1c97f2a6d2622",
                "md5": "cb6cf21e7fd45274268b9bf5c9db3d73",
                "sha256": "3a9a0a515a29f3afbe8456df99ac4d992f88a275763a788030543a8974634aa7"
            },
            "downloads": -1,
            "filename": "pyvichan-0.4.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cb6cf21e7fd45274268b9bf5c9db3d73",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 13869,
            "upload_time": "2024-12-15T18:34:40",
            "upload_time_iso_8601": "2024-12-15T18:34:40.276250Z",
            "url": "https://files.pythonhosted.org/packages/50/7f/ec9cb036286a13f4554a404e12c7c2a434f4dc20ebc744e1c97f2a6d2622/pyvichan-0.4.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b46f4bc93b19a709b6900bacba5cc79903e95a5e13278fe7f3dc7e3fddfa1f7",
                "md5": "4883b8530d1f0eb746924f22d92ea8b0",
                "sha256": "87ff1b456ba2c8379ad26982bd5060d88bddb692de87598181017114357efabc"
            },
            "downloads": -1,
            "filename": "pyvichan-0.4.4.tar.gz",
            "has_sig": false,
            "md5_digest": "4883b8530d1f0eb746924f22d92ea8b0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12883,
            "upload_time": "2024-12-15T18:34:43",
            "upload_time_iso_8601": "2024-12-15T18:34:43.016808Z",
            "url": "https://files.pythonhosted.org/packages/9b/46/f4bc93b19a709b6900bacba5cc79903e95a5e13278fe7f3dc7e3fddfa1f7/pyvichan-0.4.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-15 18:34:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bibanon",
    "github_project": "pyvichan",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "requests",
            "specs": []
        },
        {
            "name": "sphinxcontrib-napoleon",
            "specs": []
        }
    ],
    "lcname": "pyvichan"
}
        
Elapsed time: 0.59209s