Name | sopel-amputator JSON |
Version |
0.2.1
JSON |
| download |
home_page | None |
Summary | Sopel plugin that detects AMP links and finds their canonical forms using AmputatorBot |
upload_time | 2024-05-16 21:15:13 |
maintainer | None |
docs_url | None |
author | None |
requires_python | <4,>=3.8 |
license | EFL-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-amputator
Sopel plugin that detects AMP links and finds their canonical forms using
[AmputatorBot](https://www.amputatorbot.com/)
## Installing
Releases are hosted on PyPI, so after installing Sopel, all you need is `pip`:
```shell
$ pip install sopel-amputator
```
## Configuring
The easiest way to configure `sopel-amputator` is via Sopel's
configuration wizard—simply run `sopel-plugins configure amputator`
and enter the values for which it prompts you.
Individual settings are described below.
### `ignore_domains`
This is a list of hostnames which `sopel-amputator` will ignore, even if they
match one of the common AMP substrings it looks for. By default it contains a
set of ignored domains from the AmputatorBot project.
Setting this value _overrides_ the default, so make sure to also enter any
entries that you would like to keep from the default list.
## Changelog
### 0.2.1
* Added Twitter/X domains to default ignore list
### 0.2.0
Under-the-hood improvements:
* More robust domain matching against ignore list
* Includes distinct log messages for exact matches vs. subdomain matches
* More granular error handling
* Better error logging
* Migrated package metadata from `setup.py`+`setup.cfg` to `pyproject.toml`
### 0.1.0
Initial release.
Pending conversion from `setup.py`+`setup.cfg` template to newer style package
using `pyproject.toml`—plus some other features on the todo list—but the basics
are here:
* Detect likely AMP links
* Call AmputatorBot API for the canonical URL of each suspected AMP link
* Skip links from a configurable list of ignored domains
* Silently fail if no better URL is found
Raw data
{
"_id": null,
"home_page": null,
"name": "sopel-amputator",
"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/d6/52/8e215077ee8f6841874abdc0cda3a6faba96774faea5ab1ce2410b0e4ca8/sopel_amputator-0.2.1.tar.gz",
"platform": "Linux x86, x86-64",
"description": "# sopel-amputator\n\nSopel plugin that detects AMP links and finds their canonical forms using\n[AmputatorBot](https://www.amputatorbot.com/)\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-amputator\n```\n\n## Configuring\n\nThe easiest way to configure `sopel-amputator` is via Sopel's\nconfiguration wizard\u2014simply run `sopel-plugins configure amputator`\nand enter the values for which it prompts you.\n\nIndividual settings are described below.\n\n### `ignore_domains`\n\nThis is a list of hostnames which `sopel-amputator` will ignore, even if they\nmatch one of the common AMP substrings it looks for. By default it contains a\nset of ignored domains from the AmputatorBot project.\n\nSetting this value _overrides_ the default, so make sure to also enter any\nentries that you would like to keep from the default list.\n\n## Changelog\n\n### 0.2.1\n\n* Added Twitter/X domains to default ignore list\n\n\n### 0.2.0\n\nUnder-the-hood improvements:\n\n* More robust domain matching against ignore list\n * Includes distinct log messages for exact matches vs. subdomain matches\n* More granular error handling\n* Better error logging\n* Migrated package metadata from `setup.py`+`setup.cfg` to `pyproject.toml`\n\n\n### 0.1.0\n\nInitial release.\n\nPending conversion from `setup.py`+`setup.cfg` template to newer style package\nusing `pyproject.toml`\u2014plus some other features on the todo list\u2014but the basics\nare here:\n\n* Detect likely AMP links\n* Call AmputatorBot API for the canonical URL of each suspected AMP link\n* Skip links from a configurable list of ignored domains\n* Silently fail if no better URL is found\n",
"bugtrack_url": null,
"license": "EFL-2.0",
"summary": "Sopel plugin that detects AMP links and finds their canonical forms using AmputatorBot",
"version": "0.2.1",
"project_urls": {
"Bug Tracker": "https://github.com/dgw/sopel-amputator/issues",
"Homepage": "https://github.com/dgw/sopel-amputator"
},
"split_keywords": [
"sopel",
" plugin",
" bot",
" irc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a50e201d566e597ef4727f30da5401557f83c4582173ab653f4313ddca43cd41",
"md5": "b21b07ba47e71568f2c0ab3ce0acb744",
"sha256": "fa675891d942f244e609432b01b2a1acd1508ae8c604a2008758e8a88e44d80e"
},
"downloads": -1,
"filename": "sopel_amputator-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b21b07ba47e71568f2c0ab3ce0acb744",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.8",
"size": 5057,
"upload_time": "2024-05-16T21:15:12",
"upload_time_iso_8601": "2024-05-16T21:15:12.754272Z",
"url": "https://files.pythonhosted.org/packages/a5/0e/201d566e597ef4727f30da5401557f83c4582173ab653f4313ddca43cd41/sopel_amputator-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d6528e215077ee8f6841874abdc0cda3a6faba96774faea5ab1ce2410b0e4ca8",
"md5": "cee44e666834bbc5a7a6948371a91ff9",
"sha256": "fdeea3cde8ab132a9701d8de9e6335de9f376801aede5c5cd3e61f30fc09ee5b"
},
"downloads": -1,
"filename": "sopel_amputator-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "cee44e666834bbc5a7a6948371a91ff9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.8",
"size": 4747,
"upload_time": "2024-05-16T21:15:13",
"upload_time_iso_8601": "2024-05-16T21:15:13.804678Z",
"url": "https://files.pythonhosted.org/packages/d6/52/8e215077ee8f6841874abdc0cda3a6faba96774faea5ab1ce2410b0e4ca8/sopel_amputator-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-16 21:15:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dgw",
"github_project": "sopel-amputator",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "sopel-amputator"
}