Saravanan666/pypi-org huggingface dataset:
Package: commoncorrections
CC - CommonCorrectionsA simple repo that is used to correct common ASR outputs.
The aim is not on mistakes but different ways of transcribing the same thing with a focus on how something may sound as opposed to the shortened form.
The primary use case is to align the ground-truth and output from ASRs just before the WER is calculated.Static Examplesthere's -> there is
google.com -> google dot comDynamic Examples1 2 3 -> one two three
53.4 -> fifty three point four
23:59 -> twenty three fifty nineFeaturesDesigned to be used and fast (ish) with Pandas dataframesLots of built in corrections for freeAbility to easily extend with private correctionsGetting StartedInstall with:pip install commoncorrectionsImport with:from commoncorrections import CommonCorrectionsUsage ExamplesTurn numbers into words:>>>cc=CommonCorrections()>>>print(cc.correct_str("1 2 3"))onetwothreeTurn times into words:>>>cc=CommonCorrections()>>>print(cc.correct_str("23:59"))twentythreefiftynineCorrect a pandas dataframe:df=pd.DataFrame(data={"transcript":['5 4 3',"123 the time is 1:23"],"asr_1":["five four three","one two three the time is one twenty three"],"filename":["./my_local_file.wav","file2.wav"]})cc=CommonCorrections()# to correct only specific columnsnew_df=cc.correct_df(df,column_list=['transcript','asr_1'])# to apply to whole dataframenew_whole_df=cc.correct_df(df)mypy Type ChecksI tested installing mypy to check that types are compatible(py)rob@rob-T480s:~/projects/CommonCorrections/commoncorrections(master)$mypycommoncorrections.py
Success:noissuesfoundin1sourcefileChange Logv1.0.0 - First releasev1.0.1 - Fixed packaging issuev1.0.3 - Fixed pip packaging issuev1.0.4 - Fixed pip packaging issuev1.0.5 - Fixed issue single digitsv1.0.6 - Fixed case where dataframe contains a non-str type (e.g. int)v1.0.7 - Fixed adding additional dict works and added print(cc) objectv1.0.8 - Fixed print bug with replv1.0.9 - Added some words with space in default corrections csvv1.0.10 - Typo in some correctionsv1.0.11 - Added test case and fixed mistakev1.0.12 - Fixed pinning requirements
Package: common-dash
Not On PyPiThis is a reserved package name to preventdependency confusion / substitution attack. If installed, will immediately raise an error indicating that the wrong PyPi repository was used.If someone would like to use this package name, I would be happy to discuss handoff. Please contact me through a Github issue onKyleKing/not-on-pypior if I don't respond, you can try mygmailaccountdev.act.kyle
Package: commondata
Note: we are discussing whether this package is meaningful.  Seehttp://lino-framework.org/tickets/109.htmlThis package is the heart of “common data”, a sustainable way of
maintaining and sharing structured common knowledge.  The Python
package itself contains just someutilitiesand defines thecommondatanamespace. It is the base for packages likecommondata.be:
Common knowledge about Belgiumcommondata.ee:
Common knowledge about Estoniacommondata.eg:
Common knowledge about EgyptFeaturesMaintained in PythonThe Python programming language brings together two qualitiesa syntax which makes it easy (or at least possible) to be used by
non-programmersa powerful programming language working behind the scenesFreely available under the GPLFree software should not depend on non-free material.Designed to be importedThe library doesnotprovide much querying functionality.  Just
the basic minimum, used to write test cases.  This is a design
choice. This data is meant to be imported into existing systems which
offer their own querying facilities.InstallationThe easiest way is to type:pip install commondata.ee commondata.beAlternatively you might prefer to use the development version:$ git clone https://github.com/lsaffre/commondata.git
$ git clone https://github.com/lsaffre/commondata-ee.git
$ git clone https://github.com/lsaffre/commondata-be.git

$ pip install -e commondata
$ pip install -e commondata.ee
$ pip install -e commondata.beOnline version of this document onhttps://github.com/lsaffre/commondataUtilitiesHow to use the Place and PlaceGenerator classes.You define a subclass of Place for each “type” of place:>>> from commondata.utils import Place, PlaceGenerator
>>> class PlaceInFoo(Place):
...     def __str__(self):
...        return self.name
>>> class Kingdom(PlaceInFoo):
...     value = 1
>>> class County(PlaceInFoo):
...     value = 2
>>> class Borough(PlaceInFoo):
...     value = 3
>>> class Village(PlaceInFoo):
...     value = 3The PlaceGenerator is used to instantiate to populatePart 1 : configuration:>>> pg = PlaceGenerator()
>>> pg.install(Kingdom, County, Borough, Village)
>>> pg.set_args('name')Part 2 : filling data>>> root = pg.kingdom("Kwargia")
>>> def fill(pg):
...    pg.county("Kwargia")
...    pg.borough("Kwargia")
...    pg.village("Virts")
...    pg.village("Vinks")
...    pg.county("Gorgia")
...    pg.village("Girts")
...    pg.village("Ginks")>>> fill(pg)Part 3 : using the data>>> [str(x) for x in root.children]
['Kwargia', 'Gorgia']
>>> kwargia = root.children[0]
>>> [str(x) for x in kwargia.children]
['Kwargia', 'Virts', 'Vinks']Multilingual place namesYou use thecommondata.utils.PlaceGenerator.set_args()method to
specify the names of the fields of subsequent places.>>> pg = PlaceGenerator()
>>> pg.install(Kingdom, County, Borough, Village)
>>> pg.set_args('name name_ar')
>>> root = pg.kingdom("Egypt", u'\u0645\u0635\u0631')
>>> print(root.name_ar)
مصر
Package: common-data
Common Data gRPC API client灵犀公共数据微服务接口安装pip install commondata配置settings配置指定serverCOMMON_DATA_SERVER = 'host:port'使用# 导入查询接口
from commondata.apis import do_query

# 定义查询对象
query_obj = {
    'model': 'CompanyModify',		# model名（必须）
    'operate': {		# 操作（必须）
        'filter': "entid_id=363248",		# 方法、参数
        'order_by': "'-ALTDATE'",
    },
    'paging': '[0:5]'		# 分页（可选）
}

# 查询并接收结果

status, data = do_query(query_obj)
Package: commondata.be
Common dataabout
Belgium. Freely available and maintained in Python.Note: we are discussing whether this package is meaningful.
Seehttp://lino-framework.org/tickets/109.htmlThis currently includes a list of Belgian places in multiple languages
with zip codes.DISCLAIMER: This comes with no warranty at all.Usage example:>>> from commondata.be.places import root
>>> belgium = root()
>>> print(', '.join([x.fr for x in belgium.children]))
Bruxelles, Région flamande, Région wallonne
>>> print(', '.join([x.nl for x in belgium.children]))
Brussel, Vlaams Gewest, Wallonië
>>> wallonia = belgium.children[2]
>>> print(', '.join([x.fr for x in wallonia.children]))
Namur, Liège, Hainaut, Limbourg, Brabant wallon
>>> print(', '.join([x.nl for x in wallonia.children]))
Namen, Luik, Henegouwen, Limburg, Waals-BrabantThe following number will decrease when we continue to change “city”
entries into “village” or “township” entries:>>> liege = wallonia.children[1]
>>> len(liege.children)
353
>>> eupen = liege.get(fr="Eupen")
>>> print(eupen.zip_code)
4700
Package: commondata.ee
Common dataabout
Estonia. Freely available and maintained in Python.This currently includes a list of Estonian places with zip codes.DISCLAIMER: This comes with no warranty at all.
Note: we are discussing whether this package is meaningful.
Seehttp://lino-framework.org/tickets/109.htmlUsage examples:>>> from commondata.ee.places import root
>>> eesti = root()
>>> print(', '.join([x.name for x in eesti.children]))
Harju, Hiiu, Ida-Viru, Jõgeva, Järva, Lääne, Lääne-Viru, Põlva, Pärnu, Rapla, Saare, Tartu, Valga, Viljandi, Võru
>>> raplamaa = eesti.children[9]
>>> print(', '.join([x.name for x in raplamaa.children]))
Kehtna, Rapla, Märjamaa, Järvakandi, Juuru, Kaiu, Käru, Kohila, Vigala, Raikküla
>>> vigala = raplamaa.children[8]
>>> len(vigala.children)
26
>>> print(', '.join([x.name for x in vigala.children]))
...  #doctest: +NORMALIZE_WHITESPACE
Vana-Vigala, Kivi-Vigala, Kojastu, Palase, Tiduvere, Paljasmaa,
Rääski, Naravere, Oese, Araste, Kurevere, Manni, Vaguja, Tõnumaa,
Ojapere, Kausi, Vängla, Kesu, Pallika, Jädivere, Sääla, Läti, Leibre,
Konnapere, Päärdu, Avaste>>> v6rumaa = eesti.children[14]
>>> print(v6rumaa.name)
Võru
>>> print(', '.join([x.name for x in v6rumaa.children]))
Vastseliina, Võru, Antsla, Varstu, Sõmerpalu, Rõuge, Mõniste, Haanja, Urvaste, Lasva, Misso, Meremäe, Kirumpää, Navi, Meegomäe
>>> haanja = v6rumaa.children[7]
>>> print(haanja.name)
Haanja
>>> print(', '.join([x.name for x in haanja.children]))
...  #doctest: +NORMALIZE_WHITESPACE
Pausakunnu, Andsumäe, Mustahamba, Mäe-Suhka, Mäe-Tilga, Tsiamäe,
Soodi, Trolla, Purka, Posti, Kirbu, Vaarkali, Kääraku, Tsiiruli,
Haavistu, Tsilgutaja, Lillimõisa, Saluora, Märdimiku, Rusa,
Vastsekivi, Käänu, Holdi, Vaalimäe, Tõnkova, Mäe-Palo, Pressi,
Kergatsi, Kuiandi, Ihatsi, Kaldemäe, Raagi, Horoski, Pillardi, Külma,
Kaaratautsa, Sarise, Saika, Hulaku, Palanumäe, Preeksa, Naapka,
Kriguli, Ala-Suhka, Sormuli, Vihkla, Kuklase, Palli, Ruusmäe,
Loogamäe, Meelaku, Murati, Uue-Saaluse, Lüütsepä, Ala-Palo, Mallika,
Mahtja, Kaloga, Vungi, Ala-Tilga, Resto, Leoski, Palujüri, Tummelka,
Vänni, Hanija, Plaksi, Kilomani, Piipsemäe, Luutsniku, Puspuri,
Hämkoti, Simula, Vorstimäe, Miilimäe, Kuura, Kõomäe, Söödi, Plaani,
Vakari, Peedo, Tuuka, Pundi, Kotka
>>> len(haanja.children)
84
>>> print(haanja.children[77].name)
Söödi
>>> print(haanja.children[6].name)
Soodi>>> harju = eesti.children[0]
>>> tallinn = harju.children[0]
>>> print(tallinn.name)
Tallinn
>>> print(', '.join([x.name for x in tallinn.children]))
...  #doctest: +NORMALIZE_WHITESPACE
Haabersti, Kesklinn, Kristiine, Lasnamäe, Mustamäe, Nõmme, Pirita, Põhja-Tallinn
Package: commondata.eg
The ``commondata.eg`` package=============================`Common data <https://github.com/lsaffre/commondata>`_ aboutEgypt. Freely available and maintained in Python.This currently includes a list of Egyptian places with zip codes.[ The problem about ZIP code that I don't think that we have specific range]DISCLAIMER: This comes with no warranty at all.+ Ver 0.0.2:Add Arabic name to Cities and Country+ Ver 0.0.1:BasedUsage examples:>>> from commondata.eg.places import root>>> egypt = root()>>> print(', '.join([x.name_en for x in egypt.children]))El-Marg, Al Salam, Ain Shams, Al-Matariyyah, Al Zeitoun, Haddaq Al Qubbah, Al Nuzhah, Misr Al Jadidah, Al Waili, Al Zawiyah Al Hamra, Al Sharabiyah, Al Sajil, Shobra, Rud Al Faraj, Bulaq, Al Azbakeya, Manshiyat Naser, Mokattam, Madinat Nasr, Qasr al Nil, Al Zamalek, Abdin, Al Muski, Bab Al-Shaariyah, Al Azhar, Al Jamaliyah, Al-Darb al Ahmar, Al Sayidah Zaynab, Misr Al Qadimah, Al Khalifa, Al Basatin, Maadi, Turah, 15 May, Helwan, Al-Tabin, Qahirah al Jadidah, Al Shuruq, Badr, Others, Giza, Al Haram, King Faisel, Memphis, 6th of October, Sheikh Zayed, Others, Alexandria, Montazah, Alexandria Shark (East), Alexandria Wassat (Middle), Gomrok, Agami, Amriya, Borg El Arab, Others, Damietta, Ras El Bar, New Damietta, Faraskur, Al Zarqa, Kafr Saad, Others, Port Said, Port Fouad, Others>>> print(', '.join([x.name_ar for x in egypt.children]))المرج, السلام, عين شمس, المطرية, الزيتون, حدائق القبة, النزهة, مصر الجديدة, الوايلي, الزاوية الحمراء, الشرابية, السجل, شبرا, روض الفرج, بولاق, الأزبكية, منشية نصر, المقطم, مدينة نصر, قصر النيل, الزمالك, عبدين, الموسكي, باب الشعرية, الأزهر, الجمالية, الدرب الأحمر, السيد زينب, مصر القديمة, الخليفة, البساتين, المعادي, طرة, 15 مايو, حلوان, التبين, القاهرة الجديدة, الشروق, بدر, اخرى, الجيزة, الهرم, الملك فيصل, ممفيس, السادس من اكتوبر, الشيخ زايد, اخرى, الإسكندري, المنتزة, شرق الإسكندرية, غرب الإسكندرية, الجمرك, العجمي, الاميرية, برج العرب, اخرى, دمياط, رأس البر, دمياط الجديدة, فارسكور, الزرقا, كفر سعد, اخرى, بورسعيد, بورفؤاد, اخرىOnline version of this document on:https://github.com/lsaffre/commondatahttp://www.iamdevops.com/blog/2015/0117.html
Package: common-dates
Common DatesA simple library for generating dates in common scenarios for data analysis.Usagefrom common_dates import common_datesFunctionscreate_date_from_str: Create a Datetime object from a string with specific date_format.get_today: Create a Date Object or String of Today.get_yesterday: Create a Date Object or String of Yesterday.get_current_month: Return current month.get_last_month: Return last month date.get_previous_nmonth: Return last n-month.get_same_day_last_week: Return the same day of the week of last week.get_same_day_last_month: Return the same day of last month.
Package: common-decorators
common-decoratorsDelightful Python decorators for daily useInstall$pipinstallcommon-decoratorsUsagefromcommon_decoratorsimport(lazy)@lazyDefines a getter property and will assign the attribute as a normal value after the first getclassFoo:@lazydefbar(self):returntheVeryHeavyCalculation()foo=Foo()print(foo.bar)LicenseMIT
Package: common-exceptions
通用异常CHANGELOG0.1.1新增四个异常类UserNotExist: 用户不存在UserBannedError: 用户被封ArticleNotExistError: 文章不存在ArticleBannedError: 文章被封支持的异常UserNotExist: 用户不存在UserBannedError: 用户被封ArticleNotExistError: 文章不存在ArticleBannedError: 文章被封
Package: common-extractor
表格通用抽取文档见http://wiki.datagrand.com/pages/viewpage.action?pageId=21333112调试方法：
1，执行git clone ssh://git@git.datagrand.com:58422/nlp/pdf2txt_decoder.git 克隆到libs 文件夹下
2, 执行git clone ssh://git@git.datagrand.com:58422/idps/document_beans.git 克隆到libs 文件夹下将上述克隆的两个项目，在pycharm中标记为source root即可开始测试。
Package: commonfate-provider
Provider Development KitCommon Fate Provider Development Kit for Python.What is a provider?A Provider is a Python service which provides a consistent API for managing fine-grain permissions.Managing permissions in cloud providers, SaaS applications, and CI/CD platforms usually requires access to highly sensitive secrets, like administrative API tokens. The Provider framework allows for access to be granted and revoked to these platforms without requiring direct access to these tokens:What does the Provider Development Kit do?The Provider Development Kit (PDK) makes it easy to develop and deploy Providers.classProvider(provider.Provider):api_url=provider.String()@access.target()classTarget:...@access.grant()defgrant(p:Provider,subject:str,target:Target):# perform API calls here to grant access...@access.revoke()defrevoke(p:Provider,subject:str,target:Target):# perform API calls here to revoke access...The PDK handles configuration and packaging into a cloud-native function which can be executed by an application.Supported runtimesCurrently the supported runtimes for Providers are as follows:AWS LambdaProvider SchemasEach Provider has a strongly-typed schema. An example schema is shown below:{"audit":{"resourceLoaders":{},"resources":{}},"config":{},"target":{"MyTarget":{"schema":{"first":{"description":"first var","id":"first","resourceName":null,"title":"First","type":"string"}}}}}The schema is based onJSON Schemaand allows applications using Providers to interpret the available resources and display the appropriate UI.
Package: commonground-api-common
Commonground-API-common biedt generieke implementaties en tooling voor RESTful APIs
in een Common Ground gegevenslandschap.Dit project is een fork van commonground-api-common.Zie de uitgebreidedocumentatievoor de features en het gebruik.Contents1Features1FeaturesCentraal beheer van constanten die de verschillende componenten overstijgenGeoJSON OpenAPI definitiesSupport voor Geo CRS negotationIngebouwde support voor nested viewsets met declaratievere syntax voor
registratieVaak voorkomende validators:RSIN/BSN validatorNumerieke waarde validatorNiet-negatieve waarde validatorAlfanumerieke waarde (zonder diacritics)URL-validator (test dat URL bestaat) met pluggable link-checkerUntilNowValidator- valideer datetimes tot en metnu.UniekeIdentificatieValidator(in combinatie met organisatie)InformatieObjectUniqueValidatorom te valideren dat M2M entries
slechts eenmalig voorkomenObjectInformatieObjectValidatorom te valideren dat de synchronisatie
van een object-informatieobject relatie pas kan nadat deze relatie in het
DRC gemaakt isIsImmutableValidator- valideer dat bepaalde velden niet gewijzigd
worden bij een (partial) update, maar wel mogen gezet worden bij een createResourceValidator- valideer dat een URL een bepaalde resource ontsluitCustom inspectors voor drf-yasg:Support voorrest_framework_gisGeometryFieldSUpport voordjango-extra-fieldsBase64FieldMixinURL-based related resource filtering (django-filtersupport)verzameling van mogelijke error-responses per operationManagement commandgenerate_swaggeroverloadedneemt default versie mee en maakt server-informatie domein-agnostischoptie om informatiemodel-resources naar markdown te renderen met backlinks
naar gemmaonline.nlSupport voor ISO 8601 durationsCustom model fields:RSINFieldBSNFieldLanguageFieldVertrouwelijkheidsAanduidingFieldDaysDurationFieldMocks voor de validators die netwerk IO hebben, eenvoudig via@override_settingstoe te passenTest utilitiesOptionele notificaties applicatie:ontvangen van webhook eventsconfigureren en registreren van notificatiecomponent/webhooks
Package: common-harness-lib
common-harness-lib[H2H Toolkit] Common python library for harness functions within task docker images.Usage:Create object withCommonHarnessLib(). To disable s3 features, use thedisable_s3=Falseflag.Methods:S3:handle_s3_exception(err: Exception): Handle's common s3 errors.get_object_content(bucket_name: str, object_key: str): Get's a s3 object content as a string.download_wordlists(wordlist_keys: List[str]): Downloads a list of wordlists from s3 and combines them as one file.System:run_command(command: List[str]): Run a command (i.e. ["echo", "hello world"])Validation:validate_dict({"firstname": str, "age": int}): Validates that a dict matches required type entries
Package: common-image-tools
Common Image ToolsDescriptioncommon_image_tools is a repository containing a curated collection of commonly used image manipulation functions for
computer vision projects. These tools provide a set of handy functions for performing various image processing tasks,
such as resizing, cropping, filtering, and more.InstallationTo install common_image_tools, simply run the following command:pipinstallcommon-image-toolsUsageToolConversionVisualizationContributingContributions are welcome! If you have any suggestions, improvements, or new features to add, please open an issue or
submit a pull request. Make sure to follow the existing coding style and include appropriate tests.LicenseThis project is licensed under the MIT License - see the LICENSE file for details.
Package: common-img
Not On PyPiThis is a reserved package name to preventdependency confusion / substitution attack. If installed, will immediately raise an error indicating that the wrong PyPi repository was used.If someone would like to use this package name, I would be happy to discuss handoff. Please contact me through a Github issue onKyleKing/not-on-pypior if I don't respond, you can try mygmailaccountdev.act.kyle
Package: common-inst
Not On PyPiThis is a reserved package name to preventdependency confusion / substitution attack. If installed, will immediately raise an error indicating that the wrong PyPi repository was used.If someone would like to use this package name, I would be happy to discuss handoff. Please contact me through a Github issue onKyleKing/not-on-pypior if I don't respond, you can try mygmailaccountdev.act.kyle
Package: common-interfaces
Useful tools to work common_interfaces for etl toolsDescriptionIt consists of three main modules:RedisManager: This library using for Redis configuration with docker environment
S3Manager: This library using for AWS S3 configuration with docker environmentInstallationNormal installationpip install common_interfacesDevelopment installationgit clonehttps://github.com/rajumonpk/common_interfaces.gitcd common_interfacespip install --editable .
Package: com-monitor
COM Port MonitorEver find yourself plugging and unplugging devices into your computer and needing to
know their associated COM ports? I did, so I wrote COM Port Monitor.  All it does is keep track of COM ports that are
added or removed, and shows helpful system notifications to let you know about it.To use this, you can install it viapip install com-monitor(you might want to create a virtual environment and
activate it first), then you run it from the command line simply viacommonitor(no dash). To quit the app,
right-click it's icon in the system tray and select 'Exit' from the pop up menu.Next up:Get installation via pipx working (not sure why it doesn't work at the moment)Support OSes other than WindowsBuild executables for supported platformsHope you find this helpful!USB DisconnectedandUSB Connectedicons byIcons8
Package: commonmark-slack
CommonMark-SlackCommonMark-Slack extends thecommonmark.pylibrary to add rendering of theSlackflavor of Markdown. This can be handy if you are already usingstandard Markdownfor another purpose and would like to also produce Slack output from the same source. CommonMark-slack also allows for producing
plaintext from standard Markdown, useful for the areas of Slack that use unadorned text.InstallationYou can install CommonMark-Slack fromPyPI:pip install commonmark-slackThe commonmark-slack package is supported by Python 3.6 and above.Usageimport commonmarkslack
parser = commonmarkslack.Parser()
ast = parser.parse("Hello *World*")

renderer = commonmark.SlackRenderer()
slack_md = renderer.render(ast)
print(slack_md) # Hello _World_

renderer = commonmarkslack.PlainTextRenderer()
plain_text = renderer.render(ast)
print(plain_text) # Hello World
Package: commonmark-socialhome
Socialhome fork ofhttps://github.com/readthedocs/commonmark.pyTested on Python 3.8 - 3.10.Fork changesAllow ignoring HTML blocksInstallation$ pip install commonmark-socialhomeUsage>>> import commonmark
>>> commonmark.commonmark('*hello!*')
'<p><em>hello!</em></p>\n'Or, without the syntactic sugar:importcommonmarkparser=commonmark.Parser()ast=parser.parse("Hello *World*")renderer=commonmark.HtmlRenderer()html=renderer.render(ast)print(html)# <p>Hello <em>World</em><p/># inspecting the abstract syntax treejson=commonmark.dumpJSON(ast)commonmark.dumpAST(ast)# pretty print generated AST structureThere is also a CLI:$ cmark README.md -o README.html
$ cmark README.md -o README.json -aj # output AST as JSON
$ cmark README.md -a # pretty print generated AST structure
$ cmark -h
usage: cmark [-h] [-o [O]] [-a] [-aj] [infile]

Process Markdown according to the CommonMark specification.

positional arguments:
  infile      Input Markdown file to parse, defaults to stdin

optional arguments:
  -h, --help  show this help message and exit
  -o [O]      Output HTML/JSON file, defaults to stdout
  -a          Print formatted AST
  -aj         Output JSON ASTContributingIf you would like to offer suggestions/optimizations/bugfixes through
pull requests please do! Also if you find an error in the
parser/renderer that isn’t caught by the current test suite please open
a new issue and I would also suggest you send thecommonmark.jsproject
a pull request adding your test to the existing test suite.TestsTo work on commonmark.py, you will need to be able to run the test suite to
make sure your changes don’t break anything. To run the tests, you can do
something like this:$ pyvenv venv
$ ./venv/bin/python setup.py develop testThe tests script,commonmark/tests/run_spec_tests.py, is pretty much a devtool. As
well as running all the tests embedded inspec.txtit also allows you
to run specific tests using the-targument, provide information
about passed tests with-p, percentage passed by category of test
with-s, and enter markdown interactively with-i(In
interactive mode end a block by inputting a line with justend, to
quit do the same but withquit).-dcan be used to print call
tracing.$ ./venv/bin/python commonmark/tests/run_spec_tests.py -h
usage: run_spec_tests.py [-h] [-t T] [-p] [-f] [-i] [-d] [-np] [-s]

script to run the CommonMark specification tests against the commonmark.py
parser.

optional arguments:
  -h, --help  show this help message and exit
  -t T        Single test to run or comma separated list of tests (-t 10 or -t 10,11,12,13)
  -p          Print passed test information
  -f          Print failed tests (during -np...)
  -i          Interactive Markdown input mode
  -d          Debug, trace calls
  -np         Only print section header, tick, or cross
  -s          Print percent of tests passed by category