sopel-boorus


Namesopel-boorus JSON
Version 0.1.4 PyPI version JSON
download
home_pageNone
SummaryImage board (booru) plugins for Sopel IRC bots.
upload_time2024-12-12 19:07:28
maintainerNone
docs_urlNone
authorNone
requires_python<4,>=3.8
licenseEFL-2.0
keywords sopel plugin bot irc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # sopel-boorus

Image board (booru) plugins for Sopel IRC bots.

## Installing

Releases are hosted on PyPI, so after installing Sopel, all you need is `pip`:

```shell
$ pip install sopel-boorus
```

[**Depending on your Sopel bot's configuration**][sopel-endis-plugins], you
might need to enable or disable the specific booru plugins ([see
below](#booru-plugins-in-this-collection)) that you want your bot to use. You
can do so with [the `sopel-plugins` command][cli-sopel-plugins], e.g.:

```shell
$ sopel-plugins enable gelbooru
```

[cli-sopel-plugins]: https://sopel.chat/docs/run/cli.html#sopel-plugins
[sopel-endis-plugins]: https://sopel.chat/docs/run/plugin#enabling-or-disabling-plugins

### Booru plugins in this collection

* `danbooru`: Supports Danbooru (https://danbooru.donmai.us) links & searches
* `gelbooru`: Supports Gelbooru (https://gelbooru.com) links & searches

### Installation requirements

The `sopel-boorus` package is written with Python 3 and Sopel 8.0+ in mind.
Installation on Python 2, or usage with Sopel 7.x, is not supported.

## Using

### `danbooru`

**Note: Danbooru strictly limits search capabilities for anonymous users,**
making this plugin more useful for link handling than searching, though it will
be able to handle a tag or two just fine if you want a random pic.

Commands: `.danb` or `.danbooru` to search for a random post by tag(s)

Links: Handles post links, e.g. `https://danbooru.donmai.us/posts/<post_id>`

### `gelbooru`

Commands: `.gelb` or `.gelbooru` to search for a random post by tag(s)

Links: Handles post links, e.g.
`https://gelbooru.com/index.php?page=post&s=view&id=<post_id>`

## Changelog

### 0.1.4

Fixed:
* Danbooru search handling was broken ([#10][])

[#10]: https://github.com/dgw/sopel-boorus/pull/10


### 0.1.3

Fixed:
* URL pattern for `danbooru` became *too* strict ([#9][])

[#9]: https://github.com/dgw/sopel-boorus/pull/9


### 0.1.2

Changed:
* URL patterns are stricter ([#8][])

Fixed:
* Unescape HTML entities in tag names ([#7][])
* Corrected post rating colors ([#3][])

[#3]: https://github.com/dgw/sopel-boorus/pull/3
[#7]: https://github.com/dgw/sopel-boorus/pull/7
[#8]: https://github.com/dgw/sopel-boorus/pull/8


### 0.1.1

Fixed:
* Handle more error cases ([#1][])

[#1]: https://github.com/dgw/sopel-boorus/pull/1


### 0.1.0

First release of `sopel-boorus` plugin collection.

Launch plugins are `danbooru` and `gelbooru`.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "sopel-boorus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": null,
    "keywords": "sopel, plugin, bot, irc",
    "author": null,
    "author_email": "dgw <dgw@technobabbl.es>",
    "download_url": "https://files.pythonhosted.org/packages/06/d5/f40b60445e1cb934a55c0fc59f106cb8aae15d665de9d123d36f4bf8ea96/sopel_boorus-0.1.4.tar.gz",
    "platform": "Linux x86, x86-64",
    "description": "# sopel-boorus\n\nImage board (booru) plugins for Sopel IRC bots.\n\n## Installing\n\nReleases are hosted on PyPI, so after installing Sopel, all you need is `pip`:\n\n```shell\n$ pip install sopel-boorus\n```\n\n[**Depending on your Sopel bot's configuration**][sopel-endis-plugins], you\nmight need to enable or disable the specific booru plugins ([see\nbelow](#booru-plugins-in-this-collection)) that you want your bot to use. You\ncan do so with [the `sopel-plugins` command][cli-sopel-plugins], e.g.:\n\n```shell\n$ sopel-plugins enable gelbooru\n```\n\n[cli-sopel-plugins]: https://sopel.chat/docs/run/cli.html#sopel-plugins\n[sopel-endis-plugins]: https://sopel.chat/docs/run/plugin#enabling-or-disabling-plugins\n\n### Booru plugins in this collection\n\n* `danbooru`: Supports Danbooru (https://danbooru.donmai.us) links & searches\n* `gelbooru`: Supports Gelbooru (https://gelbooru.com) links & searches\n\n### Installation requirements\n\nThe `sopel-boorus` package is written with Python 3 and Sopel 8.0+ in mind.\nInstallation on Python 2, or usage with Sopel 7.x, is not supported.\n\n## Using\n\n### `danbooru`\n\n**Note: Danbooru strictly limits search capabilities for anonymous users,**\nmaking this plugin more useful for link handling than searching, though it will\nbe able to handle a tag or two just fine if you want a random pic.\n\nCommands: `.danb` or `.danbooru` to search for a random post by tag(s)\n\nLinks: Handles post links, e.g. `https://danbooru.donmai.us/posts/<post_id>`\n\n### `gelbooru`\n\nCommands: `.gelb` or `.gelbooru` to search for a random post by tag(s)\n\nLinks: Handles post links, e.g.\n`https://gelbooru.com/index.php?page=post&s=view&id=<post_id>`\n\n## Changelog\n\n### 0.1.4\n\nFixed:\n* Danbooru search handling was broken ([#10][])\n\n[#10]: https://github.com/dgw/sopel-boorus/pull/10\n\n\n### 0.1.3\n\nFixed:\n* URL pattern for `danbooru` became *too* strict ([#9][])\n\n[#9]: https://github.com/dgw/sopel-boorus/pull/9\n\n\n### 0.1.2\n\nChanged:\n* URL patterns are stricter ([#8][])\n\nFixed:\n* Unescape HTML entities in tag names ([#7][])\n* Corrected post rating colors ([#3][])\n\n[#3]: https://github.com/dgw/sopel-boorus/pull/3\n[#7]: https://github.com/dgw/sopel-boorus/pull/7\n[#8]: https://github.com/dgw/sopel-boorus/pull/8\n\n\n### 0.1.1\n\nFixed:\n* Handle more error cases ([#1][])\n\n[#1]: https://github.com/dgw/sopel-boorus/pull/1\n\n\n### 0.1.0\n\nFirst release of `sopel-boorus` plugin collection.\n\nLaunch plugins are `danbooru` and `gelbooru`.\n",
    "bugtrack_url": null,
    "license": "EFL-2.0",
    "summary": "Image board (booru) plugins for Sopel IRC bots.",
    "version": "0.1.4",
    "project_urls": {
        "Bug Tracker": "https://github.com/dgw/sopel-boorus/issues",
        "Homepage": "https://github.com/dgw/sopel-boorus"
    },
    "split_keywords": [
        "sopel",
        " plugin",
        " bot",
        " irc"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6d689a01a4db8d1c588d515c13749fb4fb93f861f3fa71ddfe55ffef15e83661",
                "md5": "b2b3cd8e035c786db927bedbe7571ea1",
                "sha256": "be8859d40a86bb6444aebc4c891b643ec1ddd4c200ca25aaa5a314d0b5913e97"
            },
            "downloads": -1,
            "filename": "sopel_boorus-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b2b3cd8e035c786db927bedbe7571ea1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 12350,
            "upload_time": "2024-12-12T19:07:26",
            "upload_time_iso_8601": "2024-12-12T19:07:26.093592Z",
            "url": "https://files.pythonhosted.org/packages/6d/68/9a01a4db8d1c588d515c13749fb4fb93f861f3fa71ddfe55ffef15e83661/sopel_boorus-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "06d5f40b60445e1cb934a55c0fc59f106cb8aae15d665de9d123d36f4bf8ea96",
                "md5": "b8b35393b809963456534101a3f52954",
                "sha256": "8f50644bc02ce72fbc765967043b9c3e308f2fe0d758901226fcc934b9948f95"
            },
            "downloads": -1,
            "filename": "sopel_boorus-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "b8b35393b809963456534101a3f52954",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.8",
            "size": 9748,
            "upload_time": "2024-12-12T19:07:28",
            "upload_time_iso_8601": "2024-12-12T19:07:28.158905Z",
            "url": "https://files.pythonhosted.org/packages/06/d5/f40b60445e1cb934a55c0fc59f106cb8aae15d665de9d123d36f4bf8ea96/sopel_boorus-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-12 19:07:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dgw",
    "github_project": "sopel-boorus",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sopel-boorus"
}
        
Elapsed time: 0.41783s