Saravanan666/pypi-org huggingface dataset:
Package: unlock-joblib-tasks
unlock_joblib_tasksUnlock the limit of 63 tasks in Windows for the Python joblib library.为 Python joblib 库解锁在 Windows 下最大 63 个任务数的限制的补丁包。How to use:使用方法:import unlock_joblib_tasksunlock_joblib_tasks.please()This software is released under the BSD3 license, and anyone can use it for free without any restrictions.该软件在BSD3协议下发布，任何人都可无限制免费使用，希望对你有用！
Package: unlp
unlpgitHub欢迎提pull requests, 如果有bug或新需求，请反馈issueunlpunlp是一些经常需要用到的NLP算法包，有助于您学习和使用基于深度学习的文本处理。安装python3.6+pipinstallunlppipinstall-rrequirements.txtunlp模块根据nlp的任务来构建这个包，主要有无监督学习、有监督学习以及文本增强的一些常有方法；无监督学习中有关键词抽取，向量嵌入和相似度计算；监督学习中有分类任务，命名实体识别，文本生成等；文本增强常用方法，比如回译，同义词替换等。unlp使用具体参见示例目录无监督学习方法详细使用说明关键词抽取；向量嵌入；相似度计算；语义搜索；...监督学习方法详细使用说明文本分类；命名实体识别；文本摘要；对话生成；...文本数据增强详细使用说明回译；EDA(同义词替换、插入、交换和删除)；...
Package: unlzw
Bindings for Mark Adler’sunlzwlibrary.Free software: BSD 3-Clause LicenseInstallationpip install unlzwDocumentationfromunlzwimportunlzwassertunlzw(b'\x1f\x9d\x90f\xde\xbc\x11\x13FN\xc0\x81\x05\x0f\x124(p\xa1\xc2\x82')==b'foobarfoobarfoobarfoobarfoobar'Changelog0.1.1 (2017-10-26)Removed junk fromMANIFEST.in.0.1.0 (2017-10-25)First release on PyPI.
Package: unlzw3
unlzw3Pure Python decompression module for .Z files compressed using Unix compress utility.
Unlike the faster but Linux-specificunlzwusing Python CFFI,unlzw3is slower but works on any platform that runs Python including Windows.This is a purely Python adaptation of Mark Adler's'unlzw' C functionon Stackoverflow.
Python can be much slower than using any compiled utility for the same purpose.Usageunlzw3.unlzw(data)takes LZW .Z compressed data as any type which can be converted to a bytearray (generally a string).
It returns a UTF-8 decoded string containing the decompressed data.importunlzw3frompathlibimportPathuncompressed_data=unlzw3.unlzw(Path('file.Z').read_bytes())# oruncompressed_data=unlzw3.unlzw(Path('file.Z'))Contributionsreference C code: Mark Adlerpure Python implemetation:Brandon Owenmodernization, test / CI and PyPi: Michael Hirsch
Package: unmain
The end toif __name__ == "__main__":!Are you tired of writingif __name__ == "__main__": main()at the end of every script?Ever wished for a cleaner, better, simpler wait to callmain()?Do you enjoy abusing the import system?Well, today’s your lucky day!Justimport unmainand we’ll do the dirty work for you!importunmaindefmain():print("Hello, unmain!")Wow!Installation & UsageInstalling and using unmain is easy!InstallpipinstallunmainImportimportunmainThat’s it!
Unmain will find yourmain()function and call it for you.Practical ConsiderationsUnmain abuses the import system to re-import your main module, then runningmain()from it.
To avoid running global code twice - pleaceimport unmainat the top of your script file.
Any code above the import location will be executed twice.Additionally, theentiremodule will execute beforemain()is run.
You can place yourmain()function anywhere in your script file.
Package: unmand
Unmand Python LibraryThe Unmand Python library provides convenient access to the Unmand APIs from applications written in the Python language.For more help, see ourdocs.RequirementsPython 3+InstallationInstall the package with:pipinstallunmandExample UsagefromunmandimportJob,ExfilAPItoken='TOP-SECRET-EXAMPLE-TOKEN'document_path='Sample.pdf'exfil=ExfilAPI(token)withopen(document_path,'rb')asfile_data:job=exfil.queue(file_data)print(job)ifjob.status!="FAILED":exfil.poll(job=job)ifjob.status=='FINISHED':print(job.result)ExfilAPI and JobThe main class is ExfilAPI. Instantiate this with your token argument. Use the optional argumenttestto direct your queries to the test API instead of the production API. For example:exfil_test=ExfilAPI(token,test=True)# This aims at the test APIexfil=ExfilAPI(token)# This aims at the production APISubmit a job by attaching the binary file data from your system to the queue method of ExfilAPI. This will return an instance of the Job class.job=exfil.queue(file_data)At any time, you can get the status of the job:print(job)# orprint(job.status)Once a job is queued, call the poll method of the ExfilAPI class to be updated when the job is finished. Use the optional argumentsuppress_outputto stop updates printing to screen.exfil.poll(job=job)# orexfil.poll(job=job,suppress_output=True)Once finished, the results of the job are saved as a dictionary under theresultattribute.print(job.result)Swarm TasksThere is a SwarmAPI class so that swarm tasks can be uploaded for display in the UI. An example usage is shown below. Be careful, the token for a Swarm project will be different.swarm=SwarmAPI(token,test=True)start_time=datetime.utcnow()finish_time=datetime.utcnow()response_details={'Some data':1,'Some other data':2,"an array":[1,2,3,4]}status='SUCCESS'# or 'FAILURE'task=Task('UniqueTestId',start_time,finish_time,status,'PROD','Short Response',response_details,"First Identifier","Second Identifier","Third Identifier")swarm.upload_swarm_task(task)
Package: unmango-pulumi-pihole
Pihole Resource ProviderThe Pihole Resource Provider lets you managepiholeresources.InstallingThis package is available for several languages/platforms:Node.js (JavaScript/TypeScript)To use from JavaScript or TypeScript in Node.js, install using eithernpm:npminstall@unmango/pulumi-piholeoryarn:yarnadd@unmango/pulumi-piholePythonTo use from Python, install usingpip:pipinstallunmango_pulumi_piholeGoTo use from Go, usego getto grab the latest version of the library:gogetgithub.com/unmango/pulumi-pihole/sdk/go/....NETTo use from .NET, install usingdotnet add package:dotnetaddpackageUnMango.Pulumi.PiholeReferenceFor detailed reference documentation, please visitthe Pulumi registry.
Package: unmanic-api
Unmanic-APIAsynchronous Python client for Unmanic.Please note that not all features of the v2 API have been implemented, rather a few key endpoints that most users should find useful for automation.Installingpipinstallunmanic-apiQuick-Start Example"""Pause resume example.Connect to Unmanic instance, pause worker "W0", wait 5 seconds and resume worker "W0"."""importasynciofromunmanic_apiimportUnmanicasyncdefmain():asyncwithUnmanic('localhost')asunmanic:print(awaitunmanic.pause_worker("W0"))awaitasyncio.sleep(5)print(awaitunmanic.resume_worker("W0"))if__name__=="__main__":loop=asyncio.get_event_loop()loop.run_until_complete(main())See all examplesSee the full documentationSee AlsoPyPi ProjectGitHub ProjectUnmanic API Reference
Package: unmap
unmapUnmap data from pseudocolor images, with knowledge of the colourmap for now, but the goal is to drop this requirement.in other words, this library is the opposite ofplt.imshow().InstallationYou can install this package withpip:pip install unmapThere aredev,testanddocsoptions for installing dependencies for those purposes, egpip install unmap[dev].DocumentationReadthe documentation, especiallythe examples.ContributingTake a look atCONTRIBUTING.md.TestingYou can run the tests (requirespytestandpytest-cov) withpytestBuildingThis repo uses PEP 517-style packaging.Read more about thisandabout Python packaging in general.Building the project requiresbuild, so first:pip install buildThen to buildunmaplocally:python -m buildThe builds both.tar.gzand.whlfiles, either of which you can install withpip.
Package: unmatch
UNMATCHWelcome to documentation of ungreat matching of strings module. Here i will tell you how to use it.ungreat_match(str1, str2, mkdefolt=0.7, mismatching_chars=5)A function, which ungreat matching your strings and return a list with resultstr1andstr2-- strings, which you are matchingmkdefault-- coefficient, which set percentage value of equal characters. Can get value in the range of 0 to 1.mismatching_chars-- value of mismatching characters betweenstr1andstr2This function return a list with result and status of work, like:['python', 'True'] ['mismatching skills', 'False', 'mismatching chars less than needs']example of usageIt is a little test of library, which i were using when testing my lib. If you want to test or pass different value to the function, you can open your terminal or command prompt at folderpath_to_your_virtual_environment/lib/site-packages/unmatchand run it by writingpython test.pyorpython3 test.pyat command prompt, if you on Windows, or terminal, if you on Linux.
Code oftest.py:from ungreat_matching import ungreat_match, num_match_max, num_match_min


test_data = [['python','Python'],
['python','python3.7'],
['PYTHON','python3.7'],
['PYTHON','python3.7.3']]
for data in test_data:
    print(ungreat_match(data[0], data[1], mismatching_chars=5, mkdefault=0.7))Here i am showing, how it works.
(All text, what you put in functionungreat_matchwill convert to lower case and result of function will always give you a lower case result)What's new:1.1.0:some changes in realization of library and optimizationupgrade of documentationYou can see source code onGithub repositoryof project.
Package: unmatcher
unmatchertries to solve the following problem:Given a regular expression, find any string that matches the expression.Why? Mostly just because. But one possible application is to generate test data for string processing functions.StatusMost typical elements of regexes are supported:multipliers:*,+capture groups:|,( )(including backreferences)character classes (\d|\w|\setc.) and character sets ([])APIunmatchermodule exposes a singlereversefunction.
It takes a regular expression - either in text or compiled form - and returns a random string that matches it:>>> import unmatcher
>>> print unmatcher.reverse(r'\d')
7Additional arguments can be provided, specifying predefined values for capture groups
inside the expression. Use positional arguments for numbered groups ('\1', etc.):>>> import unmatcher
>>> print unmatcher.reverse(r'<(\w+)>.*</\1>', 'h1')
<h1>1NLNVlrOT4YGyHV3vD7cHvrAl8OHVWDPKgmaE4gUsctboyFYUx</h1>and keyword arguments for named groups:>>> import unmatcher
>>> print unmatcher.reverse('(?P<foo>\w+)__(?P=foo)', foo='bar')
bar__barNote that a predefined value isnotvalidated against actual subexpression for the capture group.
Package: unmessage
unMessageunMessage is a peer-to-peer instant messaging application designed
to enhance privacy and anonymity.WarningunMessage isalphasoftware. While every effort has been made
to make sure unMessage operates in a secure and bug-free fashion,
the code hasnotbeen audited. Please do not use unMessage for
any activity that your life depends upon.FeaturesTransport makes use ofTwisted,Tor Onion ServicesandtxtorconEncryption is performed using theDouble Ratchet Algorithmimplemented inpyaxo(usingPyNaCl)Authentication makes use of theSocialist Millionaire Protocolimplemented inCryptullyTransport metadata is minimized byTorand application metadata by
theunMessage protocolUser interfaces are created withTkinter(graphical) andcurses(command-line)Quick StartInstall the following requirements via package manager:# If using Debian/Ubuntu
$ sudo apt-get install build-essential gcc libffi-dev libopus0 \
  libsodium-dev libssl-dev portaudio19-dev python-dev python-tk

# If using Fedora
$ sudo dnf install gcc libffi-devel libsodium-devel \
  openssl-devel opus portaudio-devel python-devel \
  redhat-rpm-config tkinterIf you havetorinstalled, make sure its version is at least0.2.7.1:$ tor --versionIf you must update it or do not have it installed, check the version
provided by the package manager:# If using Debian/Ubuntu
$ apt-cache show tor

# If using Fedora
$ dnf info torIf the version to be provided is not at least0.2.7.1, you will
have toset up Tor’s package repository. Once you have a repository
which can provide an updatedtor, install it:# If using Debian/Ubuntu
$ sudo apt-get install tor

# If using Fedora
$ sudo dnf install torInstallingFinally, if you usepipandsetuptools(probably installed
automatically withpip), you can easily install unMessage with:$ sudo pip install unmessageLaunch unMessage with any of the commands:$ unmessage-gui # graphical user interface (GUI)
$ unmessage-cli # command-line interface (CLI)
$ unmessage # last interface usedUpdatingIf you installed unMessage withpip, you can also use it for
updates:$ sudo pip install --upgrade unmessageDocumentationYou can findinstallationand usage instructions (for theGUIand theCLI) on thedocumentation.FeedbackPlease join us on#unMessage:anemone.meor#anemone:anemone.mewithMatrix,#anemoneatOFTC, or use theGitHub issue trackerto leave suggestions, bug reports, complaints
or anything you feel will contribute to this application.
Package: unminder
UnminderQueue things in a list, review them later.RequirementsUnminder requires Python 3.6 or above.To install Python 3.6, I recommend usingpyenv.# install pyenvgitclonehttps://github.com/pyenv/pyenv~/.pyenv# setup pyenv (you should also put these three lines in .bashrc or similar)exportPATH="${HOME}/.pyenv/bin:${PATH}"exportPYENV_ROOT="${HOME}/.pyenv"eval"$(pyenvinit-)"# install Python 3.6pyenvinstall3.6.8# make it available globallypyenvglobalsystem3.6.8InstallationWithpip:python3.6-mpipinstallunminderWithpipx:python3.6-mpipinstall--userpipx

pipxinstall--pythonpython3.6unminder
Package: unn
_I wrote about [my reasoning](http://www.juanpatten.com/first-post.html_## Start your blog1. Fork [unn-skeleton](https://github.com/runningskull/unn-skeleton)2. Clone your new repository to your computer (optionally, run `mkvirtualenv myblog`)3. Run `pip install -r requirements.txt`4. Edit config.py to set up your deployment settings (default is S3)5. Think of something good to write (this step is harder than the others)## Use it day-to-day`unn idea my-idea` to start a new draft. Use markdown for formatting.`unn publish my-idea` to converta  draft to a post.`unn build` to build your site's pages.`unn local` to serve it locally.`unn deploy` to push it live. (this will build first, as a convenience)## Customize itCheck the `_template` folder for the basic file structure. `unn` uses Jinja2 for templating.The `index.html` template gets the following context:```{"posts": [{"Slug": "the-file-name-without-.md"... all headers included in this post ...}, ...]}```The `single.html` template gets the following context:```{"post_html": "<p>The rendered HTML of the post</p>",... all headers included in this post ...}````base.html` defines the box that `index.html` and `single.html` live inside (ie. header/footer).`error.html` is a generic error display page.
Package: unofficial-humanitec-client
Unofficial Client for Humanitec APIBased on generated client with swagger-codegen. Contains a few tweaks to tackle generation bugs from swagger-codegen.Full generated documentationof generated client.This is for testing only. If you need to use a python-client in production, rather generate maintain one by yourself.However, if you just need a python module ready to access Humanitec API, run:pip install unofficial-humanitec-clientOfficial Humanitec API DocumentationSeeofficial documentationfor information provided directly by Humanitec.LicenseThe original openapi specification is published under Apache 2 license. This generated client is published under EUROPEAN UNION PUBLIC LICENCE v. 1.2Trouble ShootingAuthenticationUnfortunately, there is mix of missing security schemes in the original Humanitec specification (from version 0.24.1 on) and several bug in the swagger-codegen breaking the use of bearer authentication. As workaround use the folloying snippet:configuration=Configuration()configuration.api_key['Authorization']='<your humanitec api token>'configuration.api_key_prefix['Authorization']='Bearer'api_client=swagger_client.ApiClient(configuration=configuration)Use that api_client as base client for every api_instance you create, i.e.defget_all_apps(org_id:str):# Use api_client with bearer authentication configuredapi_instance=swagger_client.ApplicationApi(api_client=api_client)try:# List all Applications in an Organization.api_response=api_instance.orgs_org_id_apps_get(org_id)print(api_response)exceptApiExceptionase:print("Exception when calling ApplicationApi->orgs_org_id_apps_get:%s\n"%e)Invalid value for '', must not be 'None'Some endpoints cannot deal with null values. On the one side nullable fields are missing from the original Humanitec specification (0.24.1), but even when added, swagger-codegen still makes all fields required.Known endpoints running in to this bug aredeltaendpoints. In that case, you have to rely onreuestsmodule, which begs the question why using a generated client at all...
Package: unofficialkeepsolidvpn
# keepsolid-vpn-wg-fetchFetches wireguard config with keepsolid email/passValid region codes can be found [here](https://my.keepsolid.com/api/account/config/regions/)<br>
Examples: de, de-dus, it-mil, fr, fr-rbx, uk, au-syd, be, br, ca, ca-tr
Package: unofficialmailpoof
# Installation## Windows
Install Chrome and Chromedriver<br>
<code>choco install chromedriver</code><br>
Or if you need a specific version of chromedriver
<code>choco install chromedriver –version 89.0.4389.230</code>## Debian/Ubuntu
<code>sudo apt install chromium-browser chromium-chromedriver</code>## macOS
Install Chrome and Chromedriver<br>
<code>brew install chromedriver</code># Usage
Calling the module might take a minimum of 10 seconds
### Install module
<code>pip install unofficialmailpoof</code>### Import it
<code>import unofficialmailpoof as mp</code>### Use it
<code>print(mp.getallmails(‘john.doe@mailpoof.com’))<br>
print(mp.getallmails(‘john.doe’))</code><br>
If you want to see what the bot is doing, add argument 1 or True to getallmails like this:<br>
<code>print(mp.getallmails(‘john.doe@mailpoof.com’,1))<code><br>
<code>print(mp.getallmails(‘john.doe@mailpoof.com’,True))<code># Result
The output should look like this
<br>
[‘subject’,’sender@email.com’,’New York date and time’,’message’,[‘links within the message’]]
<br>
<br>
[[‘First Mail!’,‘emailsender1@email.com’, ‘15 Apr 2021 02:40 AM’, “This was the first mail”, [’https://account.live.com/SecurityNotifications/Update’]],
[‘Second Mail!’,‘emailsender2@email.com’, ‘14 Apr 2021 11:33 PM’, ‘Lorem Ipsum…second mail….’, [’https://thatlinkwasinthesecondmail’]]]
Package: unofficial-pokedex
Description:Unofficial Pokédex is a Pokédex app that is coded in Python with a GUI powered by PyQt. It usesPokeApito retrieve all of the desired information about any specific Pokémon.Below is how the program looks in action:Requirements:python 3.8+playsound v1.2.2pygame v2.1.2PyQt6requests v2.28.1Initialization:To use the program, type the Pokémon's name or national number on the green screen by any method shown:Once you are finished filling out the entry screen click on the yellow play button right beside it:Be sure to only use letters and numbers and no special characters. Also be sure that the Pokémon's name is spelt correctly. Failure to adhere to these rules will result in the database not being able to find the Pokémon:Instructions:1. Clicking the "Start Button" retrieves the data of the desired Pokémon entered in the input screen and updates the entire screen.2. The "Abilities Button" retrieves the ability name and explanation of the Pokémon and displays it on the bottom white screen. You can scroll back and forth through each abilitiy with the "Back" and "Next" buttons located to at the ends of the screen.3. The "Attacks Button" retrieves the attack name and explanation of the Pokémon and displays it on the bottom white screen. Like the Abilities Button, you can scroll back and forth through each abilitiy with the "Back" and "Next" buttons located to at the ends of the screen.4. The home icon is the "Summary Button". It displays the summary of each Pokémon randomly selected from each game.5. If a Pokémon's name appears here, it means that the "Evolves From Button" is active. Click on the Pokémon name to load and change the screen to information about the Pokémon listed.6. The "Type Button" retrieves all of the strengths and weaknesses of the Pokémon's type. Similar to the Abilities and Attacks buttons, it is possible to scroll through the information with the next and back buttons on the screen the text is presented on. Each Pokémon has one or two types. So up to two Type buttons will be shown at a time.7. If you don't want to hear the music, click the "Mute Button" to turn it off. If you would like the music back on, simply click the button again.
Package: unofficial-pyknp
pyknp: Python Module for JUMAN++/KNP形態素解析器JUMAN++(JUMAN)と構文解析器KNPのPythonバインディング (Python2系と3系の両方に対応)。RequirementsPythonVerified Versions: 2.7.15,  3.5.6,  3.6.6.形態素解析器JUMAN++[EN]
(orJUMAN[EN])JUMAN++ はJUMANの後継にあたる形態素解析器構文解析器KNP[EN]Installation% pip install pyknpor% git clone https://github.com/ku-nlp/pyknp
% cd pyknp
% python setup.py install [--prefix=path]Documentshttps://pyknp.readthedocs.io/en/latest/Authors/Contact京都大学 黒橋・河原研究室 (contact@nlp.ist.i.kyoto-u.ac.jp)John Richardson, Tomohide Shibata, Yuta Hayashibe, Tomohiro Sakaguchi
Package: unofficial-stog
AMR Parsing as Sequence-to-Graph TransductionThis is an unofficial package for the following research paper, for research experiments only.Code for the AMR Parser
in our ACL 2019 paper "AMR Parsing as Sequence-to-Graph Transduction".If you find our code is useful, please cite:@inproceedings{zhang-etal-2018-stog,
    title = "{AMR Parsing as Sequence-to-Graph Transduction}",
    author = "Zhang, Sheng and
      Ma, Xutai and
      Duh, Kevin and
      Van Durme, Benjamin",
    booktitle = "Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2019",
    address = "Florence, Italy",
    publisher = "Association for Computational Linguistics"
}1. Environment SetupThe code has been tested onPython 3.6andPyTorch 0.4.1.
All other dependencies are listed inrequirements.txt.Via conda:condacreate-nstogpython=3.6sourceactivatestog
pipinstall-rrequirements.txt2. Data PreparationDownload Artifacts:./scripts/download_artifacts.shAssuming that you're working on AMR 2.0 (LDC2017T10),
unzip the corpus todata/AMR/LDC2017T10, and make sure it has the following structure:(stog)$treedata/AMR/LDC2017T10-L2data/AMR/LDC2017T10
├──data
│├──alignments
│├──amrs
│└──frames
├──docs
│├──AMR-alignment-format.txt
│├──amr-guidelines-v1.2.pdf
│├──file.tbl
│├──frameset.dtd
│├──PropBank-unification-notes.txt
│└──README.txt
└──index.htmlPrepare training/dev/test data:./scripts/prepare_data.sh-v2-pdata/AMR/LDC2017T103. Feature AnnotationWe useStanford CoreNLP(version3.9.2) for lemmatizing, POS tagging, etc.First, start a CoreNLP server following theAPI documentation.Then, annotate AMR sentences:./scripts/annotate_features.shdata/AMR/amr_2.04. Data Preprocessing./scripts/preprocess_2.0.sh5. TrainingMake sure that you have at least two GeForce GTX TITAN X GPUs to train the full model.python-u-mstog.commands.trainparams/stog_amr_2.0.yaml6. Predictionpython-u-mstog.commands.predict\--archive-fileckpt-amr-2.0\--weights-fileckpt-amr-2.0/best.th\--input-filedata/AMR/amr_2.0/test.txt.features.preproc\--batch-size32\--use-dataset-reader\--cuda-device0\--output-filetest.pred.txt\--silent\--beam-size5\--predictorSTOG7. Data Postprocessing./scripts/postprocess_2.0.shtest.pred.txt8. EvaluationNote that the evaluation tool works onpython2, so please make surepython2is visible in your$PATH../scripts/compute_smatch.shtest.pred.txtdata/AMR/amr_2.0/test.txtPre-trained ModelsHere are pre-trained models:ckpt-amr-2.0.tar.gzandckpt-amr-1.0.tar.gz.
To use them for prediction, simply download & unzip them, and then runStep 6-8.In case that you only need the pre-trained model prediction (i.e.,test.pred.txt), you can find it in the download.AcknowledgementsWe adopted some modules or code snippets fromAllenNLP,OpenNMT-pyandNeuroNLP2.
Thanks to these open-source projects!LicenseMIT