went stands for webmention endpoint tools.
import went
try:
webmention = went.Webmention(source_url, target=target_url)
# or webmention = went.Webmention(source_html, target=target_url)
except (went.NoContent, went.NoURLInSource):
webmention = None
webmention.date == '2015-02-26'
webmention.url == 'http://someone.com/blog/hello.html'
webmention.name == 'Hello world'
webmention.html == '<a href="http://otherpage.com/">to see my <i>hello world</i> go to this other page</a>'
webmention.body == '[to see my _hello world_ go to this other page](http://otherpage.com/)'
webmention.via == 'twitter.com' # bridgy-specific
webmention.like == False # like and like-of become this.
webmention.author.name == 'Someone'
webmention.author.url == 'http://someone.com/'
webmention.author.photo == 'http://someone.com/photo.jpg'
Metadata
Release files for went 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| went-0.2.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| went-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / went-0.2.0.tar.gz
| Download URL | went-0.2.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c39c1f403fb653e59e5d8448210ac95c5bed3fdb6313b59f71c7d3375da457b5
|
|
BLAKE2b-256 checksum How to use checksums |
913640b7b6ba0a0a6bcce7a5aa35e655621dbb60982730b17f1baa0a69f64543
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Release files / went-0.2.0-py3-none-any.whl
| Download URL | went-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a5063ebde661ae21925a5387c042f0fb51fd3744e96b3c64ef9bef0ad3702fe
|
|
BLAKE2b-256 checksum How to use checksums |
9ad997f142820ced679e7f2264c1df3db6f317512dbb7c7c0c866511b7349a64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|