Saravanan666/pypi-org huggingface dataset:
Package: markdown-textwrap
Text wrapmarkdowndocuments.installpip install markdown-textwrapusage# Wrap markdown document to 66 characters.

$ md-tw -w 66 path/to/doc.md > path/to/doc-wrapped.md

# Wrap markdown document to 42 characters.

$ md-tw -w 42 path/to/doc.md > path/to/doc-wrapped.mdcaveatsSentences will always be separated by a single space.Markdown documents with tables / task lists are not supported.sourcegit clone git://git.ricketyspace.net/markdown-textwrap.gitlicenseUnderGNU General Public License version 3 or later.help / bugsrsiddharth <s@ricketyspace.net>
Package: markdown-timesheet
Markdown TimesheetA command line interface to total up the time entries in a markdown file.Usage$ pip install markdown-timesheet
$ cat timesheet.md

# 5 Sep 2019

## 9:15-9:16, 9:20-9:25
Write spec, write client email.
  - wrote really basic spec
	- told client I'm starting the project

## 9:25-9:29
Write tests

$ add timesheet.md
10
Package: markdown-to-blog
Markdown to Blogger이 프로젝트는 마크다운 파일을 HTML로 변환하여 Blogger에 게시하는 도구입니다. Python과 Blogger API를 사용하여 마크다운 파일을 블로그 포스트로 쉽게 변환하고 업로드할 수 있습니다.설치 방법이 도구를 사용하기 전에, Python이 설치되어 있어야 합니다. 그 후에, 필요한 패키지를 설치하기 위해 다음 명령어를 실행하세요:poetryinstall사용법이 도구는 명령줄 인터페이스(CLI)를 통해 다양한 명령어를 제공합니다. 사용 가능한 명령어는 다음과 같습니다:블로그 ID 설정블로그 ID를 설정하려면 다음 명령어를 사용하세요:mdbset_blogid[블로그ID]현재 설정된 블로그 ID 확인현재 설정된 블로그 ID를 확인하려면 다음 명령어를 사용하세요:mdbget_blogid마크다운 파일을 HTML로 변환마크다운 파일을 HTML로 변환하려면 다음 명령어를 사용하세요:mdbconvert--input[마크다운파일명]--output[저장될HTML파일명]Client Secret 파일 설정Google API 사용을 위한client_secret.json파일을 설정하려면 다음 명령어를 사용하세요:mdbset_client_secret[client_secret.json파일경로]인증 정보 갱신Google API의 인증 정보를 갱신하려면 다음 명령어를 사용하세요:mdbrefresh_auth마크다운 파일을 Blogger에 게시마크다운 파일을 Blogger에 직접 게시하려면 다음 명령어를 사용하세요:mdbpublish--title"[블로그 제목]"[마크다운파일명]HTML 파일을 Blogger에 게시HTML 파일을 Blogger에 게시하려면 다음 명령어를 사용하세요:mdbpublish_html--title"[블로그 제목]"[HTML파일명]기여하기프로젝트에 기여하고 싶으신 분은 GitHub를 통해 Pull Request를 보내주시거나, 이슈를 등록해 주세요.
Package: markdown-toc
Autogenerated Table of Contents for Github Markdown or Bear NotesGenerated by the script ;)Table of ContentsOverviewInstallationPyPi (Preferred)ManuallyUsageFlagsWith BearWith Markdown FilesOverviewI love usingBear Notesfor note taking of all sorts. Recently, Bear released a feature that allowed headers to be linked withx-callback-urls. And thus, I created a script to autogenerate a Table of Contents for your notes based on the headers.InstallationNOTE:This program is only compatible with Python 3.xPyPi (Preferred)$pip3installmarkdown-toc--upgradeManually$gitclonehttps://github.com/alexander-lee/markdown-github-bear-toc.git

$cdmarkdown-github-bear-toc
$python3setup.pyinstallUsageFlags-hor--header-priorityis the Limiting Header Priority/Strength (whether you limit your Table of Contents to h3s or h4s)-tor--typeis the type of anchor you want to use (Github or Bear x-callback-url)--no-writeis a flag on whether you want to disable the feature that automatically injects the ToC into your Markdown file or Bear Note-tocor--table-of-contents-styleis the Markdown style for your Table of Contents headerWith BearAdd a Table of Contents to a Bear Note with the title "Bear Note Title"$markdown-toc-h<default:3>-tbear[--no-write]"Bear Note Title"‎Add a Table of Contents to a Bear Note with the UUID20703126-FA33-400A-B98E-F55F57E3EF48-47683-000143B2335758CA$markdown-toc-h<default:3>-tbear[--no-write]"20703126-FA33-400A-B98E-F55F57E3EF48-47683-000143B2335758CA"‎Add a Table of Contents to two Bear Notes with titles "Bear Note Title 1" and "Bear Note Title 2"$markdown-toc-h<default:3>-tbear[--no-write]"Bear Note Title 1""Bear Note Title 2"‎Add a Table of Contents to all Bear Notes that contain the tag#bearOR tag#beet$markdown-toc-h<default:3>-tbear[--no-write]"#bear""#beet"‎This allows you to take input a list of Bear Note titles, tags, or UUIDs and will inject the ToC into your note whether or not you submit the--no-writeflag.If you have#tagsat the top of your note (cause I use them to categorize my notes), it will inject the ToC right after any tags.Original NoteNote with ToCWith Markdown FilesAdd of a Table of Contents to README.md (Using Github Anchors)$markdown-toc-h<default:3>-tgithub[--no-write]README.md‎Add of a Table of Contents to README.md and Folder/README2.md (Using Github Anchors)$markdown-toc-h<default:3>-tgithub[--no-write]README.mdFolder/README2.md
Package: markdown-toc-cli
markdown-toc-cliInstallationUsagepre-commit Hookmarkdown-toc-cliInsert a table-of-contents into a Markdown file.Heavily inspired from this project:https://github.com/hukkin/mdformat-tocI'd recommend using thatunlessyou don't want to run the built-inmdformatformatting. Then this tool might be suitable for a standalone version.Installationpipinstallmarkdown-toc-cliUsageAdd a comment like this to the Markdown file:<!-- markdown-toc-cli --prefix='- ' --indentation='  ' --minlevel=1 --maxlevel=6 -->All arguments are optional, with the defaults values shown above (compatible
with GitHub flavored markdown).Then run the tool:markdown-toc-cliREADME.mdpre-commit HookExample usage of this as a pre-commit hook:-repo:https://github.com/noahp/markdown-toc-clirev:0.1.1hooks:-id:markdown-toc-cli
Package: markdown-toc-creator
markdown-toc-creatorThis is a command-line tool to create table of contents from markdown files.1. Installationpip install markdown-toc-creator2. UsageIn the markdown files that you would like to generate tables of contents, put this placeholder at
where you would like to the table of contents to go:<!--TOC-->

<!--TOC-->And then run this command:markdown-toc-creator <PATH_TO_FOLDER_OR_FILE>A table of contents will be put between<!--TOC-->.Or, to use it as a pre-commit hook, add this into your.pre-commit-config.yamlfile:- repo: https://github.com/jsh9/markdown-toc-creator
    rev: <REPLACE_WITH_LATEST_VERSION>
    hooks:
      - id: markdown-toc-creator3. Configuration options3.1.--stylePick between "gitlab" or "github" (default).3.2.--excludeRegex of file/folder name patterns to exclude, default:'\.git|\.tox|\.pytest_cache'3.3.--in-placeWhether to actually add the table of contents into the original markdown file. Default:True.3.4.--quiet(or-q)IfTrue, the generated table of contents will not be printed to the terminal. Default:False.3.5.--skip-first-n-linesHow many lines of the markdown file (starting from the top) to skip. This is useful because
usually the initial line of markdown file is H1 (header level 1, with a#), and we don't want
it to be included in the table of content.
Package: markdown-to-json
Markdown to JSON converterDescriptionA simple tool to convert Markdown (CommonMark dialect) data into JSON. It uses headings as JSON keys, and the stuff following headings as values. Lists are turned into arrays. Higher heading values yield nested JSON keys.Why would you want to do this?If you don't mind the loss of fidelity to the exact Markdown Document Object Model (DOM), you can get a simple python or json datastructure to extract data-like structures from a Markdown document.This tool was built to allow easy creation of dataset descriptions for theBrain Imaging Data Structuredata sharing specification.InstallationNon isolated install from pypipipinstallmarkdown-to-json
md_to_json--helpIsolated install with pipx if you only want the CLIpipxinstallmarkdown-to-json
md_to_json--helpInstall bleeding edge from githubpipinstallgit+https://github.com/njvack/markdown-to-json/
python-mmarkdown_to_json--helpgitclonehttps://github.com/njvack/markdown-to-json.gitcdmarkdown_to_json
./setup.pyinstallThe package has no external requirements and has been tested python 3.6+.Please use version 1 or 1.1 for python 2.x.CLI Usage,md_to_jsonTranslate markdown into JSON.

Usage:
  md_to_json [options] <markdown_file>
  md_to_json -h | --help

Options:
  -h --help     Show this screen
  --version     Print version number
  -o <file>     Save output to a file instead of stdout
  -i <val>      Indent nested JSON by this amount. Use a negative number for
                most compact possible JSON. the [default: 2]Programmatic usageimportmarkdown_to_jsonvalue="""# Nested List* Item 1* Item 1.1* Item 2"""# The simple way:dictified=markdown_to_json.dictify(value)assertdictified=={'Nested List':['Item 1',['Item 1.1'],'Item 2']}# Or, if you want a json stringjsonified=markdown_to_json.jsonify(value)assertjsonified=="""{"Nested List": ["Item 1", ["Item 1.1"], "Item 2"]}"""This translates a markdown document into JSON as described in the example below.ExampleThe markdown:# DescriptionThis is an example file# Authors*Nate Vack*Vendor Packages*docopt*CommonMark-py# Versions## Version 1Here's something about Version 1; I said "Hooray!"## Version 2Here's something about Version 2will translate to the JSON:{"Description":"This is an example file","Authors":["Nate Vack","Vendor Packages",["docopt","CommonMark-py"]],"Versions":{"Version 1":"Here's something about Version 1; I said \"Hooray!\"","Version 2":"Here's something about Version 2"}}Creditsmarkdown_to_jsonwas written by Nate Vacknjvack@freshforever.netat the Center for Healthy Minds at the University of Wisconsin–Madison.Maintenance development byMatthew MartinThis tool ships a few really excellent tools in itsvendordirectory:docoptis copyright (c) 2012 Vladimir Keleshev,vladimir@keleshev.comUpgraded to docopt-ng.CommonMark-pyis copyright Copyright (c) 2014, Bibek Kafle and Roland Shoemaker.Cannot upgrade to 0.6.0 because of breaking changes in AST.
Package: markdown_to_mongodb
Markdown to MongoDBThis package converts a directory of markdown files and inserts their contents into a provided MongoDB instance.Usage::#!/usr/bin/env pythonfrom markdown_to_mongodb import Dbmy_db = Db(ip, port, collection_name)
my_db.convert(markdown_directory)Command Line Usagepython Db.py “localhost” 27017 “collection_name” “markdown_directory”Home-page:https://github.com/ryanniebling/markdown_to_mongodbAuthor: Ryan Niebling
Author-email:nieblingr1@nku.eduLicense: MIT
Description: UNKNOWN
Platform: UNKNOWN
Package: markdown-to-presentation
markdown-to-presentationA build tool to turn markdown into an html presentation and then publish to
gh-pagesInstallationpipinstallmarkdown-to-presentationUsageSet up the following files:# Theme variables for reveal.js
assets/_theme.scss

# application-specific scss
assets/_app.scss

# copied into build directory
assets/*.png

# contains slides
slides.mdSlides must be delimited by a blank line followed by***followed by a blank
line.  When rendered as markdown***will be a horizontal rule.  If you need
a horizontal rule in your slides, use---or___instead.Here's an example slides.md:# Title slide## subtitle***## first slide-bullet 1-bullet 2-bullet 3If you need raw html in your slides, use aspecialrawhtmlcode block:```rawhtml
<div>this html will be <em>injected</em> directly</div>
```A sample makefile which works well with this:all:run-buildvenv:requirements.txtrm-rfvenvvirtualenvvenv-ppython3venv/bin/pipinstall-rrequirements.txtvenv/bin/pre-commitinstall-f--install-hooks.PHONY:run-buildrun-build:venvvenv/bin/markdown-to-presentationrun-build.PHONY:pushpush:venvvenv/bin/markdown-to-presentationpushindex.htmbuildclean:rm-rf.mtpvenvbuildindex.htmHooking up push to github pagesAcquire apush tokenwhich has thepublic_repopermission.Usetravis encryptto
encrypt your push token asGH_TOKEN=....  You'll need the yaml it spits out
to fill out your.travis.yml.Make a.travis.ymlwhich looks something like this:install:pip install virtualenvscript:makeafter_success:make pushbranches:except:-gh-pagesenv:global:# GH_TOKEN-secure:...For yourmake pushtarget, invoke something like this:.PHONY:pushpush:venvvenv/bin/markdown-to-presentationpushindex.htmbuildconsult themarkdown-to-presentation push --helpto get a full list of
options.
Package: markdown-to-respec
markdown-to-respecmarkdown-to-respecis aGithub Actionfor automatically publishing Markdown files asReSpecHTML. The idea is that it is easier to edit and manage specifications in Markdown, but that it's easier to read specifications in your browser as HTML. By using markdown-to-respec you can have every commit to your Markdown trigger a rebuild of your HTML specifications.As a (silly) examplethis Markdown filewill generatethis ReSpec HTML.For the action to push to your branch you will need to grant write permission inSettings / Actions / General / Read and write permissions. Then you will need to create a.github/workflows/respec.ymlfile in your repository which contains:name:Publish Specson:push:branches:-mainjobs:respec:runs-on:ubuntu-latestname:Builds the ReSpec HTMLsteps:-name:Checkoutuses:actions/checkout@v2-name:Generate ReSpec HTMLuses:webrecorder/markdown-to-respec@v0.4.0Action OptionsThe action takes several options which you can specify using thewithclause in your markdown-to-respec step:publish_branch: the branch to push the changes to (defaultgh-pages)markdown_dir: if you want to limit the processing to a particular directory (default.)For example, to publish to another branch using an alternate build of respec_js
using Markdown files in thedocsdirectory you would:name:Publish Specson:-push:branches:-mainjobs:respec:runs-on:ubuntu-latestname:Builds the ReSpec HTMLsteps:-name:Checkoutuses:actions/checkout@v2-name:Generate ReSpec HTMLuses:webrecorder/markdown-to-respec@v0.1.0with:publish_branch:webmarkdown_dir:docsReSpec ConfigurationReSpec is usuallyconfiguredwith a JSON object in order to set authors, editors, various version URLs, etc. You have two options for these.Include as frontmatter in your Markdown file: seeembeddedfor an example.Include as a JSON file along side your Markdown file: seeexternalfor an example.If you would like to use an alternate ReSpec Javascript URL you can use therespec_jsconfig option either in frontmatter or the external JSON configuration.Command LineIf you want you can installmarkdown-to-respecand run it from the command line. This can be useful in situations where you are making local changes and want to see the resulting HTML. You should be able to use your browser to open the resulting HTML files.usage: markdown-to-respec [-h] [--branch BRANCH] [--publish] [--ignore IGNORE] path

positional arguments:
  path             Path to search for Markdown files

options:
  -h, --help       show this help message and exit
  --branch BRANCH  Git branch to publish to
  --publish        Commit and push new HTML files
  --ignore IGNORE  A regex of Markdown files to ignore
Package: markdown-to-sqlite
markdown-to-sqliteCLI tool for loading markdown files into a SQLite database.YAML embedded in the markdown files will be used to populate additional columns.Usage: markdown-to-sqlite [OPTIONS] DBNAME TABLE PATHS...For example:$ markdown-to-sqlite docs.db documents file1.md file2.mdBreaking changePrior to version 1.0 this argument order was different - markdown files were listed before the database and table.
Package: markdown-tree
Installpip install markdown-treeUsageUsage: markdown_tree [OPTIONS] [DIRECTORY]

Options:
  --ignore TEXT         Ignored files or dirs, comma separated, default=.*
  --header TEXT         Header
  --footer TEXT         Footer
  --emoji / --no-emoji  Enable file/folder emoji
  --prefixes TEXT       Prefixes, default='## {},- {}', which means, top level
                        entries are <h2> and the rest are <ul>

  -c, --config PATH     Load all configs from a json file if exists,
                        default=.mdtreeconfig.json

  -o, --output PATH     Output filename, default is stardard output
  --help                Show this message and exit.
Package: markdown-tree-parser
markdown-tree-parserParse markdown file to python object, which contains markdown tree headingsUsage examplesimportunittestfrommarkdown_tree_parser.parserimportparse_stringclassTestParser(unittest.TestCase):deftest_code_block(self):text='''Title=====# CodeCode 1------Some text\```# TODO\```Code 2------\```python# TODOprint('test')\```# Heading'''out=parse_string(text)self.assertEqual(out.title,'Title')self.assertEqual(out[0][0].text,'Code 1')self.assertEqual(out[0][0].source,'Some text\n```\n# TODO\n```\n')self.assertEqual(out[0][1].text,'Code 2')self.assertEqual(out[0][1].source,"```python\n# TODO\nprint('test')\n```\n")self.assertEqual(out[1].text,'Heading')if__name__=='__main__':unittest.main()
Package: markdown-up
markdown-upmarkdown-upis theMarkdownUplauncher.MarkdownUpis a Markdown viewer.LinksSource codeView Local Markdown FilesTo view local Markdown files, run the markdown-up command-line application from a terminal prompt:pip install markdown-up
markdown-upYou can also open a specific file or directory:markdown-up README.mdDevelopmentThis package is developed usingpython-build.
It was started usingpython-templateas follows:template-specialize python-template/template/ markdown-up-py/ -k package markdown-up -k name 'Craig A. Hobbs' -k email 'craigahobbs@gmail.com' -k github 'craigahobbs' -k noapi 1
Package: markdown-urlize
A more liberal autolink extension for python Markdown
- inspired by Django’s urlize function`Requires:http://pypi.python.org/pypi/MarkdownTo make this extension loadable by Mardown, just dropmdx_urlize.pyinto your PYTHONPATH or projects root.Fromhttp://stackoverflow.com/a/6553787/352452:Once installed, you can use it in a Django template like this:{{ value|markdown:”urlize” }}Or in Python code like this:import markdown
md = markdown.Markdown(safe_mode=True, extensions=[‘urlize’])
converted_text = md.convert(text)Here is the start of the [Markdown extension docs](http://pythonhosted.org/Markdown/extensions/index.html) in case you need more info.
Package: markdownusm
MarkdownUSMMarkdownUSM is the best way to draw a beautiful user story mapping diagram from simple markdown file.Markdown file will be converted to XML format then you can easily use the diagram ondraw.ioand export in another format.Installation$ pip install markdownusmExamplesCreate itCreate a file sample.md with:<!-- Comment -->

<!-- Release titles -->
- Release 1
- Release 2
- Release 3
- Release 4
- Release 5

# Activity 1
## Task 1
Story 1
--- <!-- Release separator -->
Story 2
---
Story 3

## Task 2
---
Story 4

<!-- Suffix `!` changes story postit color for warning -->
Story 5!

<!--
Multiple line comments
-->
# Activity 2
## Task 3
---
---
Story 6 &lt;br&gt; Next line
<!-- Story can change their colors by setting hex code following story title -->
Story 7 #a6dfb5Run itThe simplest way with:$ musm sample.md

<mxfile>
    <diagram>
        <mxGraphModel dx="661" dy="316" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0" background="#FFFFFF">
        ...Output XML file with:$ musm -o sample.dio sample.mdLicenseThis project is licensed under the terms of the MIT license.
Package: markdown-verse
markdown_versePython Markdown extension for wrapping verseHello World==========='''
Arctic fox's den
adorned with flowers and snow
garden in winter
'''Leads to:<h1>Hello World</h1><p><divclass="verse">Arctic fox's den
adorned with flowers and snow
garden in winter</div></p>You can also specify the tags to wrap the verse block:markdown(source,extensions=[VerseExtension(tag_tuple=('<verse>','</verse>'))])with the above markdown would lead to:<h1>Hello World</h1><p><verse>Arctic fox's den
adorned with flowers and snow
garden in winter</verse></p>TodoGet rid of the errant paragraph tags
Package: markdown-vidify
Vidify - convert img tags to html5 video tagsVidify is a plugin for Python's Markdown that allows you to embed html5 video
into your document. It's inteneded for Python 3.6 + but isprobablyback-compatible with 2.7.Vidifiy works by detecting<img>tags pointing at a file with an extension of
.webm, .mp4, or .ogg and replacing them with<video>tags.InstallingSimply install from PyPi:pip install markdown-vidifyUsageSimply import the package and then pass it to the extensions parameter of
markdown!importmarkdownimportmarkdown_vidify# ...ouptut=markdown.markdown(input,extensions=[markdown_vidify.VidifyExtension(autoplay=False,controls=True,loop=False,mute=False,)])OptionsAll default to false:autoplay - Autoplay the video once page is loadedcontrols - Display player controls below the videoloop - Loop the videomuted - Video is muted by defaultExtra Hints!Consider using the Attribute List plugin that comes with markdown to set the
html5 poster attribute. This will be an image that displays in-place of your
video while it is downloading or until the user hits the play button!![alt](/path/to/video.webm){: poster="/path/to/image.png"}Weird CaveatSince html5 video doesn't have an alt-text, the body of the [] is entirely
ignored. Other plugins may still use it however. I am aware of how -janky- this
is. I considered using it for the poster tag but that still feels janky and it
would also interfere with other markdown plugins. If you feel you haev a good
usgesstion feel free to post it as an issue.Boring Stuffvidify was written by Jason Hamilton-Smith<hs.jason@gmail.com>, my website iszchfvy.com.This project is licensed under the GPL v3.0 license. See theLICENSEfile for
details.
Package: markdown-viewer
==================`Markdown Viewer`_==================Copyright (c) 2015 Jeremie DECOCK (http://www.jdhp.org)* Web site: http://www.jdhp.org/projects_en.html#markdown-viewer* Source code: https://github.com/jeremiedecock/markdown-viewer* Issue tracker: https://github.com/jeremiedecock/markdown-viewer/issues* Markdown Viewer on PyPI: https://pypi.python.org/pypi/markdown-viewerDescription===========`Markdown Viewer`_ is an open source lightweight Python tool to displayMarkdown files.Note:This project is in beta stage.Dependencies============-  Python >= 3.0-  PyGTK.. _install:Installation============Gnu/Linux---------You can install, upgrade, uninstall Markdown Viewer with these commands (in aterminal)::pip install --pre markdown-viewerpip install --upgrade markdown-viewerpip uninstall markdown-viewerOr, if you have downloaded the Markdown Viewer source code::python3 setup.py install.. There's also a package for Debian/Ubuntu::....     sudo apt-get install markdown-viewerWindows-------Note:The following installation procedure has been tested to work with Python3.4 under Windows 7.It should also work with recent Windows systems.You can install, upgrade, uninstall Markdown Viewer with these commands (in a`command prompt`_)::py -m pip install --pre markdown-viewerpy -m pip install --upgrade markdown-viewerpy -m pip uninstall markdown-viewerOr, if you have downloaded the Markdown Viewer source code::py setup.py installMacOSX-------Note:The following installation procedure has been tested to work with Python3.4 under MacOSX 10.6 (*Snow Leopard*).It should also work with recent MacOSX systems.You can install, upgrade, uninstall Markdown Viewer with these commands (in aterminal)::pip install --pre markdown-viewerpip install --upgrade markdown-viewerpip uninstall markdown-viewerOr, if you have downloaded the Markdown Viewer source code::python3 setup.py installBug reports===========To search for bugs or report them, please use the Markdown Viewer Bug Tracker at:https://github.com/jeremiedecock/markdown-viewer/issuesLicense=======This project is provided under the terms and conditions of the`MIT License`_... _MIT License: http://opensource.org/licenses/MIT.. _Markdown Viewer: http://www.jdhp.org/projects_en.html#markdown-viewer