Saravanan666/pypi-org huggingface dataset:
Package: mc_xclip
NEW:Don’t usemc_xclip! Instead:sudoapt-getinstall xclipMake suremcis NOT running, or it will overwrite the next changes.Findclipboard_storein~/.config/mc/iniSetclipboard_store=xclip-i-selectionclipboardSetclipboard_paste=xclip-o-selectionclipboardThanks tohttps://github.com/IvanAliOLD:Install:sudo apt-get install xclip
sudo pip install mc_xclip

# If you use Display Manager:
echo 'mc_xclip &' >> ~/.xprofile

# Else:
echo 'mc_xclip &' >> ~/.xinitrc

# Reboot.
Package: mcxlib
mcxlib 0.1Python Library to get publicly available data on MCX website.Release NotesCompatible and Tested with Python 3.8 and aboveFuture release will be done on requirement basicLibraries RequiredrequestsnumpypandaslxmlFor Windows systems you can install Anaconda, this will cover many dependencies (You'll have to install requests additionally though)InstallationFresh installation$pip install mcxlibUpgrade$pip install mcxlib --upgradeFunction listget_recent_expiresget_market_watchget_top_gainersget_heat_mapget_top_gainersget_top_losersget_most_active_contractsget_most_active_puts_callsget_bhav_copyget_historical_dataget_pro_cli_detailsget_option_chainget_put_call_ratioget_category_wise_oiget_category_wise_turnoverget_mcx_icomdex_indicesget_trading_statisticsget_ccl_deliveryExample :import mcxlibdata = get_live_market_watch()bhav_copy = get_bhav_copy(trade_date= '20231102', instrument = 'ALL')option_chain = get_option_chain(commodity = 'CRUDEOIL', expiry = '15NOV2023')cli_details = get_pro_cli_details(trade_month = '202301')NB: always follow the function hint to apply valid parameter.More functions will be available in future releases...How can I contribute?There are multiple ways in which you can contribute-Write about your projectThere are working on to add many function to this library. mcxlib at the moment is short of good documentation. There are lot of features in mcxlib yet to come :( , so till we complete the documentation, I'll need support from the community.Please write about your projects in blogs, quora answers and other forums, so that people find working examples to get started.Raising issues, bugs, enhancement requestsFor quick resolution please raise issues bothhere on issue page. I'll try my best to address the issues quickly on github as and when I get notified, but raising it on stackoverflow will provide you access to a larger group and someone else might solve your problem before I do.Submit patchesIf you have fixed an issue or added a new feature, please fork this repository, make your changes and submit a pull request.Here's good article on how to do this.Looking forward for healthy participation from community.
Package: mcxpy
Experimental code to fetch data from mcx.Do not use this code
to programmatically get data from mcx exchange.This code is
uploaded here only for educational purpose.The uploader is not
liable for any type of damage caused by or arising from the use of this
code.Installation:mcxpy can be installed by:pip install mcxpyfrommcximport*All Functions outputs are in pandas dataframe/datetime.datetimemcx_bhavcopy(bhavdate)Fetch the bhacopy of the given datemcx_circulars(from_date, to_date)Fetch Circulars. By default it will return last 4 days circulars.***Below Functions names are self-explanatory.mcx_marketwatch()mcx_topgainers()mcx_toploosers()mcx_mostactiveoptions()mcx_mostactivecontracts()mcx_heatmap()mcx_expiry(commodity, instrument, expirytype)By defaults, it returns the current expiry of Crudeoil optionsmcx_expiry()datetime.datetime(2023, 7, 17, 0, 0)mcx_expiry(commodity='NATURALGAS',instrument='future',expirytype='current')datetime.datetime(2023, 7, 26, 0, 0)mcx_optionchain(commodity, expiry)Fetch the optionchain.mcx_pcr(expirywise)Returns the pcr. By default expirywise is False (Returns
commoditywise pcr)mcx_icomdexindices(datatype,start_date, end_date)start_date and end_date are needed only for historical datatype. By
defaults returns today's data12 mcx_quote(commodity,instrument, expiry, optiontype, strikeprice,
outputtype)Fetch quote of the given commodity. optiontype and strikeprice needed only for option instrument.
Package: mcycle
ContentsAboutInstallationQuick startNotes on installing CoolProp from source for Python3AboutVersion:0.1Author:Momar HughesContact:momar.hughes@unsw.edu.auTopic:Thermodynamic power cycle sizing and analysisLicence:Apache License 2.0Requires:numpy, scipy, matplotlib, CoolPropMCycle is a Python3 module for 1-dimensional analysis and sizing of thermodynamic heat cycles, particularly the organic Rankine cycle. Sizing methods are based on empirical and theoretical correlations. Users may analyse cycles consisting of components including heaters, coolers, compressors, expanders and heat exchangers. The two main modes for analysing cycles or components are:size: calculates a component characteristic/dimension required to satisfy a desired component outlet flow state/cycle flow states. This mode is used for sizing components.run: calculates working fluid cycle flow states/ component outlet flow state based on user-defined characteristics/dimensions of the components.The Github project page can be found athttps://github.com/momargoh/MCycle. The documentation is hosted athttps://mcycle.readthedocs.ioor can be built using Sphinx (using Python3).InstallationRequirements:sudo apt install build-essential python3 python3-dev python3-pip python3-tk cython3 git
pip3 install numpy
pip3 install scipy
pip3 install matplotlibMCycle also requiresCoolProp, a free and open-source thermodynamic properties library. It is recommended to manually install the latest version of CoolProp before installing MCycle (rather than installing from pip which is not the latest version). Refer to theirguide on manual installation, summarised below.:cd PATH/TO/CLONE/FOLDER
git clone https://github.com/CoolProp/CoolProp.git --recursive
cd wrappers/Python
sudo python3 setup.py installMCycle should now be ready to be installed. For the latest updates, clone/download the source code from theGithub pageand run:python3 setup.py installFor the latest stable release, MCycle is available from pip by running:pip3 install mcycleContributions towards the project source code will be gratefully received. Feel free to contact the author via email or GitHub with any queries.Quick startHave a look throughmcycle/examplesto get a feel for how to use the module (link to documentaion). These examples can be easily copied to your local directory and modified to get you started.Notes on installing CoolProp from source for Python3Once, the installation failed because /usr/local/lib/python3.6/dist-packages did not exist, thus I ran:sudo mkdir -p /usr/local/lib/python3.6/dist-packagesAnother time, I had to rename the original cloned CoolProp folder to stop Python3 finding it when importing:sudo mv PATH/TO/CLONE/FOLDER/CoolProp PATH/TO/CLONE/FOLDER/_CoolProp-master
Package: md2book
Md2bookMd2book converts books written with markdown within multiple files into a single, standalone file, and allows exporting to pdf, ebook (epub), docx, odt, markdown or text. This projects makes it easy by using simple configuration files written in yaml. It supports markdown syntax, LaTeX equations, themes, css, fonts, and settings to easily configure the style.Because an example is better than words,here is a document generatedusing md2book.About md2bookMd2book is designed to be used by users that are comfortable with the command line interface and want a simple, free and fully customizale tool to manage theirs writings. If you want a more easy-to-use tool, with a GUI, check outscrivener(paying) or free online alternatives. If you want to use md2book, you will only need a markdown editor, liketypora.Why md2book instead of pandoc ?Md2book uses pandoc, wkhtmltopdf and some python packages to generate documents. But I spent time optimizing the result to have better-looking documents. For example,python-docxis used to improve docx files generated by pandoc (but do not correct all pandoc issues). Md2book comes with predefined themes and fonts, and makes it easy to compile a document using styles, themes, fonts, to any target format. It has a template system, and read all you need to configure from a single file.Start using md2bookAll the instructions are available on thewiki.Wiki HomeInstallationQuick StartAnd the full documentation on the wikiLicenseMIT
Package: md2html
Markdown to HTML ConverterThis is a converter from Markdown to HTML with advanced support for Markdown tables and GFM syntax highlighting. This package relies onmarkdown2for converting basic Markdown to HTML andpygmentsto support code to HTML conversion for syntax highlighting. The default (and, currently, only) theme for this package is Monokai.You can find a sample of a site generated from this package athttps://mcautograder.chrispyles.io.InstallationThe converter is installed using pip:pip install md2htmlUsageThis package an executable that can be run from the command line:md2html ...Here is the help entry for this package:usage: md2html [-h] [-s SITE] [-n NAV] ...

convert Markdown to HTML

positional arguments:
  files                 files to be converted to HTML

optional arguments:
  -h, --help            show this help message and exit
  -s SITE, --site-info SITE
                        add metadata to the HTML files
  -n NAV, --nav NAV     add a YAML file to use for navigation menuRunning the converter will place HTML files in the same directory as your Markdown files, with the.mdextension replaced with.html. The HTML files come with CSS in astyletag in thehead.Page MetadataIf you would like to add metadata to your page, including a navigation menu, do so by creating a YAML file containing this metadata and passing the file path to the-sflag, e.g.md2html -s meta.yml ...The structure of your YAML file should be:title:page titleauthor:page authordescription:page descriptionnavigation:nav_title:navigation menu titlelinks:-title:link nameurl:HTML file path-title:...url:......Currently, thetitlemust be set if you use this option. The converter does not yet support navigation submenus, so all links will be rendered asLink 1Link 2Link 3etc.Navigation MenuThe converter also supports adding only a navigation menu without page metadata. To do this, pass a YAML file to the-nflag. It should have the following structure:nav_title:navigation menu titlelinks:-title:link nameurl:HTML file path-title:...url:......Changelogv1.3.0:Added unit tests & Travis CIRefactoredbin/md2htmlso that parser code is inmd2html/__init__.pyv1.2:Added YAML syntax highlightingv1.1:Added docstrings for documentationMoved some utils out ofmd2html/converter.pyv1.0:Changed to Boostrap CSSv0.1:Initial release
Package: md2htmlpy
Md2HTMLpyMd2HTMLpy is a library to convert markdown to html while maintaining full control over conversion.Installationpip install md2htmlpyExample# This is test.md filefind more information [here](http://www.moreinfo.com)frommd2htmlpyimportClient,Heading,render_mdHeading.set_attribute('class','test')client=Client('test.md')print(client.render())# <h1 class="test">This is test.md file</h1><p>find more information <a href="http://www.moreinfo.com">here</a></p>or if you dont want to customise the generation, simplyfrommd2htmlpyimportrender_mdprint(render_md('test.md'))
Package: md2latex
A lame Markdown to LaTeX converter.InstallRunpip install md2latex(usesudoif necessary).Seetest.mdfor an example and runmd2latex test.md test.texto taste a flavor of it.Featurestitleauthor(s)headings (converted to sections)lists (converted to enumerate/itemize)emphasis, strong and monospace text stylehyperlink (usinghyperrefpackage)footnote (in mistune syntax)CaveatsYou can inline LaTeX commands because they are not markdown-parsable. However, md2latex doesn’t do auto-escaping for you so if you have underscore LaTeX meta chracters such as _ or % in your document, be cautious!AcknowledgementThanks @lepture for the super awersomemistunemarkdown parser.
Package: md2nb
md2nb- Converting Markdown Files to Jupyter NotebookCreated byQin Yu, Nov 2020 - Dec 2020Table of ContentsManifestoInstallationUsageManifestoTaking notes using Markdown makes it easier for sharing on GitHub, but GitHub doesn't display Latex-style mathematics in.mdfiles. A good workaround is to write Markdown in Jupyter notebooks and share the.ipynbfiles on GitHub, since everything inside is usually rendered properly. However, it is easier to take notes on a local text editor such as VSCode with Markdown support, becuase it automatically generates and updates the table of content, and you don't have to run a notebook server to take notes.This package is quite simple, all it does it to create a Jupyter notebook and paste the content of one file into a Markdown block in this notebook. But the author decided to make it a package because of the encouragingtalkby Mark Smith at EuroPython 2019.Installation$# install using:$python-mpipinstallmd2nb
$
$# to verify installation and show help:$md2nbUsageAs the simplest example, in the root directory of this repo, this will convert all.mdfiles to.ipynbfiles (if there is no.m2nfile found in the specified directories):$md2nb--dir.
Converting'.md'fileswithin./:./README.mdBut if.m2nfiles are found in the specified directories, e.g. here in the./test/folder, then only.m2nfiles are converted. This is because you may only want to convert some Markdown files to Jupyter notebooks, and you can mark these files by making their extension.m2n:$md2nb--dir./test
Converting'.m2n'fileswithin./test/:./test/example.m2n./test/example-gB18030.m2nIn short, usemd2nb PATH_TO_FILE1 PATH_TO_FILE2, ormd2nb --dir PATH_TO_DIRECTORY1 PATH_TO_DIRECTORY2. There are two recommended ways of usingmd2nb:md2nbconverts all files with--extspecified extensions in the--dirspecified directories into.ipynbfiles with a single Markdown block. For example:# to convert all Markdown and text files in the current directory and all of its subdirectories$md2nb--dir.-r--ext.md.txtmd2nbconverts all files identified by their file paths. For example:# to convert all Markdown files in the current directory and all of its subdirectories$md2nb*.md-rIn fact, these two ways can be combined. For example:# to convert README, LICENSE, all .md and .txt files in . and ./doc/$md2nbREADME.mdLICENSE--dir.test--ext.md.txt
Package: md2-notfresh
标准 Readme 生成工具 Python版标准 Readme 样式README 文件是人们通常最先看到的第一个东西。它应该告诉人们为什么要使用、如何安装、以及如何使用你的代码。README 文件标准化能够使得创建和维护 README 文件更加简单。毕竟，要写好一个文档不是那么容易的。本仓库包含以下内容：一个创建标准 README 的生成器的Python版本。
(也许它现在还有很多问题,但是它有更多其他强大的功能正在开发中)内容列表背景安装使用说明徽章示例相关仓库维护者如何贡献使用许可背景如果你的文档是完整的，那么使用你代码的人就不用再去看代码了。这非常的重要。它使得你可以分离接口文档与具体实现。它意味着你可修改实现的代码而保持接口与文档不变。请记住：是文档而非代码，定义了一个模块的功能。——Ken Williams, Perl Hackers写 README 从某种程度上来说相当不易，一直维护下去更是难能可贵。如果可以减少这个过程，则可以让写代码与修改代码更容易，使得是否在说明中指明一处需改有无必要更加清楚，你可以花费更少的时间来考虑是否你最初的文档是否需要更新，你可以分配更多的时间来写代码而非维护文档。同时，标准化在某些别的地方也有好处。有了标准化，用户就可以花费更少的时间来搜索他们需要的信息，他们同时可以做一个工具来从描述中搜集信息，自动跑示例代码，检查授权协议等等。这个仓库的目标是：一个Python版本的 README 生成器用来快速搭建新的 README 的框架。安装这个项目使用 Python3.$pipinstallmd2-notfresh为什么叫 md2-notfresh 呢? 因为 notfresh 是我的 github ID,而 md 是 markdown 的缩写,所以本来想用 md 作为命令的入口的, 但是因为 md = mkdir,被占用了,所以我用 md2 来表示.使用说明这是一个 README 生成工具，你可以用它快速生成一个开原仓库的README文档, 当然它本质上说是一个可自定义的 markdown 模板生成工具,更多功能正在开发中。使用md2-h来获取帮助
使用md2readme在当前目录生成README文件
使用md2update-urlfilename来更新md文件的网页链接
使用md2update-spacefilename来更新md文件的英文字母和汉字的空格# Prints out the standard-readme spec我另外制作了两个命令来做辅助工作, 他们分别是md2 update-url和md2 update-space, 我现在来简单说一下他们的使用方法.辅助命令用法md2 update-url filename如果我们平常喜欢使用 markdown 文档来进行写作, 我想做讨厌的之一是自己写[锚文字](实际url)了,我们喜欢直接贴一个url, 但是这样的坏处是, 如果这样的 markdown 发表到博客网站, 用户是无法点击的, 只好http复制地址到地址栏, 所以我就写了这样一个命令. 来自动检测并帮助自动更新url
比如在 a.md 里面的内容是https://pypi.org/project/md2-notfresh/使用命令md2 update-url a.md会把它的内容变成[https://pypi.org/project/md2-notfresh/](https://pypi.org/project/md2-notfresh/)如果 url 已经符合规范了, 那么它就不会再次修改了. 所以多次操作是安全的. 它的原理是自动检测 http:// 开头的内容. 我们一般认为 http或者https 开头的都是网址.md2 update-space filename如果我们平常喜欢使用 markdown 文档来进行写作, 我想做讨厌的之一中文和英文字符的空格, 比如Hello张三, 我们应该给张三和hello之间加上空格, 所以这个命令就是自动帮我们完成这件事的.如果汉字和英文已经符合规范了, 那么它就不会再次修改了. 所以多次操作是安全的.
这个命令请谨慎使用, 确保你真的想在中文和英文中间留一个空格.徽章如果你的项目遵循 Standard-Readme 而且项目位于 Github 上，非常希望你能把这个徽章加入你的项目。它可以更多的人访问到这个项目，而且采纳 Stand-README。 加入徽章并非强制的。为了加入徽章到 Markdown 文本里面，可以使用以下代码：[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)示例想了解我们建议的规范是如何被应用的，请参考example-readmes。相关仓库Art of Readme— 💌 写高质量 README 的艺术。open-source-template— 一个鼓励参与开源的 README 模板。维护者@notfresh。如何贡献欢迎PR 和 提 Issue.直接发我邮箱,notfresh@foxmail.com标准 Readme 遵循Contributor Covenant行为规范。
这个 Python 版本的项目还不是很完善, 模板引擎有一定的问题, 如果你还有更多的模板,或者对这个项目感兴趣, 请随时参与, 非常欢迎PR.贡献者感谢以下参与项目的人：使用许可MIT© notfresh
Package: md2remark
Compiles markdown files to html files for remark.jsRead the documentation atRead the Docs!Setting Up the Development EnvironmentThe development environment is based on a Centos 7 environment managed
by Vagrant.Pre-RequisitesVagrantChefDKOnce Vagrant and the ChefDK are installed, you must install the
vagrant-berkshelf plugin for Vagrant which allows the use of Berkshelf
to manage cookbooks for provisioning the virtual machine, and the
vagrant-omnibus plugin which installs chef on the vm allowing it to be
provisioned.vagrantplugininstallvagrant-berkshelfvagrantplugininstallvagrant-omnibusCreate the Development EnvironmentThe creation of the development environment is automated by Vagrant.
Simply run the following:vagrantupfrom the root directory of this project.Once the virtual machine is provisioned, login to the vm:vagrantsshCreate and activate a virtualenv:mkvirtualenvmd2remarkInstall the dependencies:pipinstall-r/vagrant/requirements.txt
Package: md2reveal
md2revealThis tool converts markdown to reveal.js.
(Requires no additional syntax)It will split sections by h1/h2/h3 tags.
Check demo onhttps://www.liriansu.com/md2revealSource code is hosted onhttps://github.com/LKI/md2revealInstallationUse pip to install md2reveal:pip install md2revealOr install it directly by shell script:git clone https://github.com/LKI/md2reveal ~/.md2reveal
~/.md2reveal/setup.sh /usr/bin/md2revealThen you can use md2reveal commandmd2reveal hello.md
Package: md2sheet
Convert structed markdown content into sheet(XLSX).Is this for me?If you want convert a markdown like this:# Comics## Detective Comics (DC)### Batman Family#### Batman...#### Catwoman...## Marvel Comics### Avengers#### Iron Man...#### Captain America...into sheet like this:h1h2h3h4h5ComicsDetective Comics (DC)BatmanFamilyBatman...ComicsDetective Comics (DC)BatmanFamilyCat woman...ComicsMarvel ComicsAvengersIron Man...ComicsMarvel ComicsAvengersCaptain America...then you are on the right place.💡Futhuremore, you can use office tools to modifiy the sheet according to your preferences:RequirementsPython 3.11+The md2Sheet stands on the shoulders of giants:markdown-to-jsonOpenPyXLTyperInstallationpip install md2sheetUsagemd2xlsx [OPTIONS] IN_FILE OUT_FILEOptions:--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.Arguments:IN_FILE: Enter the markdown filepath [required]OUT_FILE: Enter the xlsx filepath [required]LicenseThis project is licensed under the terms of the MIT license.Contract
Package: md2shunn
md2shunnConverts Markdown (.md) files into Proper Manuscript Format for fiction writers
(a.k.a. Shunn Format,https://www.shunn.net/format/) as a Word (.docx) file.Example usagemd2shunn --input draft01.md --author 'Edgar Allan Poe' --title 'The Tell-Tale Heart'
# Outputs to draft01.docxFeaturesAutomatic conversion of straight to smart quotes and apostrophesAutomatic word countAutomatic conversion of full title and author to truncated versions for headerSupports bothModernandClassicformats via--formatflag
Package: md2tex
nb2mdis a package which convert Jupyter Notebook to markdown.md2texis a package which convert markdown to TeX.md2tex –deletedelete no linked images.$ ls
00.ipynb 01.ipynb
$ nb2md
Output 00.md
Output 01.md

$ ls *.md
00.md 01.md
$ md2tex
Output 00.tex
Output 01.texRequirementsPython 3FeaturesnothingRuleChapter:# [-]title[*|+][#label]Introduction:# はじめにBibliography:# 参考文献Section:## title[*][#label]Subsection:**title[*]**Figure![caption#fig:label~width](URI)Index:<#keyword｜ruby>Reference:<@label>Raw text:<=text>Footnote:<%contents>Column width:<~width>Setup$ pip install md2texHistory0.0.1 (2018-4-21)first release
Package: md2tgmd
md2tgmdmd2tgmd is a Markdown toTelegram-specific-markdownconverter.Usagefrommd2tgmdimportescapetext='''# title**bold**```# commentprint(qwer) # ferfeni1```# bn# b# Header## Subheader[1.0.0](http://version.com)![1.0.0](http://version.com)- item 1 -- item 1 -- item 1 -* item 2 #* item 3 ~1. item 12. item 2sudo apt install mesa-utils # 安装```python# commentprint("1.1\n")_\subsubsection{1.1}```\subsubsection{1.1}And simple text `with-ten`  `with+ten` + some - **symbols**. # `with-ten`里面的`-`不会被转义```print("Hello, World!") -```Cxy = abs (Pxy)**2/ (Pxx*Pyy)`a`a-b-c`n``-a----++++`++a-b-c`-n-``[^``]*`a``b-c``d``# pattern = r"`[^`]*`-([^`-]*)``w`-a----`ccccc`-n-`bbbb``a'''print(escape(text))'''▎*title**bold*```\# commentprint\(qwer\) \# ferfeni1```▎*bn*▎*b*▎*Header*▎*Subheader*[1\.0\.0](http://version\.com)[1\.0\.0](http://version\.com)• item 1 \-• item 1 \-• item 1 \-• item 2 \#• item 3 \~1\. item 12\. item 2sudo apt install mesa\-utils \# 安装```python\# commentprint\("1\.1\\n"\)\_\\subsubsection\{1\.1\}```\\subsubsection\{1\.1\}And simple text `with-ten`  `with+ten` \+ some \- *symbols*\. \# `with-ten`里面的`-`不会被转义```print\("Hello, World\!"\) -```Cxy \= abs \(Pxy\)\*\*2/ \(Pxx\*Pyy\)`a`a\-b\-c`n``-a----++++`\+\+a\-b\-c`-n-``\[^\`\`\]\*`a\`\`b\-c\`\`d\`\`▎*pattern*w`-a----`ccccc`-n-`bbbb\`\`a'''Referencehttps://github.com/skoropadas/telegramify-markdownLicenseThis project is licensed under GPLv3, which means you are free to copy, distribute, and modify the software, as long as all modifications and derivative works are also released under the same license.