{
"info": {
"author": "Panayotis Vryonis",
"author_email": "vrypan@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 1 - Planning",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP"
],
"description": "webmention-tools\n================\n\n|CircleCI| |Vulnerabilities| |Coverage| |Maintainability|\n\nSome simple tools in python to deal with webmentions.\n\nNote, that this package was formerly known as\n`webmentiontools `__, but had\nto be renamed due to\n`PEP-541 `__. (Namely, not\nclassified as abandoned project, because the author was reachable).\n\nCurrently:\n\n- webmentiontools.send implements WebmentionSend that sends\n webmentions.\n- webmentiontools.urlinfo implements UrlInfo() that will rerurn usefull\n information about a web page, like title, the existance of an\n \"in-reply-to\" link, the author name, the author image, etc.\n- webmentiontoold.webmentionio provides a class to query webmention.io\n\nThere is also the corresponting command line tool, webmention-tools\n(which is also a simple example on how to use the library.\n\nCheck `bin/demo.py <./bin/demo.py>`__ on how to use the library to query\nwebmention.io and present information for all URLs that mentioned\nhttp://indiewebcamp.com/webmention\n\nInstallation\n============\n\npip install webmention-tools\n\nUsage\n=====\n\nCommand line:\n\n::\n\n webmention-tools send `source` `target`\n webmention-tools urlinfo `url`\n\nor\n\nPython code to send a webmention:\n\n::\n\n from webmentiontools.send import WebmentionSend\n source = 'URL of page sending the webmention'\n target = 'URL of page to receive the webmention'\n mention = WebmentionSend(source, target)\n mention.send()\n\nPython code to get info about a webpage.\n\n::\n\n from webmentiontools.urlinfo import UrlInfo\n url = 'a link to a web page'\n i = UrlInfo(url)\n if i.error:\n print('There was an error getting %s' % url)\n else:\n print('in-reply-to link: %s' % i.inReplyTo())\n print('publication date: %s' % i.pubDate())\n print('page title: %s' % i.title())\n print('image link: %s' % i.image())\n\nDevelopment\n===========\n\n1. Create a virtualenv with python3\n2. Change into that directory and clone the repository\n3. Activate the virtualenv by ``source``\\ ing ``bin/activate``\n4. Change into the cloned repository and install dependencies via \\`pip\n install -r requirements.txt'\n5. Run ``pytest --cov`` for unit tests with code coverage\n\n.. |CircleCI| image:: https://circleci.com/gh/Ryuno-Ki/webmention-tools.svg?style=svg\n :target: https://circleci.com/gh/Ryuno-Ki/webmention-tools\n.. |Vulnerabilities| image:: https://img.shields.io/snyk/vulnerabilities/github/Ryuno-Ki/webmention-tools.svg?style=popout\n.. |Coverage| image:: https://codecov.io/gh/Ryuno-Ki/webmention-tools/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/Ryuno-Ki/webmention-tools\n.. |Maintainability| image:: https://api.codeclimate.com/v1/badges/bb63f7d3f38456ea8770/maintainability\n :target: https://codeclimate.com/github/Ryuno-Ki/webmention-tools/maintainability\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/Ryuno-Ki/webmention-tools",
"keywords": "webmention",
"license": "MIT",
"maintainer": "Andr\u00e9 Jaenisch",
"maintainer_email": "andre.jaenisch@posteo.de",
"name": "webmention-tools",
"package_url": "https://pypi.org/project/webmention-tools/",
"platform": "Linux",
"project_url": "https://pypi.org/project/webmention-tools/",
"project_urls": {
"Homepage": "https://github.com/Ryuno-Ki/webmention-tools"
},
"release_url": "https://pypi.org/project/webmention-tools/0.4.1/",
"requires_dist": [
"beautifulsoup4",
"requests",
"docopt"
],
"requires_python": "",
"summary": "Tools for webmention.org.",
"version": "0.4.1"
},
"last_serial": 5210692,
"releases": {
"0.4.1": [
{
"comment_text": "",
"digests": {
"md5": "8b60dbda51f90be197b6c4207af7aa39",
"sha256": "f9b5517bbcc3037256699cce4d7fdf75763fc88b0bffb67b416cc7755a75660f"
},
"downloads": -1,
"filename": "webmention_tools-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8b60dbda51f90be197b6c4207af7aa39",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9430,
"upload_time": "2019-05-01T00:15:32",
"url": "https://files.pythonhosted.org/packages/77/9b/5d44df99bd0fe9525b193d9a543e9061f1bc379a26946b4653a6ce7da806/webmention_tools-0.4.1-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "859c633b9c63118c2e95c9473608e22a",
"sha256": "4ca3529a9f573dcdec7aa9d2421055221e77cf5e2cdab73a37558898dab7c595"
},
"downloads": -1,
"filename": "webmention-tools-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "859c633b9c63118c2e95c9473608e22a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9491,
"upload_time": "2019-05-01T00:15:39",
"url": "https://files.pythonhosted.org/packages/9d/2f/ae83c21fb75f7713ec922de61c35c2dd01ecaa7e863029b330b9845dbb29/webmention-tools-0.4.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "8b60dbda51f90be197b6c4207af7aa39",
"sha256": "f9b5517bbcc3037256699cce4d7fdf75763fc88b0bffb67b416cc7755a75660f"
},
"downloads": -1,
"filename": "webmention_tools-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8b60dbda51f90be197b6c4207af7aa39",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9430,
"upload_time": "2019-05-01T00:15:32",
"url": "https://files.pythonhosted.org/packages/77/9b/5d44df99bd0fe9525b193d9a543e9061f1bc379a26946b4653a6ce7da806/webmention_tools-0.4.1-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "859c633b9c63118c2e95c9473608e22a",
"sha256": "4ca3529a9f573dcdec7aa9d2421055221e77cf5e2cdab73a37558898dab7c595"
},
"downloads": -1,
"filename": "webmention-tools-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "859c633b9c63118c2e95c9473608e22a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9491,
"upload_time": "2019-05-01T00:15:39",
"url": "https://files.pythonhosted.org/packages/9d/2f/ae83c21fb75f7713ec922de61c35c2dd01ecaa7e863029b330b9845dbb29/webmention-tools-0.4.1.tar.gz"
}
]
}