html-slacker
Converts HTML to Slack formatted markdown
Usage
Install HTMLSlacker from pip.
$ pip install html-slacker
Import library.
>>> from htmlslacker import HTMLSlacker
Use it.
>>> HTMLSlacker('<b>Hello</b>, <i>Slack</i>!').get_output()
'*Hello*, _Slack_!'
Test it.
$ python setup.py test
Requirements
Python >= 2.5
html
Links
Repository: https://github.com/codex-team/html-slacker
Report a bug: https://github.com/codex-team/html-slacker/issues
PyPI Package: https://pypi.python.org/pypi/html-slacker
CodeX Team: https://ifmo.su
Release files for html-slacker 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| html-slacker-0.1.6.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| html_slacker-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / html-slacker-0.1.6.tar.gz
| Download URL | html-slacker-0.1.6.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22dd8847d01e8516e75d8f6af8572356568cd439134b846b00e62dd1e4df4ee1
|
|
BLAKE2b-256 checksum How to use checksums |
553be6fb83106593410b047deedcf13d3f7f34048d467ed58d34158ec1ffc273
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.1
|
Release files / html_slacker-0.1.6-py3-none-any.whl
| Download URL | html_slacker-0.1.6-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4458b7c18eb45fda04433364fa065f0107599516fc3cb4ee59de01256821ce7f
|
|
BLAKE2b-256 checksum How to use checksums |
fc4f2286db7784550360b0a1d0c0e929ef578d327d53f23dbb89a691b291c564
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.1
|