Saravanan666/pypi-org huggingface dataset:
Package: pintrest-scraper
Titlepintrest ScraperDescrptionWith pintrest Scraper you can scrape search results and extract the contents produced by the search result.In pintrest scraper it will scrape the data present of the website and give json data which contains the details of the contents on the website.JSON sample data{"Scraper_repeat_data_6":[{"column_1":"\u0647\u0645\u0632\u0629 \u0627\u0644\u0648\u0635\u0644 | Learn Arabic Online, Learning Arabic, Arabic","pin_link":"/pin/547680004664580648/","vase_tag":[{"link":"/jawidakhtar/arabic-verbs/","text":"Arabic Verbs"}Click Here for moreRun Scraperfrompintrest_scraperimport*link="https://in.pinterest.com/pin/858146904003365433/"data=run_pintrest_scraperr(link)How it works?It takes URL of pintrest page with a search keyword to scrape the data.It generates the json data which contains the information of the pintrest search result.It gives the every detail present inside website in the form of json data.ExamplesBelow are some of the examples of URLs using which you can scrape:Example 1Example2Queries/ FeedbackIf you have some queries or feedback please contact us at followingTelegramEmail
Package: pints
What is Pints?PINTS (Probabilistic Inference on Noisy Time-Series) is a framework for optimisation and Bayesian inference on ODE models of noisy time-series, such as arise in electrochemistry and cardiac electrophysiology.PINTS is described inthis publication in JORS, and can be cited using the information given in ourCITATION file.
More information about PINTS papers can be found in thepapers directory.Using PINTSPINTS can work with any model that implements thepints.ForwardModelinterface.
This has just two methods:n_parameters() --> Returns the dimension of the parameter space.

simulate(parameters, times) --> Returns a vector of model evaluations at
                                the given times, using the given parametersExperimental data sets in PINTS are defined simply as lists (or arrays) oftimesand corresponding experimentalvalues.
If you have this kind of data, and ifyour model (or model wrapper)implements the two methods above, then you are ready to start using PINTS to infer parameter values usingoptimisationorsampling.A brief example is shown below:(Left)A noisy experimental time series and a computational forward model.(Right)Example code for an optimisation problem.
The full code can beviewed herebut a friendlier, more elaborate, introduction can be found on theexamples page.A graphical overview of the methods included in PINTS can beviewed here.Examples and documentationPINTS comes with a number ofdetailed examples, hosted here on github.
In addition, there is afull API documentation, hosted on readthedocs.io.Installing PINTSThe latest release of PINTS can be installed without downloading (cloning) the git repository, by opening a console and typing$ pip install --upgrade pip
$ pip install pintsNote that you'll need Python 3.6 or newer.If you prefer to have the latest cutting-edge version, you can instead install from the repository, by typing$ git clone https://github.com/pints-team/pints.git
$ cd pints
$ pip install -e .[dev,docs]To uninstall again, type:$ pip uninstall pintsWhat's new in this version of PINTS?To see what's changed in the latest release, see theCHANGELOG.Contributing to PINTSIf you'd like to help us develop PINTS by adding new methods, writing documentation, or fixing embarassing bugs, please have a look at theseguidelinesfirst.LicensePINTS is fully open source. For more information about its license, seeLICENSE.Get in touchQuestions, suggestions, or bug reports?Open an issueand let us know.Alternatively, feel free to email us atpints at maillist.ox.ac.uk.
Package: pinttrs
PinttrsPint meets attrsMotivationThe amazingattrslibrary is a game-changer when it
comes to writing classes. Its initialization sequence notably allows for
automated conversion and verification of attribute values. This package is an
attempt at designing a system to apply units automatically and reliably to
attributes withPint.FeaturesAttach automatically units to unitless values passed to initialize an attributeVerify unit compatibility when assigning a value to an attributeInterpret units in dictionaries with a simple syntaxDefine unit context to vary unitless value interpretation dynamicallyCheck thedocumentationfor more detail.LicensePinttrs is distributed under the terms of theMIT license.AboutPinttrs is written and maintained byVincent Leroy.Development is supported byRayference.Pinttrs is a component of theEradiate radiative transfer model.The Pinttrs logo is based onAgus Nugroho's glass icon and parts of
theattrslogo.
Package: pint-xarray
pint-xarrayA convenience wrapper for usingpintwithxarray.UsageTo convert the variables of aDatasetto quantities:In[1]:importpint_xarray...:importxarrayasxrIn[2]:ds=xr.Dataset({"a":("x",[0,1,2]),"b":("y",[-3,5,1],{"units":"m"})})...:dsOut[2]:<xarray.Dataset>Dimensions:(x:3,y:3)Dimensionswithoutcoordinates:x,yDatavariables:a(x)int64012b(y)int64-351In[3]:q=ds.pint.quantify(a="s")...:qOut[3]:<xarray.Dataset>Dimensions:(x:3,y:3)Dimensionswithoutcoordinates:x,yDatavariables:a(x)int64[s]012b(y)int64[m]-351to convert to different units:In[4]:c=q.pint.to({"a":"ms","b":"km"})...:cOut[4]:<xarray.Dataset>Dimensions:(x:3,y:3)Dimensionswithoutcoordinates:x,yDatavariables:a(x)float64[ms]0.01e+032e+03b(y)float64[km]-0.0030.0050.001to convert back to non-quantities:In[5]:d=c.pint.dequantify()...:dOut[5]:<xarray.Dataset>Dimensions:(x:3,y:3)Dimensionswithoutcoordinates:x,yDatavariables:a(x)float640.01e+032e+03b(y)float64-0.0030.0050.001For more, see thedocumentation
Package: pinventory
Pinventoryis an Ansible Dynamic Inventory for locating and
categorising Raspberry Pi computers on the local network.InstallationIn the Python environment which you are using:$ python setup.py installA wrapper script called simplypinventorywill be installed
which can be used to invoke the Python package.Direct usageTo obtain an Ansible inventory of Raspberry Pi computers on the
LAN:$ pinventory --list --pretty
{
    "_meta": {
        "hostvars": {
            "10.0.0.149": {
                "hostname": "lime",
                "ip": "10.0.0.149",
                "mac": "b8:27:eb:a5:93:c5"
            },
            "10.0.0.186": {
                "hostname": "raspberrypi",
                "ip": "10.0.0.186",
                "mac": "b8:27:eb:73:9d:67"
            }
        }
    },
    "raspberries": {
        "hosts": [
            "10.0.0.149",
            "10.0.0.186"
        ]
    }
}To obtain the host variables for a particular host:$ pinventory --host 10.0.0.149 --pretty
{
    "hostname": "lime",
    "ip": "10.0.0.149",
    "mac": "b8:27:eb:a5:93:c5"
}Invocation from AnsiblePass thepinventoryexecutable using the-iinventory option, and
Ansible will execute it as adynamic inventory.  For example, assumingpinventoryis available on the PATH, to run an ad hoc Ansible command
on all Raspberry Pi devices on the LAN, use:$ ansible raspberries -i `which pinventory` <command>CustomisationBy default the returned inventory includesallRaspberry Pi
computers on the local network. The contents of the inventory
and variables associated with each host can be customised by
providing pluggable functions at twopkg_resourcesentry
points capable of transforming the default inventory and
host variables respectively. Example functions can be found
in thepinventory.transforms.hostsvarsandpinventory.transforms.inventorysub-modules.
Package: pinyin
Translate chinese chars to pinyin based on Mandarin.datInstall$pipinstallpinyinUsage>>>importpinyin>>>printpinyin.get('你 好')nǐhǎo>>>printpinyin.get('你好',format="strip",delimiter=" ")nihao>>>printpinyin.get('你好',format="numerical")ni3hao3>>>printpinyin.get_initial('你好')nhNoteformatmust be one of: numerical/diacritical/stripPrototype Chinese->English>>>importpinyin.cedict>>>pinyin.cedict.translate_word('你')['you (informal, as opposed to courteous 您[nin2])']>>>pinyin.cedict.translate_word('你好')['Hello!','Hi!','How are you?']>>>list(pinyin.cedict.all_phrase_translations('你好'))[['你',['you (informal, as opposed to courteous 您[nin2])']],['你好',['Hello!','Hi!','How are you?']],['好',['to be fond of','to have a tendency to','to be prone to']]]Note that this is a prototype, and only functions from Python 3.Licensepinyinis free software, under an MIT-style license. See LICENSE for details.The data file for translations is the CC-BY-SA 3.0.The translations are from the CC-CE-DICT project (https://cc-cedict.org/wiki/), by Denisowski, Peterson, Brelsford, and others.
Package: pinyin4py
# 汉字转拼音 (hz2py)我们希望安居客的搜索引擎能够更好的做到同音字的容错，采用拼音容错是一个不错的方法。因此，需要一个将汉字转换为拼音的组件。同时，汉字转拼音组件还可以有多个用途，例如以拼音的首字母来检索小区名、人名等。这样我们需要一个通用的将汉字转换为拼音的服务。## 功能基本功能就是中文拉丁化，输入一段中文文本，输出转变为汉语拼音的文本。要求原文中的全角标点符号、空格等应该转为对应的半脚符号。原汉字与英文间如果没有空格分隔，转换为拼音后应该加入空格分隔。例如，“**我的英文名是Bob。**” 转化后为'**wo de ying wen ming shi Bob.**'### 多种输出格式* 声调`wǒ dē yīng wén míng shì Bob`或`wo3 de1 ying1 wen2 ming2 shi4 Bob`* 声母输出`w d y w m sh Bob`* 首字母输出`w d y w m s Bob`### 词组形式的拼音输出允许将一个中文词组以拼音词组的形式输出。本服务不需考虑中文分词，要求输入的文本已经是分词完毕的。例如输入南京市 长江 大桥输出：nanjingshi changjiang daqiao注意与缺省情况下一个汉字一个拼音分隔的输出格式的区别。### 多音字处理应该能够智能的处理多音字的情况，例如输入：南京市长江大桥输出：nan jing shi chang jiang da qiao在无法智能辨认多音字的情况下，同时输出一个字或词的多个拼音，以|符号分隔多音字(词)。例如：输入：南京市长江大桥输出：nan jing shi chang|zhang jiang da|dai qiao以词组为切分单位时，输出整个词的多种拼音输入：南京市 长江 大桥输出：nanjingshi changjiang|zhangjiang daqiao|daiqiao需要建立合理的拼音词库以解决常用的多音字问题，例如“莘庄立交”、“北翟路”等### 南方口音不再区分前后鼻音、卷舌音、翘色音，例如wo de yin wen min si Bob对应表为：z = zh              c = ch              s = shk = g               f = h               l = nan = ang            en = eng            in = inglan = lang          uan = uang          l = r## API服务名称：**hz2py**### convert(text, fmt=[df], sc=True, pp=False, fuzzy=0) ####### 参数 ####* **text**待转换的中文文本* **fmt**设定转换的方式的格式。缺省为返回单字拆分的拼音格式* `df` - Default 全拼* `tm` - Tone Marks 全拼带音调* `tn` - Tone Numbers 全拼带数字形式的音调* `ic` - Initial Consonant only 声母* `fl` - First Letter 首字母* **sc**Split Character，是否以单个汉字为切割单位的拼音输出字为单位* `True` - 单字拆分* `False` - 不拆分。以输入的中文文本的分词为准* **pp**Polyphone 是否输出无法判断的多音字(词)* `False` - 不输出多音字* `True` - 输出多音字* **fuzzy**Puzzy 拼音模糊化* `0` - 不处理* `1` - 模糊化 z-zh c-ch s-sh* `2` - 模糊化 k-g f-h l-n l-r* `4` - 模糊化 an-ang en-eng in-ing lan-lang uan-uang#### 返回结果 ####如果只需要一个格式，直接返回转换后的结果。例如调用`convert('南京市长江大桥')` 返回：```nan jing shi chang jiang da qiao```如果有多个格式选项，返回所有格式的结果。例如调用`convert('南京市 长江 大桥', fmt=[tm,tn,fl], sc=False)` 返回：```{'tm': 'nánjīngshì chángjīang dàqiáo''tn': 'nan2jing1shi4 chang2jiang1 da4qiao2''fl': 'njs cj dq'}```假设转拼音服务无法识别“莘”字在下面短语中的读音，当调用`convert('莘庄 立交', fmt=[tn,fl], sc=False, pp=True)`将返回：```{'tn': 'xin1zhuang1|shen1zhuang1 li4jiao3''fl': 'xz|sz lj'}```
Package: pinyinCopybook
pinyinCopybook拼音汉字田字格A4模版, 排版后生成Pillow Image, 不依赖外部排版包==================================使用说明目前支持A4纸，每行8格、12格汉字拼音混排，以及纯拼音版式。如有其他格式需求，可以自行扩展。每页8行，每行8格拼音混排，使用:frompinyinCopybookimportTemplatepage=Template.generate_a4_grid_page(8)每页11行，每行12格拼音混排，使用:page=Template.generate_a4_grid_page(12)纯拼音，使用:page=Template.generate_a4_pinyin_page()添加汉字和对应拼音page.add_content('你','nǐ')page.add_content('好','hǎo')page.add_content('，','，',0,1)page.add_content('拼','pīn')page.add_content('音','yīn')page.add_content('世','shì')page.add_content('界','jiè')success=page.add_content('！','！',0,1)自动换行，当写满一页时返回False；更详细的用法请参考tests中的例子。开源协议本软件采用Apache 2.0协议，使用时请保留原始许可声明。捐赠方式如果您愿意给予我一点小小的支持，请扫码捐赠一杯咖啡吧，非常感谢！支付宝微信支付页面效果每行8格拼音混排，适用阅读入门阶段每行12格拼音混排，适用开始段落阅读阶段纯拼音版式，适合强化整体音节拼读
Package: pinyin-dec
pinyin-dec (“Pinyin Decorate”) is a small command-line utility program for
converting numbered Pinyin text to its proper form with diacritics. The basic
form is the following:Usage: pinyin-dec [options] [string ...]

Decorate Pinyin text with its proper diacritics.

Options:
  -h, --help       print this help message and exit
  -v, --verbose    include information useful for debuggingA simple way to use it is like this:$ pinyin-dec han4 yu3 pin1 yin1
hàn yǔ pīn yīnAnother example:$ pinyin-dec chai2 mi3 you2 yan2 jiang4 cu4 cha2
chái mǐ yóu yán jiàng cù cháIt can also handle capitalized and conjoined Pinyin automatically:$ pinyin-dec Han4yu3 Pin1yin1
Hànyǔ PīnyīnIt knows about the “v” and “u:” conventions, and converts them accordingly:$ pinyin-dec NV3 nv3 NU:3 nu:3 LV4 lv4 LU:4 lu:4
NǙ nǚ NǙ nǚ LǛ lǜ LǛ lǜIt ignores English words and other things that don’t look like Pinyin:$ pinyin-dec "She is a nv3han4zi."
She is a nǚhànzi.It leaves punctuation alone too, as you can see:$ pinyin-dec 'Confucius is "Kong3fu1zi3." Mencius is "Meng4zi3."'
Confucius is "Kǒngfūzǐ." Mencius is "Mèngzǐ."If no arguments are given, it just reads text from the standard input:$ echo 'Sha1 ji1 xia4 hou2.' | pinyin-dec
Shā jī xià hóu.It also allows you to enter text and get the results one line at a time:$ pinyin-dec
chi1 bu4 dao4 pu2 tao5 shuo1 pu2 tao5 suan1
chī bù dào pú tao shuō pú tao suānpinyin-dec is written as a traditional Unix-style command-line utility.
Additionally, the main program module can be fully imported into Python so its
internals are accessible to other programs.pinyin-dec is written in Python 3 and available under the MIT License.InstallationTo install these programs the “Python way,” you can use setup.py:# python3 setup.py installIf you have pip installed, that is the best way.Documentationpinyin-dec includes a Unix manual page (“manpage”), which is installed with the
software. You can type “man pinyin-dec” to review the functions provided by the
software, how to use it, and other program information.
Package: pinyin-hitalent
Translate chinese chars to pinyin based on Mandarin.datInstall$pipinstallpinyinUsage>>>importpinyin>>>printpinyin.get('你 好')nǐhǎo>>>printpinyin.get('你好',format="strip",delimiter=" ")nihao>>>printpinyin.get('你好',format="numerical")ni3hao3>>>printpinyin.get_initial('你好')nhNoteformatmust be one of: numerical/diacritical/stripPrototype Chinese->English>>>importpinyin.cedict>>>pinyin.cedict.translate_word('你')['you (informal, as opposed to courteous 您[nin2])']>>>pinyin.cedict.translate_word('你好')['Hello!','Hi!','How are you?']>>>list(pinyin.cedict.all_phrase_translations('你好'))[['你',['you (informal, as opposed to courteous 您[nin2])']],['你好',['Hello!','Hi!','How are you?']],['好',['to be fond of','to have a tendency to','to be prone to']]]Note that this is a prototype, and only functions from Python 3.Licensepinyinis free software, under an MIT-style license. See LICENSE for details.The data file for translations is the CC-BY-SA 3.0.The translations are from the CC-CE-DICT project (https://cc-cedict.org/wiki/), by Denisowski, Peterson, Brelsford, and others.
Package: pinyin-jyutping
Python module which converts a Chinese sentence from Simplified/Traditional to Mandarin/Pinyin and Traditional/Simplified to Cantonese/Jyutping, outputting diacritics (accented characters). I designed this library to create Mandarin and Cantonese flashcards.Want to support my work on this module ? Become a supporter:https://www.patreon.com/lucwInstall$pipinstallpinyin_jyutpingUsagePinyingenerate the best solution:>>> import pinyin_jyutping
>>> p = pinyin_jyutping.PinyinJyutping()
>>> p.pinyin('忘拿一些东西了')
'wàng ná yīxiē dōngxī le'
>>> p.pinyin('忘拿一些东西了', tone_numbers=True)
'wang4 na2 yi1xie1 dong1xi1 le5'
>>> p.pinyin('忘拿一些东西了', tone_numbers=True, spaces=True)
'wang4 na2 yi1 xie1 dong1 xi1 le5'generate all possible solutions:>>> import pinyin_jyutping
>>> p = pinyin_jyutping.PinyinJyutping()
>>> p.pinyin_all_solutions('忘拿一些东西了')
{'word_list': ['忘', '拿', '一些', '东西', '了'], 'solutions': [['wàng'], ['ná'], ['yīxiē'], ['dōngxī', 'dōngxi'], ['le', 'liǎo', 'liào']]}Jyutpinggenerate the best solution:>>> import pinyin_jyutping
>>> j = pinyin_jyutping.PinyinJyutping()
>>> j.jyutping('我出去攞野食')
'ngǒ cēothêoi ló jěsik'
>>> j.jyutping('我出去攞野食', tone_numbers=True)
'ngo5 ceot1heoi3 lo2 je5sik6'
>>> j.jyutping('我出去攞野食', tone_numbers=True, spaces=True)
'ngo5 ceot1 heoi3 lo2 je5 sik6'generate all possible solutions:>>> import pinyin_jyutping
>>> j = pinyin_jyutping.PinyinJyutping()
>>> j.jyutping_all_solutions('我出去攞野食')
{'word_list': ['我', '出去', '攞', '野食'], 'solutions': [['ngǒ'], ['cēothêoi'], ['ló', 'lō'], ['jěsik', 'jězi', 'jěsit', 'jězik']]}How it worksUses the Jieba library (https://github.com/fxsjy/jieba) to tokenize the sentence. Then words are converted to Pinyin/Jyutping either as a whole, or character by character, using the CC-Canto dictionary (http://cantonese.org/about.html). The Jyutping diacritic conversion is not standard but originally described here:http://www.cantonese.sheik.co.uk/phorum/read.php?1,127274,129006
Package: pinyin-jyutping-sentence
Python module which converts a Chinese sentence from Simplified/Traditional to Mandarin/Pinyin and Traditional/Simplified to Cantonese/Jyutping, outputting diacritics (accented characters). I designed this library to create Mandarin and Cantonese flashcards.Want to support my work on this module ? Become a supporter:https://www.patreon.com/lucwInstall$pipinstallpinyin_jyutping_sentenceUsage>>>importpinyin_jyutping_sentence>>>pinyin_jyutping_sentence.pinyin("提高口语")'tígāo kǒuyǔ'>>>pinyin_jyutping_sentence.jyutping("我出去攞野食")'ngǒ cēothêoi ló jěsik'# the tone_numbers argument can be used to disable diacritics>>>pinyin_jyutping_sentence.pinyin("忘拿一些东西了",tone_numbers=True)'wang4 na2 yi1xie1 dong1xi5 le5'# the spaces argument adds a space between each syllable>>>pinyin_jyutping_sentence.pinyin("忘拿一些东西了",tone_numbers=True,spaces=True)'wang4 na2 yi1 xie1 dong1 xi5 le5'>>>pinyin_jyutping_sentence.jyutping("有啲好貴",tone_numbers=True)'jau5 di1 hou3 gwai3'Changelogv1.1: improve conversion logic for single charactersv0.9: removed stdout logging, added tox supportv0.8: embed MDBG CC-CEDICT for more accurate Pinyin conversionsv0.6: allow converting Traditional characters to Pinyin, and Simplified to JyutpingGoogle Sheets add-onThis library is available in the form of a Google Sheets Add-on. You can read about it here:https://medium.com/@lucw/converting-chinese-characters-to-pinyin-or-jyutping-on-google-sheets-eb12cca669cbHow it worksUses the Jieba library (https://github.com/fxsjy/jieba) to tokenize the sentence. Then words are converted to Pinyin/Jyutping either as a whole, or character by character, using the CC-Canto dictionary (http://cantonese.org/about.html). The Jyutping diacritic conversion is not standard but originally described here:http://www.cantonese.sheik.co.uk/phorum/read.php?1,127274,129006
Package: pinyin-kana
Chinese Pronounce in KanaOverviewThis library is designed to convert Chinese text into Japanese Katakana characters based on their pronunciation.Demo凱文要不要吃香蕉https://github.com/RUI-LONG/Python-Pinyin-Kana/assets/25581309/a974f9e7-61d8-43d2-9a46-a74e57411669你應該要被加薪https://github.com/RUI-LONG/Python-Pinyin-Kana/assets/25581309/4637d939-4e9f-4de5-8230-6112d0c7007b哩喜嘞工三小https://github.com/RUI-LONG/Python-Pinyin-Kana/assets/25581309/01e95025-5237-40a4-b041-3313794e1f45InstallationPrerequisite: pinyin-kana requiresPython 3.7 or higherpip install pinyin-kanaUsageHere's a simple example of how to use thePronounceConverterclass to convert Chinese text to Katakana:frompinyin_kanaimportto_katakanaresult=to_katakana("你好")print(" ".join(result))print(f"https://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&tl=ja&q={'+'.join(result)}")
Package: pinyin_markdown
# Pinyin and Python and Markdown, together!Type Chinese pinyin with tone numbers, and have them automagically converted to beautiful accented pinyin.[![travis](https://travis-ci.org/bcaller/pinyin_markdown.svg)](https://travis-ci.org/bcaller/pinyin_markdown)[![PyPI version](https://badge.fury.io/py/pinyin_markdown.svg)](https://badge.fury.io/py/pinyin_markdown)A Markdown extension that looks through your text for things like `yi1dian3r`, `Xi3an4` and `lu:5` and replacesthem with accented pinyin. The pinyin syllables are marked up with span tags with classes denotingthe tone.Add `'pinyin_markdown'` to your Markdown call and watch the magic unfold:```python>>> from markdown import Markdown>>> markdown = Markdown(extensions=['pinyin_markdown']>>> markdown.convert('i ♥ Xi3an4!')<p>i ♥ <span class="tone3">Xǐ</span><span class="pyap">'</span><span class="tone4">àn</span></p>>>> markdown = Markdown(extensions=['pinyin_markdown(tone_class=, apostrophe_class=apo)']>>> markdown.convert('i ♥ Xi3an4!')<p>i ♥ <span>Xǐ</span><span class="apo">'</span><span>àn</span></p>```The three examples above are rendered as:  yīdiǎnr, Xǐ'àn and lü, with HTML:```html<span class="tone1">yī</span><span class="tone3">diǎn</span><span class="erhua">r</span><span class="tone3">Xǐ</span><span class="pyap">'</span><span class="tone4">àn</span><span class="tone5">lü</span>```## Options| Option    | Type | Default |Description ||-----------|------|---------|------------|| tone_class | str | 'tone{}' | HTML class name for tones, which will be formatted with tone_class.format(tone) where tone is a number 1-5|| apostrophe_class | str | 'pyap' | HTML class name for apostrophes needed between vowels || erhua_class | str | 'erhua' | HTML class name for the erhua 'r' e.g. in dianr || entities | bool | False | If True, output the accented characters as entity codes `&466#;` |## Installation>From Github:```git clone https://github.com/bcaller/pinyin_markdown.gitpip install -e ./pinyin_markdown```>From Pypi:```pip install pinyin_markdown```Also have a look at [tsroten's zhon](https://github.com/tsroten/zhon) for more Python pinyin goodness.
Package: pinyinsplit
This is a Python library for splitting a Chinese Pinyin phrase into possible
permutations of valid Pinyin words.UsageSome examples of using the library are as follows:>>> from pinyinsplit import PinyinSplit
>>> pys = PinyinSplit()
>>> pys.split('XiangGangDaXue')
[['Xiang', 'Gang', 'Da', 'Xue'], ['Xiang', 'Gang', 'Da', 'Xu', 'e'], ['Xi', 'ang', 'Gang', 'Da', 'Xue'], ['Xi', 'ang', 'Gang', 'Da', 'Xu', 'e']]
>>> pys.split('shediaoyingxiongchuan')
[['she', 'diao', 'ying', 'xiong', 'chuan'], ['she', 'diao', 'ying', 'xiong', 'chu', 'an'], ['she', 'di', 'ao', 'ying', 'xiong', 'chuan'], ['she', 'di', 'ao', 'ying', 'xiong', 'chu', 'an']]
>>> pys.split('shediaoyingxiongchuanxyz')
[]InstallationYou can installpinyinsplitas follows:$pipinstallpinyinsplit