Skip to main content

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

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)

Source distribution for html-slacker 0.1.6
File Size Uploaded
html-slacker-0.1.6.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for html-slacker 0.1.6
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page