mdut
mdut (pronounced "em-doot") is a tool for generating Markdown URL tags. It ships as both a standalone command-line program and Python library.
Examples
Command-line program:
# reference style is default
$ mdut https://example.com
Copied to clipboard:
[TODO]: https://example.com "Example Domain"
$ mdut -s inline https://example.com
Copied to clipboard:
[TODO](https://example.com "Example Domain")
$ mdut -s slack https://example.com
Copied to clipboard:
[TODO](https://example.com)
Python library:
>>> import mdut
>>> mdut.reference("https://example.com")
'[TODO]: https://example.com "Example Domain"'
>>> mdut.inline("https://example.com")
'[TODO](https://example.com "Example Domain")'
>>> mdut.slack("https://example.com")
'[TODO](https://example.com)'
Installation
If you plan on using mdut on the command-line, you're probably best off installing it via pipx, like so:
pipx install mdut
However, if you plan on using mdut as a library in your project, you should probably install it the same way as your other dependencies, for example via pip, Poetry, Pipenv, etc.
# pip
pip install mdut
# Poetry
poetry add mdut
# Pipenv
pipenv install mdut
Metadata
Release files for mdut 22.6.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 | |
|---|---|---|---|
| mdut-22.6.0.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mdut-22.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.3 kB
Release files / mdut-22.6.0.tar.gz
| Download URL | mdut-22.6.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae57bc2ad48af6a8716d8c7759aa6c210fb1c779013ef4506a0dcc2708a06eac
|
|
BLAKE2b-256 checksum How to use checksums |
1bbd125f6a7ac7aa35afcaba5a2587eaf01e52b8884e0b188bdcde135df2c814
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Darwin/21.4.0
|
Release files / mdut-22.6.0-py3-none-any.whl
| Download URL | mdut-22.6.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4729f8cbcd0c6c0db09462bdf900238d0210dabe4f5293bb3b509ce81e2b9cab
|
|
BLAKE2b-256 checksum How to use checksums |
e6b760f81568f0bcc5d14d1169dd6ca5d01e31e2d4432bf6e1fe25a1dc474bcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Darwin/21.4.0
|