Saravanan666/pypi-org huggingface dataset:
Package: prompy
prompyprompy is a library developed as an assisting tool for writing scripts to be executed by the ProM CLI. The ProM CLI is the commandline interface variant of ProM, which is on its own a GUI based extensible framework that supports a wide variety of process mining techniques. prompy is always used in combination with ProM, hence this should be installed beforehand, which can be done from its websitewww.promtools.org/doku.php. The ProM CLI takes Java scripts as input which contains runtime interpreted Java code and could include functions from the CLI variants of ProM plugins. For various reasons, it could be a tedious task to write these scripts, with which prompy could help by implementing functions that generate the Java code for often used plugins like importing event log data, petrinets, soundness checking, conformance checking and process discovery. Furthermore, it offers the functionality of generating template Python implementations for each available ProM plugin function which allows for using an IDE with autocomplete. An extensive list of examples can be found in the 'examples' directory on the gitlab pagehttps://gitlab.com/dominiquesommers/prompy.prompy can be easily installed bypip install prompy.
Package: promql-parser
py-promql-parserpromql-parserPython binding, a PromQL parser for Python.Installationpipinstallpromql-parserUsageimportpromql_parserast=promql_parser.parse('prometheus_http_requests_total{code="200", job="prometheus"}')print(ast)LicenseThis work is released under the MIT license. A copy of the license is provided in theLICENSEfile.
Package: promsoft_weight_calc_interface
promsoft_weight_calc_interfaceInterface for weight_calc microservice.Usage:from promsoft_weight_calc_interface import Entry, ComplEntry

my_entry = Entry(id=10004, cnt=2)
print(f"Entry as dict: {my_entry.dict()}")

my_compl_entry = ComplEntry(items=[Entry(id=10004, cnt=2), Entry(id=10005, cnt=2)], return_sizes_goods=True)
print(f"ComplEntry as dict: {my_compl_entry.dict()}")
Package: promt-tr-free
promt-tr-freePromt translate for free: be gentle and rate-limit to 3 calls/2 seconds, first 200 calls exemptedInstallationpip install -U promt-tr-freeorInstall (pip or whatever) necessary requirements, e.g.pip install requests fuzzywuzzy pytest jmespath coloredlogsorpip install -r requirements.txtDrop the file promt_tr.py in any folder in your PYTHONPATH (check with import sys; print(sys.path)or clone the repo (e.g.,git clone https://github.com/ffreemt/promt-tr-free.gitor downloadhttps://github.com/ffreemt/promt-tr-free/archive/master.zipand unzip) and change to the promt-tr-free folder and do apython setup.py developUsagefrom promt_tr import promt_tr

print(promt_tr('hello world', to_lang='de'))  # ->'hallo Welt'
print(promt_tr('hello world', to_lang='fr'))  # ->'bonjour monde'
print(promt_tr('hello world', to_lang='ja'))  # ->'ハロー・ワールド'
print(promt_tr('世界您好', to_lang='ja'))  # ->'ハロー・ワールド'
print(promt_tr('世界您好', to_lang='en'))  # ->'Hello world'
print(promt_tr('Diese sind Teste', to_lang='zh'))  # ->'这是测试'Languages supported: ar, ca, zhcn, nl, fi, fr, de, el, he, hi, it, ja, kk, ko, pt, ru, es, tr, uk.
Consult the official website for details.AcknowledgmentsThanks to everyone whose code was used
Package: promulgate
promulgateSimple single threaded event library. Inspired by this[https://stackoverflow.com/a/2022629] stackoverflow answer.ExamplefromdataclassesimportdataclassfrompromulgateimportPromulgation@dataclassclassRegisterUserPromulgation(Promulgation)email:strpassword:strdefhandle_register_user(prmlg:RegisterUserPromulgation)->None:print(f"New user with email{prmlg.email}and password ***")RegisterUserPromulgation.subscribe(handle_register_user)event=RegisterUserPromulgation("test@test.com","super.1.secret!")event.promulgate()# New user with email test@test.com and password ***
Package: prom-url-checker
prometheus-url-checkerThis little script periodically checks all configured urls with a HTTP HEAD request. The requests http code will be returned as prometheus compatible metric (gauge).Linksofficial docsInstallThe packages uses theflitpackager and requirespython 3.6.pip3 install flitflit installUsageThe application is very simple to configure. Simply set theURLSenvironment variable and start the server withprom-url-checker. You can see the metrics openinghttp://127.0.0.1:9999/metrics. To integrate this into your prometheus environment, simply add a new prometheus endpoint.A very simple cli allows the configuration of all necessary parameters.prom-url-checkerstarts the metrics server on127.0.0.1:9999using theURLSenvironmental variableprom-url-checker --helpshow's available cli options:Options:
--host=STRHostiptoserveon.(default:127.0.0.1)--port=STRPorttouse(default:9999)-s,--sleeptime=INTSleeptimeduringchecks(default:5)--urls=STRCommaseperatedlistofurlstocheck,e.g.--urlshttps://test.domain.de,http://domain.de.Ifunset,theenvironmentvariableURLSwillbeusedinstead.
-d,--debugEnabledebuggingmode

Otheractions:
-h,--helpShowthehelpMetrics# HELP request_in_progress Number of requests in progress
# TYPE request_in_progress gauge
request_in_progress{app="url_health_checker",host="f8cad31124a6",route="/"} 0

# HELP url_health Health status of a url.
# TYPE url_health gauge
url_health{app="url_health_checker",host="f8cad31124a6",url="https://google.com"} 301
url_health{app="url_health_checker",host="f8cad31124a6",url="https://github.com"} 200

# HELP url_health_request_processing_seconds Time spent processing request
# TYPE url_health_request_processing_seconds summary
url_health_request_processing_seconds{app="url_health_checker",host="f8cad31124a6",quantile="0.5"} 0.17756042900145985
url_health_request_processing_seconds{app="url_health_checker",host="f8cad31124a6",quantile="0.9"} 0.2960943900034181
url_health_request_processing_seconds{app="url_health_checker",host="f8cad31124a6",quantile="0.99"} 0.2960943900034181
url_health_request_processing_seconds_count{app="url_health_checker",host="f8cad31124a6"} 14
url_health_request_processing_seconds_sum{app="url_health_checker",host="f8cad31124a6"} 3.8046043350186665
Package: promweaver
PromweaverC. Osborne (University of Glasgow) 2022MIT LicenseA simple package demonstrating possible techniques for building on top ofLightweaver, but also helping to bridge the gap between chromospheric NLTE Radiative Transfer codes and those designed for isolated irradiated structures, such as prominences and filaments.
The two main models:IsoPromModelandPctrPromModelare built on the ideas presented in the PROM codes [citation needed].DocumentationThe documentation for Promweaver can be foundhere.AcknowledgementsMany thanks for Jack Jenkins and Nic Labrosse for discussing the ideas and implementation of the techniques used in this package.
Package: promypy
promypyYou've decided to add type annotation on the code source. What's your plan? 😅This package is a small tool set to help you to achieve your dreamed fully type annotation project. 🚀Usingmypy, you'd probably add afilesentry on your configuration file, and each time someone on the team wants to include type annotation on that file,
you'd add on thefileslist. There are a some problems with this approach:Each new file is not added to thefileslist.If a file gets fully type annotated, you don't notice, and it will not be added to thefileslist.The1.is more important, as we don't want to have regressions on our goal to have our code source fully type annotated.
But you don't want to worry about2.as well...What this package does:dump: Generates alistof files that are currently not type annotated.check: Given an input of files:If a file is in thelist, and is fully type annotated, it will be removed from thelist.If a file is in thelist, and isnotfully annotated, it will be ignored.If a file isnotin thelist, and is fully annotated, it will be ignored.If a file isnotin thelist, and isnotfully annotated, it will raise errors.InstallationAs usual.pipinstallpromypyUsageThere are two commands available:dumpandcheck.DumpThe idea of this command is to store the list of files that are not fully type annotated into a file.Usage:promypydump[OPTIONS]FILES...Generatealistoffilesthatarenotfullytypeannotated.

Arguments:FILES...[required]Options:--mypy-argsTEXT--outputTEXT--helpShowthismessageandexit.CheckUsage:promypycheck[OPTIONS]FILES...Checkthegivenfileswithmypy,applyingasetofcustomrules.

Arguments:FILES...[required]Options:-f,--ignore-filePATH[required]--mypy-argsTEXT--helpShowthismessageandexit.Pre-commitAdd the following to your.pre-commit-config.yamlfile:-repo:https://github.com/Kludex/promypyrev:0.3.0hooks:-id:promypyargs:---ignore-file=<dump_filename>LicenseThis project is licensed under the terms of the MIT license.
Package: pron
(P)ython (R)ecognizable (O)bject (N)otationThe natural python extension to json. Parse and dump python objects to
string or file. Support all those annoyingly missing features: tuples,
complex, non-string keys, trailing commas, single qoute strings...I wasn't first, or did it the best, but I nailed the name!>>> import pron
>>> obj = pron.loads('''{1+2j:[3,"4",("monkey","business")],}''')
>>> print(pron.dumps(obj, indent=4, suppress=[tuple]))
{
    (1+2j): [
        3,
        '4',
        ('monkey', 'business')
    ]
}
Package: pronounce
Package DescriptionPronounce is a Python Package for generating the pronunciation code.DocumentsPronounce requires Python 3.5, 3.6, or 3.7.Syntax: 
	pronounce.pronounce(name=str_object)

# Generate the pronounce code from the string
import pronounce as p

s1 = p.pronounce('Hello')
s2 = p.pronounce('Hailo')

print('Hello',' : ',s1)
print('Hailo',' : ',s2)

Output: Hello : H400
	Hailo : H400
Package: pronounceable
PronounceableGenerate a random pronounceable word using Python 3 and secrets module (falls back to random module if Python < 3.6).Calculate password complexity based on pronounceablity. > 10.0 is probably too complex for human to remember.Usage>>>frompronounceableimportPronounceableWord,generate_word,Pronounceablity,Complexity>>>PronounceableWord().length(8,15)'terhtsadathe'>>>generate_word()'gloust'>>>pr=Pronounceablity()>>>pr.syllable('terhtsadathe')6>>>pr.syllable('hello')2>>>pr.syllable('gloust')4>>>complexity=Complexity()>>>complexity.complexity('D7!rcc&umnsd')5.401603904395188>>>complexity.complexity('a4ILot#h')4.71785657472491>>>complexity.complexity('password')1.0>>>complexity.complexity('thisisabadpassword')2.2220669581020354>>>complexity.complexity('anejpwnrqpqzonijre')4.71785657472491Based onhttps://github.com/greghaskins/gibberishhttps://github.com/ricardofalasca/passpro-generatorNLTK - CMUdictMore on passwordHuman-readable password mnemonics --https://github.com/patarapolw/memorable-passwordSecurity-side of password --https://github.com/patarapolw/passwordstrengthAdapting the humanized password to the computerized password policy -https://github.com/patarapolw/leetpass
Package: pronouncing
pronouncingPronouncing is a simple interface for the CMU Pronouncing Dictionary. It’s easy
to use and has no external dependencies. For example, here’s how to find rhymes
for a given word:>>> import pronouncing
>>> pronouncing.rhymes("climbing")
['diming', 'liming', 'priming', 'rhyming', 'timing']Read the documentation here:https://pronouncing.readthedocs.org.I made Pronouncing because I wanted to be able to use the CMU Pronouncing
Dictionary in my projects (and teach other people how to use it) without having
to install the grand behemoth that is NLTK.InstallationInstall with pip like so:pip install pronouncingYou can also download the source code and install manually:python setup.py installLicenseThe Python code in this module is distributed with a BSD license. A full copy
of the CMU Pronouncing Dictionary is included in this distribution. Learn
more about the CMU Pronouncing Dictionary here:http://www.speech.cs.cmu.edu/cgi-bin/cmudictAcknowledgementsThis package was originally developed as part of my Spring 2015 research
fellowship atITP. Thank you to the program and
its students for their interest and support!History0.2.0 (2018-07-01)Removed dictionary data from this package in favor of a dependency on David
L. Day’s very nice cmudict package.Many fixes and improvements from hugovk (thanks!)0.1.5 (2017-04-13)Messed up the PyPI upload. Yay!0.1.4 (2017-04-12)Improved performance when retrieving rhyming words. (Based on pull request
proposed byWillPiledriver.)0.1.3 (2017-01-17)Various tweaks and performance improvements.0.1.2 (2015-06-23)Pre-compiled regex for improved performance. (Contributed by John Wiseman.)0.1.1 (2015-06-12)First release on PyPI.
Package: pronoundb
PronounDB Python APIAPI wrapper for the pronoundb.org API.InstallationpipinstallpronoundbExampleslookup someone's pronouns by their discord id:frompronoundbimportlookup,Platformlookup(Platform.DISCORD,123456789012345678)# -> {123456789012345678: ["he", "him"]}lookup someone's pronouns by their minecraft (java) uuid:frompronoundbimportlookup,Platformlookup(Platform.MINECRAFT,"12345678-1234-1234-1234-123456789012")# -> {"12345678-1234-1234-1234-123456789012": ["they", "them"]}lookup multiple users pronouns by their discord id:frompronoundbimportlookup,Platformlookup(Platform.DISCORD,[123456789012345678,987654321098765432])# -> {123456789012345678: ["he", "him"], 987654321098765432: ["she", "her"]}Supported PlatformsDiscordGitHubMinecraft (Java)TwitchTwitterCustom Pronouns (Version 2.0.0)Beginning with version 2.0.0, you can give the lookup function a list of pronouns to translate them, for example.frompronoundbimportlookup,Platformlookup(Platform.DISCORD,123456789012345678,{"unspecified":[],"he":["Er","Ihn"],"she":["Sie","Ihr"],"it":["Es","Seine"],"they":["They","Them"],"any":["Jede"],"other":["Anderes"],"ask":["Frag"],"avoid":["Nutz Name"],})# -> {123456789012345678: ["Er", "Ihn"]}ContributingContributions to this library are always welcome and highly encouraged.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.
Package: prontexPack
this is a package thing that does thingsa guideif you want thatits in the download files pageChange Log0.0.1 (17/06/2021)things. it release0.0.2 (17/06/2021)alright so basically
i added a guide
and more functions0.0.3 (17/07/2021)alright so basically
i worked on making a new experimental thing
called Datastore
it’s just the tmpdatabase but new methods
you can try it out if you wanna risk your sanity
oh yeah i also changed tmpdatabase’s name to tmpdatastoreok so heres a guide# -SECTION 1-
## THE TEMPORARY DATABASE> so first you wanna make a dictionary named “dataList”> add keys.hopefully you know how.> now at the top do`from prontexPack import tmpDatastore`> and do`db = tmpDatastore(dataList, 'ur databases namehere')`now a list of things you can do`findByName("keyname")`returns a true or false value based on if it found the keyname in the database or not`findByValue("keyvalue")`same thing but instead of name its a value`add("keyname","keyvalue")`adds a key to the database`printall()`prints all your data into the console`maketext()`makes your data into a compact text file# -SECTION 2-
## THE OTHER THINGS THAT AREN’T CATEGORIZED> do “from prontexPack import cooltext, console”now heres a guide on cooltext`cooltext("text",5)`basically, this does text liket
te
tex
text5 times (aka for 5 iterations)simplenow we do
CONSOLE>so basically get a dictionary called buttons>the values will be what the buttons print> like this
>
>>`buttons = {"print the wordhappiness":"Happiness"}`> k now do
>
>>`console(buttons, "namehere")`now yeahjust run thingsimple.> As of now, the Datastore classes are wip, but have chances of taking the role of tmpDatastore. Don’t try.
>> Really dont.
>>> I said dont.
Package: prontonet-py
Python library for ProntoNet family SDK v2.5.4.SDK documentation for C/C++ is available here:https://www.prodys.net/download/1231/.Source Codehttps://github.com/dgalus/prontonet-pyPyPI packagehttps://pypi.org/project/prontonet/Documentationhttps://dgalus.github.io/prontonet-py/Documentation can be also found in thedocs/directory.Installationpython -m pip install prontonetAuthordgalus / avc <avcsec@protonmail.com>
Package: proofcheck
Mathematical proofs are sequences of
steps which take expressions in a formal language which
state something already known to another formal expression
which becomes known as a result.
Each step must be justified by a rule of inference.  The notion
of proof is sharpened when the set of inference rules is
reduced to a small number.  But the effect of such reduction
on proofs is to make them cumbersome, like the
computations of a Turing Machine.  ProofCheck uses
a really large rule set to make possible proofs which are not
cumbersome.   The default inference rule set currently contains over 1500 rules
and is still growing.Either TeX or LaTeX may be used. What is
required in the way of document structure  is that:1. Each theorem must be labeled and
numbered in number-dot-number style,2. Each theorem and proof must be
expressed in a language that ProofCheck can learn to parse, and3. Proof steps must be numbered and annotated
following ProofCheck syntax.The work cycle is as follows:Edit the document using your preferred text editor:emacs article.texTeX the document:tex articleParse the document:parse.py articleCheck a proof of, say theorem 1.23:check.py article 1.23Errors at any stage of course send you back to the text editor.
Package: proofdock-chaos-cli
Proofdock Chaos CLIThe Proofdock Chaos CLI is a command line tool to execute attacks and scenarios defined in the Azure DevOps.Project descriptionThis project is part of the Proofdock Chaos Platform that helps you to write, run, store and analyze chaos attacks in your Azure DevOps environment.For more information visit our officialwebsiteordocumentation. Feel free to ask for support for this package onGitHub.Getting startedTo get started check out our officialguide.InstallThis package requires Python 3.5+$ pip install -U proofdock-chaos-cliConfigurationThe Proofdock Chaos CLI expects that you have a proper API token that allows you to authenticate against the Proofdock cloud. Learn more about the API token generationhere.Set the API token using an environment variablePROOFDOCK_API_TOKEN.exportPROOFDOCK_API_TOKEN=<APItoken>RunYou use thepd runcommand to run an attack and upload its results to the Proofdock cloud.pdrun[OPTIONS]<attackID>TestTo test the script, you can make a new virtualenv and then install your package:$virtualenvvenv
$.venv/bin/activate
$pipinstall--editable.Afterwards, your command should be available:$yourscript
HelloWorld!
Package: proofdock-chaos-kit
Proofdock extension for the Chaos ToolkitThis project is a collection of features gathered as an extension to theProofdock Chaos Engineering Platformand theChaos Toolkit.Project descriptionThis project is part of the Proofdock Chaos Engineering Platform that helps you to write, run, store and analyze chaos experiments in your Azure DevOps environment.For more information visit our officialwebsiteordocumentation. Feel free to ask for support for this package onGitHub.Getting startedTo get started check out our officialguide.InstallThis package requires Python 3.5+$ pip install -U proofdock-chaos-kitConfigurationThe Proofdock Chaos CLI expects that you have a proper API token that allows you to authenticate against the Proofdock cloud. Learn more about the API token generationhere.To configure the API token you simply pass it to thechaos configurecommand.chaosconfigure--token<APItoken>Chaos CLI stores your API token in a settings file located under the following path:$HOME/.chaostoolkit/settings.yamlAlternatively set the API token using an environment variablePROOFDOCK_API_TOKEN.exportPROOFDOCK_API_TOKEN=<APItoken>Precedence of optionsIf you specify the API token by using thePROOFDOCK_API_TOKENenvironment variable, it overrides any API token value loaded from a settings file.CommandsThe Proofdock Chaos CLI introduces new commands:chaos configurechaos experimentand extends an existingchaos runcommand with new options.RunYou use thechaos runcommand to run an experiment and upload its results to the Proofdock cloud.chaosrun[OPTIONS]experiment.jsonConfigureYou use thechaos configurecommand to set the API token in a settings file.chaosconfigure--token<APItoken>Options--tokenTEXTTokenvalueListYou useexperiment listcommand to list all experiments in your project.chaosexperimentlist
Package: proofdock-chaos-middleware-django
Chaos Middleware Django integrationInstallThis package requires Python 3.5+$ pip install -U proofdock-chaos-middleware-djangoUsageThe chaos middleware takes the followinginput variables:VariableDescriptionCHAOS_MIDDLEWARE_APPLICATION_NAMEThe service application's nameCHAOS_MIDDLEWARE_APPLICATION_ENVThe service application's deployed environmentCHAOS_MIDDLEWARE_PROOFDOCK_API_TOKENThe API token to connect to Proofdock's Chaos APITheconfigurationexemplified ascode:# file: settings.pyMIDDLEWARE=['..''pdchaos.middleware.contrib.django.django_middleware.DjangoMiddleware','..']# other settings ...CHAOS_MIDDLEWARE={'CHAOS_MIDDLEWARE_APPLICATION_NAME':'example-application-name','CHAOS_MIDDLEWARE_APPLICATION_ENV':'example-environment','CHAOS_MIDDLEWARE_PROOFDOCK_API_TOKEN':'eyJ0eXAi...05'}ReferencesChaos Middleware documentationChaos Middleware repositorySupportProofdock website
Package: proofdock-chaos-middleware-flask
Chaos Middleware Flask integrationInstallThis package requires Python 3.5+$ pip install -U proofdock-chaos-middleware-flaskUsageThe chaos middleware for Flask takes the followinginput variables:VariableDescriptionCHAOS_MIDDLEWARE_APPLICATION_NAMEThe service application's nameCHAOS_MIDDLEWARE_APPLICATION_ENVThe service application's deployed environmentCHAOS_MIDDLEWARE_PROOFDOCK_API_TOKENThe API token to connect to Proofdock's Chaos APITheconfigurationexemplified ascode:fromflaskimportFlask,jsonifyfrompdchaos.middleware.contrib.flask.flask_middlewareimportFlaskMiddlewareapp=Flask(__name__)app.config['CHAOS_MIDDLEWARE_APPLICATION_NAME']='example-application-name'app.config['CHAOS_MIDDLEWARE_APPLICATION_ENV']='example-environment'app.config['CHAOS_MIDDLEWARE_PROOFDOCK_API_TOKEN']='eyJ0eXAi...05'middleware=FlaskMiddleware(app)# Your business logic here@app.route("/")defhello():return"Hello World!"if__name__=="__main__":app.run()ReferencesChaos Middleware documentationChaos Middleware repositorySupportProofdock website
Package: proofdock-chaos-middleware-python
Chaos Middleware Python integrationInstallThis package requires Python 3.5+$ pip install -U proofdock-chaos-middleware-pythonUsageThe chaos middleware takes the followinginput variables:VariableDescriptionCHAOS_MIDDLEWARE_APPLICATION_NAMEThe service application's nameCHAOS_MIDDLEWARE_APPLICATION_ENVThe service application's deployed environmentCHAOS_MIDDLEWARE_PROOFDOCK_API_TOKENThe API token to connect to Proofdock's Chaos APIIntegrations with custom frameworks or your custom application requires some integration efforts. It is best to look atcode examplesfrom oursrc/contrib-*modules in ourGitHub repository.ReferencesChaos Middleware documentationChaos Middleware repositorySupportProofdock website
Package: proofdock-reliability-platform-core
Python integrationInstallThis package requires Python 3.5+$ pip install -U proofdock-reliability-platform-coreUsageThe reliability platform client takes the followinginput variables:VariableDescriptionRELIABILITY_PLATFORM_APPLICATION_NAMEThe service application's nameRELIABILITY_PLATFORM_APPLICATION_ENVThe service application's deployed environmentRELIABILITY_PLATFORM_PROOFDOCK_API_TOKENThe API token to connect to Proofdock's Reliability Platform APIReferencesChaos Middleware documentationSupportProofdock website