Saravanan666/pypi-org huggingface dataset:
Package: pymed-iplweb
PyMed is a Python library that provides access to PubMed through the
PubMed API. This is a fork, maintained byhttps://IPLweb.plWhy this library?The PubMed API is not very well documented and querying it in a
performant way is too complicated and time consuming for researchers.
This wrapper provides access to the API in a consistent, readable and
performant way.FeaturesThis library takes care of the following for you:Querying the PubMed database (with the standard PubMed query
language)Batching of requests for better performanceParsing and cleaning of the retrieved articlesExamplesFor full (working) examples have a look at theexamples/folder in
this repository. In essence you only need to import thePubMedclass, instantiate it, and use it to query:frompymedimportPubMedpubmed=PubMed(tool="MyTool",email="my@email.address")results=pubmed.query("Some query",max_results=500)Notes on the APIThe original documentation of the PubMed API can be found here:PubMed
Central. PubMed
Central kindly requests you to:Do not make concurrent requests, even at off-peak times; andInclude two parameters that help to identify your service or
application to our serverstoolshould be the name of the application, as a string value
with no internal spaces, andemailshould be the e-mail address of the maintainer of the
tool, and should be a valid e-mail address.Notice of Non-Affiliation and DisclaimerThe author of this library is not affiliated, associated, authorized,
endorsed by, or in any way officially connected with PubMed, or any of
its subsidiaries or its affiliates. The official PubMed website can be
found athttps://www.ncbi.nlm.nih.gov/pubmed/.
Package: pymediumapi
pymediumapiTable of ContentsAbout The ProjectBuilt WithGetting StartedPrerequisitesInstallationUsageRoadmapContributingLicenseContactAcknowledgmentsAbout The Projectpymediumapiis a Python3 package to interact with theAPI of Medium(back to top)Getting StartedThis is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.PrerequisitesMake sure to havepython3,pipinstalled.InstallationGet a freeIntegration tokenathttps://medium.com/and create an enviroment variableexport MEDIUM_INTEGRATION_TOKEN=<your token>Clone the repogitclonehttps://github.com/andregri/pymediumapi.gitCreate a virtual environment and install requirementspython3-mvenvvenvsourcevenv/bin/activate
pipinstall-rrequirements.txt(back to top)UsageExample to authenticate and get a list of pubblications you subscribed:importosimportpymediumapidefmain():client=pymediumapi.Client(os.environ.get('MEDIUM_INTEGRATION_TOKEN'))try:client.authenticate()exceptExceptionase:print("Failed authentication: "+str(e))quit()try:pubblications=client.get_pubblications()exceptExceptionase:print("Failed get pubblications: "+str(e))quit()ifpubblications:pub_id=pubblications[0]["id"]try:contributors=client.get_contributors(pub_id)exceptExceptionase:print("Failed getting contributors: "+str(e))else:print(contributors)else:print("There are no pubblications")quit()if__name__=="__main__":main()(back to top)Roadmap[] Upload post under pubblications[] Upload images[] Upload the packageSee theopen issuesfor a full list of proposed features (and known issues).(back to top)ContributingContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull Request(back to top)LicenseDistributed under the MIT License. SeeLICENSE.mdfor more information.(back to top)ContactAndrea Grillo -@AndreaGrillo96Project Link:https://github.com/andregri/pymediumapi(back to top)AcknowledgmentsMedium API Docs(back to top)
Package: pymedphys
A community effort to develop an open standard library for Medical Physics
in Python. We build high quality, transparent software together via peer review
and open source distribution. Open code is better science.What is PyMedPhys?PyMedPhys is an open-source Medical Physics python library built by an open
community that values and prioritises code sharing, review, improvement, and
learning from each other. It is inspired by the collaborative work of our
physics peers in astronomy and theAstropy Project. PyMedPhys is available
onPyPIandGitHub. For more information, please read theStatement of Need.Beta level of developmentPyMedPhys is currently within thebetastage of its life-cycle. It will
stay in this stage until the version number leaves0.x.xand enters1.x.x. While PyMedPhys is inbetastage,no API is guaranteed to be
stable from one release to the next.In fact, it is very likely that the
entire API will change multiple times before a1.0.0release. In practice,
this means that upgradingpymedphysto a new version will possibly break
any code that was using the old version of pymedphys. We try to be abreast of
this by providing details of any breaking changes from one release to the next
within theRelease Notes.CommunityPyMedPhys has aDiscourse communityto both help you find your feet using PyMedPhys and to facilitate collaboration
and general discussion. Please reach out over there and we’d love to get to
know you!DocumentationPyMedPhys can be installed with:pipinstallpymedphys[user]Further user installation instructions can be found in theQuick Start Guide.The PyMedPhys documentation contains two overarching guides:The Users Guide: where you can find instructions toget startedwith
the library and the CLI, in-depthhow-to guides(examples for users) on PyMedPhys’ various
tools, somebackground informationon individual PyMedPhys projects as
well as theTechnical Reference.The Contributors Guide: for those who wish to make new contributions
to the PyMedPhys library, CLI or app. Here you’ll find detailedworkstation
setup guidesto enable contributions, importantrepository information,
and sometips & tricksto overcome common issues.DevelopmentThe PyMedPhys project is managed usingPoetry.After cloning the repository, install the PyMedPhys dependencies and set up pre-commit by running:poetryinstall-Eallpoetryrunpre-commitinstallRun automated tests with:poetryrunpymedphysdevtestsOur TeamPyMedPhys is what it is today due to its maintainers and contributors, both
past and present. Here is our team.MaintainersSimon BiggsRadiotherapy AI, AustraliaStuart SwerdloffELEKTA Pty Ltd: New ZealandMatthew JenningsRoyal Adelaide Hospital, AustraliaPhillip ChlapUniversity of New South Wales, AustraliaIngham Institute, AustraliaActive contributorsDerek LaneELEKTA AB, Houston TXJake RembishUT Health San Antonio, USANicola LambriIRCCS Humanitas Research Hospital, ItalyHumanitas University, ItalyCody CrewsonSaskatchewan Cancer Agency, CanadaFada GuanYale University School of Medicine, USAPast contributorsMatthew CooperPedro MartinezRafael AyalaMatthew SobolewskiPaul KingJacob McAloney
Package: pymedphys-pylibjpeg-libjpeg
pylibjpeg-libjpegA Python 3.7+ wrapper for Thomas Richter'slibjpeg, with a focus on use as a
plugin forpylibjpeg.Linux, MacOS and Windows are all supported.InstallationDependenciesNumPyInstalling the current releasepipinstallpylibjpeg-libjpegInstalling the development versionMake surePythonandGitare installed. For Windows, you also need to installMicrosoft's C++ Build Tools.gitclone--recurse-submoduleshttps://github.com/pydicom/pylibjpeg-libjpeg
python-mpipinstallpylibjpeg-libjpegSupported JPEG FormatsDecodingISO/IEC StandardITU EquivalentJPEG Format10918T.81JPEG14495T.87JPEG-LS18477JPEG XTEncodingEncoding of JPEG images is not currently supportedSupported Transfer SyntaxesDecodingUIDDescription1.2.840.10008.1.2.4.50JPEG Baseline (Process 1)1.2.840.10008.1.2.4.51JPEG Extended (Process 2 and 4)1.2.840.10008.1.2.4.57JPEG Lossless, Non-Hierarchical (Process 14)1.2.840.10008.1.2.4.70JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])1.2.840.10008.1.2.4.80JPEG-LS Lossless1.2.840.10008.1.2.4.81JPEG-LS Lossy (Near-Lossless) Image CompressionUsageWith pylibjpeg and pydicomfrompydicomimportdcmreadfrompydicom.dataimportget_testdata_fileds=dcmread(get_testdata_file('JPEG-LL.dcm'))arr=ds.pixel_arrayStandalone JPEG decodingYou can also decode JPEG images to anumpy ndarray:fromlibjpegimportdecodewithopen('filename.jpg','rb')asf:# Returns a numpy arrayarr=decode(f.read())# Or simply...arr=decode('filename.jpg')
Package: pymedx
PyMedX is a fork from a archived project called PyMed:https://github.com/gijswobben/pymedxPyMedX - PubMed Access through PythonPyMedX is a Python library that provides access to PubMed through the PubMed
API.Why this library?The PubMed API is not very well documented and querying it in a performant way
is too complicated and time consuming for researchers. This wrapper provides
access to the API in a consistent, readable and performant way.FeaturesThis library takes care of the following for you:Querying the PubMed database (with the standard PubMed query language)Batching of requests for better performanceParsing and cleaning of the retrieved articlesExamplesFor full (working) examples have a look at theexamples/folder in this
repository. In essence you only need to import thePubMedclass, instantiate
it, and use it to query:frompymedximportPubMedpubmed=PubMed(tool="MyTool",email="my@email.address")results=pubmed.query("Some query",max_results=500)Notes on the APIThe original documentation of the PubMed API can be found here:PubMed Central. PubMed
Central kindly requests you to:Do not make concurrent requests, even at off-peak times; andInclude two parameters that help to identify your service or application to
our serverstoolshould be the name of the application, as a string value with no
internal spaces, andemailshould be the e-mail address of the maintainer of the tool, and
should be a valid e-mail address.Notice of Non-Affiliation and DisclaimerThe author of this library is not affiliated, associated, authorized, endorsed
by, or in any way officially connected with PubMed, or any of its subsidiaries
or its affiliates. The official PubMed website can be found athttps://www.ncbi.nlm.nih.gov/pubmed/.
Package: pymeetings
PymeetingsThis is a simple library that allows to compute the different hours in different
spots of the world with respect to the GMT.InstallationpipinstallpymeetingsExamplesHere is a simple example:frompymeetings.pymeetimportGetMeetingHour(['Chicago','Paris'],'2020/11/23')df=getmet.ConstructTable()print(df)There are several examples that are present in the directoryexamples.Still ToDo
Package: pymef
PymefPymef is a wrapper library for Multiscale Electrophysiology Format developed byMSEL laboratory.Currently available for all major distributions (Linux, Mac OS, Windows). Only python 3 is supported.Mef v 3.0 basic featuresSupport for parallelisation of signal processingData compressionData encryptionReal-time read/write, failure when writing file leaves intact valid filesCRC functionality to detect data corruptionSupport for time discontinuitiesSupport for time series and video channelsWrapper featuresMEF3 files write/readConvenience functions to easily read data and metadata for multiple channelsInstallationTo install please use:pipinstallpymefTo install from source:pythonsetup.pyinstallUsagefrom pymef.mef_session import MefSession

session_path = '/path/to/session.mefd'
password     = 'mef_password'          // leave blank if no password

# read session metadata
ms = MefSession(session_path, password)

# read data of a single channel from beginning to end
data = ms.read_ts_channels_sample('Ch01', [[None, None]])

# read data of multiple channels from beginning to end
data = ms.read_ts_channels_sample(['Ch01', 'Ch05'], [[None, None]])DocumentationThe MEF3 specification can be foundhere.
The PyMef documentation can be foundhere.SupportPlease report problems tojan.cimbalnik@fnusa.cz.LicensePymef is licensed under the Apache software license. SeeLICENSE.txtfor details.
Package: pymeg
pymegTable of ContentsGeneral InfoClass OverviewSetupExampleGeneral InfoPython mathematical expression generatorClass OverviewAbstractExpStructAbstract class of ExpStruct.This class has four constants.AbstractExpStruct.PLUS=0AbstractExpStruct.MINUS=1AbstractExpStruct.MULTIPLY=2AbstractExpStruct.DIVIDE=3ExpStructClass which can store the rules of expression. inherits the AbstractExpStruct.ExpStruct has methods like below.set_op(lst)# set the operators to be used to expression to generate as AbstractExpStruct's constant.# For example, if you want to use only plus and minus then write like this# expStruct.set_op([AbstractExpStruct.PLUS, AbstractExpStruct.Minus])get_op()->self.__op_lst# get the operators to be used as list of AbstractExpStruct's constant.set_oper_cnt(cnt)# set the number of operands of expression to be generated.set_range(min_,max_,types:list)# set min, max number to use of types(plus, minus ...).ExpGeneratorClass which generate the randomized expression with given ExpStruct instanceUsingget_problemstatic method to generate the expression. Argument isExpStruct.Result is string-typed mathematical expression.problem = ExpStruct()

ExpGenerator.get_problem(problem)Setuppython -m pip install pymegExampleCode Samplefrompymeg.expGeneratorimportExpGeneratorfrompymeg.expStructimportExpStructproblem=ExpStruct()problem.set_oper_cnt(4)problem.set_range(20,100,[ExpStruct.PLUS,ExpStruct.MINUS])problem.set_range(2,10,[ExpStruct.MULTIPLY])problem.set_range(2,4,[ExpStruct.DIVIDE])print(ExpGenerator.get_problem(problem))print(ExpGenerator.get_problem(problem))print(ExpGenerator.get_problem(problem))ext=ExpGenerator.get_problem(problem)print(ext)print(eval(ext))ResultNote: Problem will be generated randomly depending on operand count set by user.54+25-54*96*6-31/32/4*8/39*3*6/281.0
Package: pymegacli
If you have any LSI RAID cards in your infrastructure which predate the acquisition
of 3ware, you are undoubtedly familiar with MegaCli64, the horrible program which LSI
provides for administrating these cards. Its lack of user-friendliness is legendary. Some
egregious examples:case sensitivity + inconsistent case (example:/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL)wildly inconsistent, hard-to-parse output (BBU GasGauge Status: 0x0128)misleading summary information (components like BBUs will often simultaneously reportState: OptimalandPack is about to fail & should be replaced, which seems like they should never occur at the same time)This library seeks to wrap MegaCli and MegaCli64 and provide an object-oriented interface
to see what the heck is actually going on with your controller.At this time, it doesn’t support CHANGING anything, just displaying data. This makes it
suitable to use in, e.g., nagios checks, but you still have to remember how to actually
change settings. That might change in the future.
Package: pymegafon
PyMegaFon - Manage your MegaFon accountThis toolset allows you to automate manipulations with your MegaFon account.Currently implemented funcions:Sign inRetrieve account balanceRetrieve subscriptions statusMegaFon CredentialsIn order to obtain login and password follow the instructions:hereQuick startThere are two ways to use this "product": as a CLI tool and as a python module.Installpymegafonpython package:$python3-mpipinstall--userpymegafonRun in CLI$python3-mpymegafon--helpCheck balance$python3-mpymegafon-l79210001111-prND0mPw--check-balance
INFO:root:Signingin...
INFO:root:Balance:302.44Check internet subscription remainings$python3-mpymegafon-l79210001111-prND0mPw--check-remainings
INFO:root:Signingin...
INFO:root:Option:'Интернет в роуминге Европа 70Мб'(Total:70МБ,Available:70МБ)INFO:root:Option:'Интернет в роуминге Ост.стр 10Мб'(Total:10МБ,Available:10МБ)INFO:root:Option:'Интернет в роуминге СНГ 80Мб'(Total:80МБ,Available:80МБ)INFO:root:Option:'Интернет в роуминге Поп.стр 50Мб'(Total:50МБ,Available:50МБ)INFO:root:Option:'Интернет'(Total:30ГБ,Available:19.84ГБ)Ccredentials via environmentYou can pass your credentials via environment variables. This way just ommit auth related CLI parameters.$exportMEGAFON_LOGIN="79210001111"$exportMEGAFON_PASSWORD="rND0mPw"$python3-mpymegafon--check-remainingsReporting bugsPlease, use GitHub issues.Requesting new functionalityPlease, use GitHub issues.
Package: pymegle
PymeglePymegle is an unofficial API forOmegle'stext chat using asyncio. It provides an interface
for connecting to text chats and asynchronous event handling. This package also comes bundled with a full-featured user client that can be run in the console.DISCLAIMER: This software is not intended to be used for spam or other disruptive/malicious activities. Please abide by
Omegle's terms of service.InstallationPymegle can be installed from PyPi using the following command:pip install pymegleStarting OutThe simplest usage of this package is interacting with the user client. It can be run using the following code.NOTE:Many consoles were not designed with asynchronous operation in mind and as a result may experience issues
when running the interactive client. PyCharm'sPython Consoleand the Windows command prompt tend to perform the best.importpymeglepymegle.run_user_clent()The user client recreates the Omegle browser experience in the console, showcasing what can be done with this API.Basic UsageTheOmegleChatclass is the basic handler for text chat interactions. It represents a single chat between the client
(user) and a partner. It can be inherited to handle various events, such as receiving messages.For this example, we will make a simple dice roller that responds to a command given by the partner and sends a result.importpymegleimportrandomclassDiceRoller(pymegle.OmegleChat):def__init__(self,**kwargs):super().__init__(**kwargs)# Automatically add 'diceroller' to the chat request's interestsself.interests.add("diceroller")# This coroutine is called when the client successfully connects to a partnerasyncdefon_connected(self,i):# Send a greeting messageawaitself.send_message("Hello! Type /roll and I will roll a 6 sided die for you")# This coroutine is called when the partner sends a messageasyncdefon_message(self,m):# Check if the message matches the specified commandifm=="/roll":awaitself.send_message("🎲 Rolling...")awaitself.type_message(f"Result:{random.randrange(1,7)}")The above chat can then be run by doing:chat=DiceRoller()chat.start()Then, connect to Omegle withdicerollerin the interests to test it.The chat class can be wrapped in anOmegleClientto provide more functionality, namely the ability to automatically
begin a new chat when the current one is finished.classMyClient(pymegle.OmegleClient):# This is called when a chat endsdefon_chat_end(self,log):# Returning True tells the client to start a new chatreturnTrueclient=MyClient(DiceRoller)client.start()
Package: pymeigo
the packagepymeigois a python package that provides a python interface to the
optimisation tool MEIGOR, which is a R package available athttp://www.iim.csic.es/~gingproc/meigo.html. The
original R package provides a scatter search optimisation that is obviously dedicated to the optimisation of R functions.pymeigoprovides an easy way to use MEIGOR within python so as to optimise python functions as well.For a full documentation, see the sphinx documentation in the ./doc directory orhttp://www.ebi.ac.uk/~cokelaer/pymeigo
Package: pymeili
INTRODUCTIONpymeili.為美麗而生 [remake edition]pymeili is a module to beautify your python plot with more simple way. the design idea is from Navigraph aeronautical chart.IMPORTANTIf you encounter the FileNotFound error when using this module, you need to manually install font-packages:https://dwl.freefontsfamily.com/download/futura/;
moving the font file to installed module folder, for instance:C:\Users\Username\AppData\Local\Programs\Python\Python311\Lib\site-packages\pymeili\resourcesIf you encounter the ModuleNotFoundError when using this module, you need to manually install the module in the lastest version:pip install matplotlibpip install numpypip install seabornpip install pathlibpip install pathlib2pip install cartopypip install basemappip install richAlso, some modules do not support the previous version of python, make sure you are using the version 3.7 or above.INSTALLATION & USAGEFor more information, please visit our hosted github webpage:https://github.com/VVVICTORZHOU/pymeili_resourceUSAGEWe have moved our project instruction to github, please visit our hosted github webpage.CHANGE LOG1.0.1 (29/01/2024)First Release1.0.2 (02/02/2024)First Revision, Including:Axes in the plot is now availableWindrose plot is now available (not include subplots)demo4, demo9 releasedREADME.md updated1.0.3 (08/02/2024)Fixing the bug in the installation processREADME.md updated1.0.4 (15/02/2024)Fixing the bug in the installation processNew feature: bp.record() is now available
Package: pymeilisearch
An enhanced Python API to MeilisearchAboutPyMeilisearch is a Python command-line interface (CLI) that
simplifies integration withMeilisearch,
enabling developers to enhance their applications with powerful search
functionality by indexing desired data.PyMeilisearch provides these key features:Easy integrationwith continuous integration workflows.High-level functionalityfor indexing data, performing searches, and managing documents.Powerful capabilitiesfor enabling filtering options and indexing
configurations for tailored search experiences.InstallationInstalling  thepymeilisearchpackage is as easy as running this command:python -m pip install pymeilisearchFor other installation methods, refer toPyMeilisearch installationin the PyMeilisearch documentation.DocumentationThePyMeilisearch documentationcontains these sections:Getting started: Describes how to install PyMeilisearch
and build your own Docker image for testing PyMeilisearch locally.User guide: Describes how to use the PyMeilisearch CLI and
integrate PyMeilisearch in a website.API reference: Describes the PyMeilisearch API. For each
subpackage and submodule, it provides information about classes, functions,
methods, parameters, and return values. This reference helps you understand the
available API endpoints, their capabilities, and how to interact with them
programmatically.Examples: Provides code examples that show how to use PyMeilisearch
in real-world scenarios. Sample code snippets and complete scripts
demonstrate different use cases or specific features to help you
understand how to use PyMeilisearch in your own projects.TroubleshootingTo request troubleshooting assistance or report an issue, follow these steps to
create an issue in the project’s repository:Go to thePyMeilisearch repository.Click theIssuestab to view theIssuespage.On theIssuespage, clickNew Issue.In the window that opens, provide a clear and detailed description of the issue
that you are facing. Include any relevant error messages, code snippets, and
screenshots.To reach the project support team, emailpyansys.core@ansys.com.License and acknowledgementsPyMeilisearch is licensed under the MIT license.
You can see the full text of the license in theLICENSEfile.
Package: pymeli
MELIA small module to try to help Mercado Libre (MeLi) developers and the MeLi community! More docs to come soon, but first we need to have a good working library!WishlistCaching mechanismConvert to classAutomatic refresh of tokensStandardise credentials fileUsefrompymeliimportMeliclient=Meli(client_id='****',client_secret='***')