Saravanan666/pypi-org huggingface dataset:
Package: iquery
iquery===========================================================iquery提供基于命令行各种信息查询... image:: https://raw.githubusercontent.com/protream/iquery/master/screenshot/iquery.gifUsage-----火车余票查询````````::$ iquery 南京 上海 910$ iquery -d 上海 北京 20160617第二种方式中指定了动车类型, 并输入完整的日期, 也是可以的.近期演出查询````````::$ iquery 南京 演唱会$ iquery 上海 音乐会 30默认查询15天内的演出, 你可以向第二种方式一样指定多少天.热映电影查询````````::$ iquery -m你将获得当前热映的电影信息, 输出电影信息后，你可以输入你感兴趣的电影编号查看电影简介, 输入q或quit退出.莆田系医院查询``````````````::$ iquery -p 北京$ iquery -p 上海 长江第一种方式查询一个城市内的所有莆田系医院, 第二种可以指定医院名称, 返回``True``表示该医院是莆田系.数据来源: https://github.com/open-power-workgroup/Hospital歌词查询````````::$ iquery -l 演员$ iquery -l 演员 薛之谦第二种针对歌名重复的情况, 你可以在后面追加歌手姓名.彩票信息查询```````````::$ iquery -cInstall-------iquery使用Python3编写，请使用pip3安装:::$ pip3 install iquery或者下载源码安装:::$ git clone https://github.com/protream/iquery然后到下载目录:::$ ./setup.py installHelp----::Usage:iquery (-c|彩票)iquery (-m|电影)iquery -p <city>iquery -l song [singer]iquery -p <city> <hospital>iquery <city> <show> [<days>]iquery [-dgktz] <from> <to> <date>Arguments:from             出发站to               到达站date             查询日期city             查询城市show             演出的类型days             查询近(几)天内的演出, 若省略, 默认15city             城市名,加在-p后查询该城市所有莆田医院hospital         医院名,加在city后检查该医院是否是莆田系Options:-h, --help       显示该帮助菜单.-dgktz           动车,高铁,快速,特快,直达-m               热映电影查询-p               莆田系医院查询-l               歌词查询-c               彩票查询Show:演唱会 音乐会 音乐剧 歌舞剧 儿童剧 话剧歌剧 比赛 舞蹈 戏曲 相声 杂技 马戏 魔术Go to https://github.com/protream/iquery for usage examples.Notes------ 火车票查询最多查询未来50天内.- 确保你的查询日期不要有歧义, 比如111可以是1.11也可以是11.1, 默认解析为11.10.5.0------ 新增彩票信息查询功能, 感谢bonfy的贡献- 修复bug0.4.2------ 新功能, 查询歌词- 优化性能, 缓存火车站表0.4.1------ not import requests err fix0.4.0------ 项目更名： tikcets -> iquery- 新功能：查询莆田系医院- 统一了每个服务的接口0.3.0------- 新功能，查询热映电影信息及电影简介- 优化火车查询日期处理，本年内不需要输入年- 小bug修复0.2.4------- 修正Windows下面的编码问题- 修正查询show时不支持城市报错问题0.2.3------- 不再使用colorama- 改变显示演出的方式0.2.2------- 小bug修复0.2.1------- setup缺失colorama修复0.2.0------- 不再支持Python2- 重构了代码- 增加的查询演出门票的功能0.1.1------- use unicode global- add a logo0.1.0------- Make it live!- Added to PyPI
Package: ira-auth-m2m-client
IraAuthM2M clientIraAuthM2M (machine-to-machine authentication) is used to authenticate an application by IraAuth so that it can access APIs protected by IraAuth.Installpip install ira_auth_m2m_clientSample Usageimportosimportasynciofromira_auth_m2m.authimportIraAuthira_auth=IraAuth(client_id=os.environ.get("IRA_AUTH_M2M_CLIENT_ID"),client_secret=os.environ.get("IRA_AUTH_M2M_CLIENT_SECRET"),token_endpoint=os.environ.get("IRA_AUTH_M2M_TOKEN_ENDPOINT"),cookie_name=os.environ.get("IRA_AUTH_M2M_COOKIE_NAME"))http=ira_auth.get_http_client(base_path="https://xyz.com")asyncdefmain():response=awaithttp("GET","/animals/dog/husky/info")ifresponse!=None:print(response.json())awaitira_auth.cleanup()asyncio.run(main())
Package: iracema
IntroductionIracema is a Python package aimed at the empirical research on music
performance, with focus on the analysis of expressiveness and individuality
from audio recordings. It is developed and maintaned by researchers atCEGeME, and contains computational models of music information extraction
that were developed for supporting research projects in music performance. It
was strongly inspired by Expan, a Matlab tool that had been previously
developed at CEGeME.InstallationWe strongly recommend that you install iracema into a separate virtual environment,
since it is always a good practice to keep project-specific dependencies isolated
from your base Python installation (check instructions in the section Virtual
environment). After activating your virtual environment, you can install iracema
by running the following command:pip3installiracemaIf you’re a Linux user, you will need to manually install an audio I/O library
called PortAudio. If you are a MacOS X user, this library is probably already
installed. In Debian / Ubuntu you can install it using apt:sudoaptinstalllibportaudio2Virtual environmentTo create a virtual environment to use iracema, go to the project’s folder
and run:python3-mvenvvenvA folder calledvenvwill be created, where you will be able to install
all the project’s dependencies, isolated from your base Python installation.
To activate this newly created environment, type the following command:sourcevenv/bin/activateDevelopingTo contribute with the development of iracema, clone the repository from github:gitclone--recurse-submoduleshttps://github.com/cegeme/iracema.gitThe command shown above will also clone some example audio files.
If you don’t want to download those files, you should omit the
parameter--recursive:gitclonehttps://github.com/cegeme/iracema.gitTo install the required dependencies and the cloned project in pip, go to the directory
where the repository was cloned and type in your command line:pip3install-rrequirements.txtpip3install-e.DependenciesPython packages (required):numpyscipymatplotlibsounddeviceaudioreadOptional dependencies:ffmpeg, libav, gstreamer or core audio (for opening different audio file
formats)libportaudio2 (if you want to play audio)
Package: iracing-client
iracing-clientA Python Client Library for working with iRacing Data API.This library provides communiction & error handling with the iRacing Data API.Quick StartJSON formatted data returned by iRacing is deserialized as either alistordictusingjson.loadsimportiracing_client.authasauthfromiracing_client.data.constantsimportConstantsfromiracing_client.data.memberimportMemberfromiracing_client.data.leagueimportLeague# Authenticate with iRacingiracing_username=os.environ.ge('IRACING_USERNAME')iracing_password=os.environ.ge('IRACING_PASSWORD')http_session=auth.login(iracing_username,iracing_password)# iRacing Constantsconstants=Constants(http_session)print(constants.categories)print(constants.divisions)print(constants.event_types)# My iRacing Member Infomember=Member(http_session)print(member.get_profile())# My iRacing League Directoryleague=League(http_session)print(league_instance.get_directory())Useful InformationiRacing Data API DocumentationiRacing Forums Data API DiscussioniRacing Auth PortalColaboratingFeel free to fork this repo and commit back via a Pull Request.We have provided a VSCode devcontainer to make getting started as simple as possible.  Use your own local machine or a GitHub CodeSpace.The python dependancies and packaging is managed usingPoetry.Tests are managed and executed usingpytest.Code formatting is performed byblack.Linting is performed bypylint.Unit TestsUnit Tests mock interactions with the iRacing Data API and can be executed offline.  Create unit tests to exercise logic and error handling.Running pytest from the VSCode Terminal:poetryrunpytesttests/unit/Integration TestsIntegration Tests will connect to the iRacing Service and perform a shake down of the base data classes using live data.When testing locally, provide the following values in a.envfile in the root of the project.IRACING_USERNAME=<youremailaddress>IRACING_PASSWORD=<youriRacingpassword>IRACING_MEMBER_ID=<youriRacingMemberId>Running pytest from the command line (integration tests only):poetryrunpytesttests/integration
Package: iracingdataapi
Aboutiracing-data-api is a simple Python wrapper around the General Data API released by iRacing in January 2022 and documentedhere.The client allows easy access to some of the most useful endpoints of the data API.Installationpip install iracingdataapiExamplesfromiracingdataapi.clientimportirDataClientidc=irDataClient(username=[YOURiRACINGUSERNAME],password=[YOURiRACINGPASSWORD])# get the summary data of a memberidc.stats_member_summary(cust_id=20979)# get latest results of a memberidc.stats_member_recent_races(cust_id=209179)# get all laps for a specific driver in a raceidc.result_lap_data(subsession_id=43720351,cust_id=209179)All available methods ofirDataClientare included inclient.py.ContributingI welcome all pull requests for improvements or missing endpoints over time as they are added by iRacing.Changelog1.1.4Fixresult_search_seriesto correctly includefinish_range_beginas an optionFixseason_spectator_subsessionidsto correctly return the IDs rather than the object1.1.3Bug fix for some 5xx errors that are thrown by iRacingAdded theseason_spectator_subsessionids()endpoint1.1.0Added docstrings to all methods for developer experienceRenamedseries()toget_series()for consistency.Breaking change:For that same consistency,serieshas been reimplemented as a property which returns the series with their assets. To amend your implementation, either switch toget_series()or remove any brackets in your call ofseries.Renamedget_carclass()toget_carclasses()to be more consistent with other endpoints.NOTE:get_carclass()will be removed in a future release.Added assets to the returned data oftracks. If you prefer not to get those assets, useget_tracks().Removed redundant cookie handling code, as that is all handled withinrequests.SessionFixed a ratelimiting errorFixed a ratelimiting bugFixed a bug related to empty resultsImproved handling of results1.0.6Bug fix inresult_lap_datamethod, which will now return an empty list for anycust_id/subsession_idcombinations for which laps were not turned.1.0.5Added a wait when hitting a rate limit1.0.4Bug fix: Previously an attempt wouldn't be retried if the authentication data became stale. This release fixes that1.0.3Added the endpoints described in theAugust 22nd update1.0.2Adjusted login flow to avoid logging in on instantiation of anirDataClientobjectLogin now happens either on the initial call to an iRacing endpoint, or whenever a401 Unauthorizedresponse is received form iRacing1.0.1Adjustedresult_search_seriesto allow searches by date range without using season years and quarters.
Package: irakliotis-comp180-utilities
Leo Irakliotis' utilities for COMP 180This package contains various utilities that I use in my
COMP 180 course at Loyola University Chicago. The course
is an introduction to Computing and Data for non computer-
science majors. It is based on Python and presents techniques
and methods using pandas/dataframes and matplotlib.Leo Irakliotisleo@cs.luc.edu
Package: iranholidays
iranholidaysis a small python library that provides functions to check if a date is a holiday in Iran or not.Warning:For Islamic holidays, like Eid al-Fitr, the calculation may be off by a day or two since those events depend on seeing the moon by naked eye and cannot be predicted by computers.Usagefromiranholidaysimportholiday_occasionassertholiday_occasion((2024,4,1,'G'))=='Sizdah Be-dar'# Gregorianassertholiday_occasion((1403,1,13,'S'))=='Sizdah Be-dar'# Solarassertholiday_occasion((1403,1,14,'S'))isNoneassertholiday_occasion((1445,9,21,'L'))=='Martyrdom of Ali'# LunarIn case you have a date object from the following libraries, you can check it directly using one of theoff_occasion_*functions:importdatetimeimporthijri_converterimportjdatetimefromiranholidaysimport(off_occasion_gregorian,off_occasion_lunar,off_occasion_solar,)date=datetime.date(2024,4,1)assertoff_occasion_gregorian(date,weekend=())=='Sizdah Be-dar'date=jdatetime.date(1403,1,13)assertoff_occasion_solar(date,weekend=())=='Sizdah Be-dar'date=hijri_converter.Hijri(1445,9,21)assertoff_occasion_lunar(date,weekend=())=='Martyrdom of Ali'off_occasionfunction checks if a date is a weekend or holiday and returns the occasion string orNone. The default value for weekend parameter is(4,)which means Friday. Either pass a different value toweekendparameter to override it or useset_default_weekendfunction to change this default for all functions:fromiranholidaysimportoff_occasion,set_default_weekenddate=(2024,2,5,'G')# a non-holiday Mondayassertoff_occasion(date)isNoneassertoff_occasion(date,weekend=(0,))=='Weekend'set_default_weekend((0,))# set default weekends to Thursday and Fridayassertoff_occasion(date)=='Weekend'
Package: iranlowo
Ìrànlọ́wọ́Ìrànlọ́wọ́ is a set of utilities to analyze & process Yorùbá text for NLP tasks. The focus is onhelping software developersbuild large, clean text datasets for (further) diacritic restoration and machine translation tasks.FeaturesADR toolsStrip all diacritics from word-typesVerify that text is NFC or NFDNormalize a corpus (from MS Word or elsewhere) → NFCSplit long sentences on certain characters like;,:, etcAutomatically restore correct diacritics using a pre-trained modelFind all variants of all word-type in a given corpusPartially strip diacritics from word-typesReady to use webpage scrapersBíbélì Mímọ́  (Biblica, Bible Society of Nigeria)Yorùbá BlogBBC YorùbáCorpus analysis toolsDataset character distributionDataset ambuiguity statistics → Lexdif, etc for a given corpusDataset scoring (proximity to correctly diacritized text, LM perplexity, KL divergence)InstallationObtainable from thePython Package Index (PyPI)→pip install iranlowoExampleShow computing environment and installation processDiacritize a phrase$ python
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import iranlowo.adr as ránlọ
>>> ránlọ.diacritize_text("lootoo ni pe ojo gbogbo ni ti ole")
PRED AVG SCORE: -0.0037, PRED PPL: 1.0037
'lóòtóọ́ ni pé ọjọ́ gbogbo ni ti olè'Diacritize phrases, note we useipythononly because it renders nicer, easy-to-read text-colours in the terminal!DisclaimerThis is beta software, if you pass the diacritizerout-of-domain text, English, pidgin or any other non-Yorùbá text, you will experience very marvelous, black-box results.Since this a work-in-progress and we are steadily improving, if you encounter any problems with correctness or performance, please submitpull-requestswith corrections or file anissue.LicenseThis project is licensed under theMIT License.
Package: iran-mobiles
light weight package to verify and get information about Iranian cell phone numberthis is a package for checking if input number is a valid iran cell phone number or not
it can give you additional information about its operator and some other useful information like prepaid and postpaidfor now it consist of 3 main method for :verify if input number is real cell phone numberdetermine just operator of cell phone number (if its a wrong phone number returns None)retun type of cell phone based on prepaid or postpaid and its operatorinstall by pip:pip install iran-mobileshow to use :first import module as :from iran_mobile_va import mobilethen for validation of a phone number use this method:mobile.is_valid(tel_number)if its valid ,the method returnsTrueotherwise returnsFalse.for determine just operator of cell phone use this:mobile.tel_operator(tel_number)it returns respective operator but if number is not valid it returnsNonefor determine operator and postpaid or prepaid of phone number use this:mobile.tel_information(tel_number)it returns a dictionary that has element of validation and operator of number like{'validation':'something','operator':'something'}but if number is not valid it return{'validation' = 'False' , 'operator' = 'None'}
Package: irapi
InnoRPA API PackageThis is a innoRPA API package.Install the Package locally$ pip install .

  and then use it as follow.
  >>> import irapi
  >>> print irpa.getValue()Publishing on PyPi$ python setup.py bdist_wheel
  $ python -m pip install dist/irapi-0.1-py2-none-any.whl
  $ python -m twine upload dist/*Install the Package from PyPi$ pip install irapi
Package: irbasis
irbasisOpen-source database and software for intermediate-representation basis functions of imaginary-time Green's function and Python and C++ librariesDetailed instructions are availableonline.
Please also checkour citation policy.Below we will briefly describe this software.Table of ContentsLicenseStructureInstallationUsageLicenseThis software is released under the MIT License, see LICENSE.txt.StructureWe briefly describe files constituting this software below.c++/irbasis.hppC++ librarypython/irbasis.pyPython librarydatabase/irbasis.h5Database file (Lambda=10,102, 103, 104, 105, 106, 107).sample/Directory including samples in C++ and Pythontest/Unit tests in C++ and PythonInstallationPythonYou need to install only a few standard scientific libraries (such as numpy, h5py) shown inour PyPI project page.
If you install irbasis through pip, pip will take care of these dependencies properly.We strongly recommend to install the irbasis library using the standard Python package system.
This package contains the data file (irbasis.h5) as well.python -mpip install -U pip
python -mpip install -U irbasisAlternatively, we can putirbasis.pyandirbasis.h5into your working directory.
You can load irbasis and use the full functionality.If you want runsample Python scripts,
please also install additional Python packages (scipy, matplotlib) using the following command.pip install scipy matplotlibC++You need a C++03-compatible compiler.
The use of the C++ irbasis library requires only the HDF5 C library (not C++).The C++ library consists of a single header file.
All what you need to do is to includeirbasis.hppin your C++ project.
The data fileirbasis.h5will be read at runtime.
Please do not forget to link your executable to the HDF5 C library.UsageIn the following, we demonstrate how to use irbasis database.
The irbasis database is available in Python and C++.
irbasis can calculate the IR basis functions, its Fourier transform, the derivatives and corresponding singular values.In the following, we assume that you have installed the irbasis Python library via pip.If not, please modify the sample script files appropriately to specify the location of a database file (see a comment in api.py).Some of sample Python scripts depend on scipy and matplotlib.For other examples, please refer to our online document.PythonYou can downloadapi.pyand save it to your working directory.
Then, please run the following command.pythonapi.pyYou can study also our step-by-step examples ina jupyter notebook.C++You can downloadapi.cppandstep_by_step_examples.cppto your working directory.
After copying irbasis.hpp into the same directory,
you can build the sample program as follows (seecompile.sh).g++api.cpp-oapi-I/usr/local/include-L/usr/local/lib-lhdf5-DNDEBUG-O3g++step_by_step_examples.cpp-ostep_by_step_examples-I/usr/local/include-L/usr/local/lib-lhdf5-DNDEBUG-O3Here, we assume that the header file and the library file of the HDF5 C library are installed into "/usr/local/include" and  "/usr/local/lib", respectively.
When running the executable, irbasis.h5 must exist in your working directory.
Package: irbasis3
irbasis3 - A library for the intermediate representation of propagatorsThis library provides routines for constructing and working with the
intermediate representation of correlation functions.  It provides:on-the-fly computation of basis functions for arbitrary cutoff Λbasis functions and singular values are accurate to full precisionroutines for sparse samplingInstallationpip install irbasis3 xprecThough not strictly required, we strongly recommend installing thexprecpackage alongsideirbasis3as it allows to compute the IR basis functions
with greater accuracy.Quick startHere is some python code illustrating the API:# Compute IR basis for fermions and β = 10, W <= 4.2
import irbasis3, numpy
K = irbasis3.KernelFFlat(lambda_=42)
basis = irbasis3.FiniteTempBasis(K, statistics='F', beta=10)

# Assume spectrum is a single pole at ω = 2.5, compute G(iw)
# on the first few Matsubara frequencies. (Fermionic/bosonic Matsubara
# frequencies are denoted by odd/even integers.)
gl = basis.s * basis.v(2.5)
giw = gl @ basis.uhat([1, 3, 5, 7])

# Reconstruct same coefficients from sparse sampling on the Matsubara axis:
smpl_iw = irbasis3.MatsubaraSampling(basis)
giw = -1/(1j * numpy.pi/basis.beta * smpl_iw.wn - 2.5)
gl_rec = smpl_iw.fit(giw)You may want to start with reading up on theintermediate representation.
It is tied to the analytic continuation of bosonic/fermionic spectral
functions from (real) frequencies to imaginary time, a transformation mediated
by a kernelK.  The kernel depends on a cutoff, which you should choose to belambda_ >= β*W, whereβis the inverse temperature andWis the bandwidth:One can now perform asingular value expansionon this kernel, which
generates two sets of orthonormal basis functions, one setv[l](w)for
real frequency sidew, and one setu[l](tau)for the same obejct in
imaginary (Euclidean) timetau, together with a "coupling" strengths[l]between the two sides.By this construction, the imaginary time basis can be shown to beoptimalin
terms of compactness.LicenseThis software is released under the MIT License.  See LICENSE.txt.
Package: irbasis-utility
irbasis utilityUtility library for irbasis: support for two-point Green's function, three-point Green's function.This software is released under the MIT License, see LICENSE.txt.Requirementsirbasis >= 1.0.2scipyHow to build tests & install via pip> mkdir build && cd build
> cmake path_to_source_directory
> make
> make test
> python setup.py bdist_wheel # make a universal binary package
> cd dist
> pip install irbasis_utility-*.whl
Package: irbis
PythonIrbispackage is universal client software for IRBIS64 library
automation system (ManagedIrbispackage ported from C# to Python 3). Available onPyPi.Supported environmentsPythonIrbiscurrently supports Python 3.6 and 3.7 on 32-bit and 64-bit Windows, Linux, Mac OS X and IRBIS64 server version 2014 or later.Sample programimportirbis# Connect to the serverclient=irbis.Connection()client.parse_connection_string('host=127.0.0.1;database=IBIS;'+'user=librarian;password=secret;')client.connect()ifnotclient.connected:print("Can't connect")exit(1)# Search for books written by Byronfound=client.search('"A=Byron$"')print(f'Records found:{len(found)}')# Take first 10 recordsformfninfound[:10]:# Read the record from the serverrecord=client.read_record(mfn)# Extract the field and subfield from the recordtitle=record.fm(200,'a')print(f'Title:{title}')# Format the record by the serverdescription=client.format_record(irbis.BRIEF,mfn)print(f'Description:{description}')print()# Print empty line# Disconnect from the serverclient.disconnect()LinksBuilds on AppVeyor;Build statusLicenseDocumentation (in russian)https://pythonirbis.readthedocs.io/
Package: irbots-nextpay-python
توضیح:کتابخانه‌ی ساده و کارآمد برای ادغام درگاه پرداخت NextPay در برنامه‌های پایتون. با استفاده از این کتابخانه، توسعه‌دهندگان می‌توانند به سادگی و بدون نیاز به وابستگی‌های اضافی، پرداخت‌های الکترونیکی خود را از طریق NextPay انجام دهند. این کتابخانه شامل تمامی مراحل از ایجاد تراکنش تا تأیید آن می‌باشد.ویژگی‌ها:سادگی در استفاده
بدون نیاز به وابستگی‌های خارجی
پوشش کامل فرآیند پرداخت از طریق NextPay
امکان چک کردن وضعیت تراکنش‌هانکته : ادرس کال بک را میتوانید بر اساس نیاز خود تنظیم کنید تا مراحل پرداخت خودکار طی شود ، همچنین میتوانید از یک فایل ثابت برای کال بک استفاده کنید و فرایند تایید پرداخت را بصورت loop یا دستی از طرف کاربر در نظر بگیرید (حتما تا 20 دقیقه بعد از پرداخت باید تایید انجام شود)نکته 2 : واحد پولی تومان استنکته 3 : ارسال بعضی پارامتر ها مانند شماره کارت و…. نیز در این کتابخانه تعریف شده است میتوانید بر اساس نیاز خود آنها را ارسال کنید اما ضروری نیستندپشتیبانی در تلگرام :
@irsups
Home-page:https://github.com/v3nus7/nextpay_pythonAuthor: irbots.com
Author-email:info@irbots.comLicense: BSD
Description: UNKNOWN
Keywords: nextpay payment,کتابخانه پایتون نکست پی
Platform: UNKNOWN