Saravanan666/pypi-org huggingface dataset:
Package: everytime
everytime - Schedule asyncio coroutinesTLDR@every.other.wednesday.at(hour=12)asyncdefdo_something():...Full Examplefromeverytimeimporteveryimporteverytime@every(5).secondsasyncdefgreet():print("Hello")everytime.run_forever()How to schedule coroutineseverytime expressions as decoratorsAll everytime expressions can be used as function decorators.@every(5).secondsasyncdefgreet():print("Hello")@scheduleAternatively you can wrap the everytime expression into a call to@schedule.@schedule(every(5).seconds)asyncdefgreet():print("Hello")This allows you to pass custom datetime iterables to@schedule(seeSchedule custom times).Schedule custom times@scheduleaccepts datetime iterables. The following schedules work:@schedule([datetime.fromisoformat('2022-11-01T12:00:00'),datetime.fromisoformat('2023-01-01T12:00:00')])@schedule(itertools.islice(every.day,5))@schedule(map(lambda_:datetime.now()+timedelta(seconds=1),sys.stdin))do()If you prefer to keep your function definitions and scheduling rules separate, use thedo-function.asyncdefgreet():print("Hello")every(5).seconds.do(greet)Supported ExpressionsQuantificationEvery time unit can be quantified byevery,every.otherorevery(n):every.secondevery.other.secondevery(5).secondsSupported time unitsThe supported time units aremillisecondsecondminutehourdayweekWeekdaysAlso, weekdaysmondaythroughsundayare supported.every.wednesdaystarts on the next Wednesday. If today is a Wednesday,every.wednesdaystarts today.Specific time of the daydayand the weekdays can be scheduled for a specific time of the day:every.day.at(hour=12,minute=15)(Note thathouris 24-hour based)Event Loopseverytime usesasyncioand schedules coroutines on an event loop.Default BehaviorBy default, all coroutines are scheduled on the same event loop. After all schedules are set, the loop must be invoked witheverytime.run_forever()@schedule(every.second)asyncdefgreet():print("Hello")everytime.run_forever()Async EnvironmentIf called in an async environment (i.e. there is already an event loop running), coroutines are scheduled onasyncio.get_running_loop().asyncdefmain():@schedule(every.second)asyncdefgreet():print("Hello")awaitasyncio.sleep(10)asyncio.run(main())Note, that the scheduling only works while the loop is running. In this case,greetwill only be called every second, whilemainis still running.Custom Event LoopsYou can schedule your coroutines to run on a custom event loop by passing an optional argumentloopto@scheduleordo().l=asyncio.new_event_loop()@schedule(every.second,loop=l)asyncdefgreet():print("Hello")l.run_forever()l=asyncio.new_event_loop()asyncdefgreet():print("Hello")every.second.do(greet,loop=l)l.run_forever()
Package: everytime-parser
everytime-parsereverytime-parser served by zaeval.It is using for nonprofit.HOW 2 INSTALL!pip install everytime-parserorpip3 install everytime-parserordownload the .zip file from top of this page (click the clone button)Authand then, we need auth.everytime cannot allowed api to anyone.in, this library serve login functionimporteverytimeeverytime.login("YOUR_EVERYTIME_UID","YOUR_EVERYTIME_PASSWORD")and this function return session of your user information. So, if you want call another function.you should save this information into the variable. like this,importeverytimeses=everytime.login("YOUR_EVERYTIME_UID","YOUR_EVERYTIME_PASSWORD")FriendIt just served three functions, send request to be friend, get my friend_list
and get friend's timetable. few month ago, friend's timetable can got with no-auth. but it changed.first, Introduce send_friend functionimporteverytimeeverytime.send_friend(ses,friend_id="YOUR_FRIEND_ID")if you are success, it return"친구요청에 성공했습니다 : YOUR_FRIEND_ID"else if you are fail, it return"친구요청에 실패했습니다 : YOUR_FRIEND_ID"and this function can read file and batched-sending like this,importeverytimeeverytime.send_friend(ses,file="TEXT_FILE_PATH")It required notation, with new line split.YOUR_FRIEND_ID_1
YOUR_FRIEND_ID_2
YOUR_FRIEND_ID_3
YOUR_FRIEND_ID_4
        :
        :second, we can get my-friend list. like this,importeverytimefriends=everytime.get_friend_list(ses)and then, we can get friend's time table, too.friend_timetables=[]forfriendinfriends:temp=everytime.get_timetable_user_id(ses,friend["userid"])friend_timetables.append(temp)like this.Some Utilsand It served some util function to you.union friend's timetable.find empty friend's timetable(reverse union)change format to see easierExamplesauth.pyget_friend_list.pysend_friend.py
Package: everytools
everytools用Python调用everything进行文件搜索的工具，只适用于Windows系统。运行环境安装everything软件由于需要调用电脑版everything程序，没有安装的需要下载安装everything，安装完后请确保已经运行，任务栏会出现程序图标。安装everytools库在命令行窗口下使用pip进行安装everytools库pipinstalleverytools初始化everytools是通过EveryTools类来连接everything软件进行搜索（比使用python遍历目录快很多），具体是用everything提供的SDK来实现，dll文件夹下面有两个dll文件，Everything64.dll适用于64位系统，Everything32.dll适用于32位系统，默认是64位系统，如果是32位系统需要更改参数# 导入EveryTools类fromeverytoolsimportEveryToolses=EveryTools()# 实例化，只需要第一次就行搜索文件用名称搜索使用search()方法可以通过输入关键词检索文件，一般在几秒内能结束，检索完后可以读取结果数量。es.search('工作')print('everything reuslt number:',es.get_num_total_results())# 获取搜索结果对象数量获取搜索数量搜索后可以获得的数量有三种：结果总数量、文件数量、文件夹数量。es.get_num_total_results()#总数量es.get_num_total_file()# 文件数量es.get_num_total_folder()# 文件夹数量获取搜索结果为了方便处理搜索结果输出采用pandas DataFrame进行保存，使用results()方法既可以输出结果。输出结果会包含name, path等信息，由于检索信息需要耗一定时间，数量比较多的情况下需要等待片刻。df=es.results()# 获取输出结果df.head()# 查看前五行数据更改结果排序更改results方法sort_type参数实现更改排序结果，默认参数为1，其他参数如下：排序类型值名称升序1名称降序2路径升序3路径降序4大小升序5大小降序6拓展名升序7拓展名降序8快速搜索方法es.search_audio()# 搜索音频es.search_zip()# 搜索压缩包es.search_doc()# 搜索文档es.search_exe()# 搜索可执行文件es.search_folder()# 搜索文件夹es.search_pic()# 搜索图片es.search_video()# 搜索视频es.search_ext(ext='pdf')# 搜索文件拓展es.search_in_located('C:\\Users\\')# 搜索指定文件夹下搜索语法evertools支持所有everything语法，通过everything的帮助获得搜索语法，具体有以下功能：操作符通配符宏修饰符函数函数语法大小语法大小常数日期语法日期常数属性常数其他方法查看版本信息es.major_version# 主要版本es.minor_version# 次要版本es.revision# 修正版es.build_number# 编译号es.version# 版本号版本更新版本更新内容日期0.0.1.2修复搜索拓展不生效，输出结果新增拓展名，优化搜索为空返回值2021-10-060.0.1.1修复安装时环境依赖警告2021-09-250.0.1.0提供everything基本搜索以及快速搜索方法。2021-09-25联系作者作者(author)：Jan Yang邮箱(Email)：yang.jiada@foxmail.com
Package: everyvoice
EveryVoice TTS Toolkit 💬This is an implementation of the Text-to-Speech (TTS) model used by the Small Teams "Speech Generation for Indigenous Language Education" project.It is largely based off the FastSpeech2/Fastpitch models.QuickstartInstallClone clone the repo and pip install it locally:$gitclonehttps://github.com/roedoejet/EveryVoice.git
$cdEveryVoice
$gitsubmoduleupdate--init
$pipinstall-e.DependenciesI recommend using Conda and Python 3.9. To do that, create a new environment:conda create --name EveryVoice python=3.9
conda activate EveryVoice
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorchYou can then install the rest of the Python dependencies with pippip3 install -r requirements.txtAlternatively, you can just create the whole thing from ourenvironment.ymlfile:conda env create -f environment.yml
conda activate EveryVoiceContributingFeel free to dive in!Open an issueor submit PRs.This repo follows theContributor CovenantCode of Conduct.You can install our standard Git hooks by running these commands in your sandbox:pipinstall-rrequirements.dev.txt
pre-commitinstall
gitlintinstall-hookHave a look atContributing.mdfor the full details on the
Conventional Commit messages we prefer, our code formatting conventions, and
our Git hooks.You can then interactively install the package by running the following command from the project root:pipinstall-e.AcknowledgementsThis repo draws on many other wonderful code bases. Many thanks to:https://github.com/nocotan/pytorch-lightning-ganshttps://github.com/rishikksh20/iSTFTNet-pytorchhttps://github.com/jik876/hifi-ganhttps://github.com/ming024/FastSpeech2https://github.com/MiniXC/LightningFastSpeech2https://github.com/DigitalPhonetics/IMS-ToucanTestsRun unit tests bypython3 -m unittest tests/test_configs.pyor suites of tests by runningeveryvoice test devif you have the package installed interactively.
Package: eve-s3storage
Copyright (c) 2019, Sandro Lutz, AMIV an der ETHPermission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.Description: Please head to the repository for the details README.
Platform: UNKNOWN
Description-Content-Type: text/markdown
Package: evescript
EveScriptis a simple script language for event-based automation tasks.from evescript.compiler import EveScriptCompiler
from evescript.executor import EveScriptExecutor

script = '''
if ($lightSensor > 20) {
  say("It's daytime now!")
}
'''

def lightSensor():
    return read_light_sensor_port()

compiler = EveScriptCompiler()
compiled_script = compiler.compile(script)

executor = EveScriptExecutor({
    'actions': { 'say': lambda x: print(x) },
    'variables': { '$lightSensor': lightSensor },
})

executor.run_script(compiled_script)
# Out: It's daytime now!EveScript allows you to write simple event-based scripts that evaluate various conditions
and execute actions. The conditions and actions are highly customizable to maximize the
flexibility. EveScript can be used in embedded systems (such as Raspberry Pi) to implement
a flexible event-based system.Installationpip install evescriptChangelog0.5.0 (2021-03-29)Support if…else statement.Support executing actions outside if statement.Support nested if statement.Support actions with no params.0.4.0 (2021-03-27)Added support for using true/false as conditions.0.3.0 (2021-03-20)Fixed typo (EveScriptExector => EveScriptExecutor)0.2.1 (2021-03-20)Added decompiler.Compiler will not rename built-in operators.0.1.1 (2021-03-19)First release on PyPI.
Package: evesso
EveSSOSSO Authorization for Eve Online.AboutThis library implements the native SSO authorization flow as describedhere. EveSSO will perform the authorization process as needed, store your access and refresh tokens, and refresh your access token as needed. It will then provide the required header for your requests.InstallationpipinstallevessoQuickstartfromevessoimportSSOimportrequestssso=SSO(client_id='1234567890asdfghjklqwertyuiop',callback_url='http://localhost/',scope='esi-characters.some_scope.v1 esi-characters.some_scope.v1')response=requests.get('https://esi.evetech.net/latest/markets/structures/SOME_STRUCTURE_ID/?datasource=tranquility',headers=sso.get_header())response.raise_for_status()print(response.json())Using .env fileCLIENT_ID=1234567890asdfghjklqwertyuiop
CALLBACK_URL=http://localhost/
SCOPE="esi-characters.some_scope.v1 esi-characters.some_scope.v1"Esi will check environment variables for credentials if not parameterized.fromevessoimportSSOfromdotenvimportload_dotenvimportrequestsload_dotenv()sso=SSO()response=requests.get('https://esi.evetech.net/latest/markets/structures/SOME_STRUCTURE_ID/?datasource=tranquility',headers=sso.get_header())response.raise_for_status()print(response.json())Authorizing on a remote machineSet thecliparameter toTrue.The auth url will be printed to the command line.Open the auth url in a browser and complete the auth processThe SSO server will make a get request to the machine where you opened the auth urlCopy the callback url and paste it into the command line so evesso can parse itfromevessoimportSSOsso=SSO(cli=True)...
Package: eve-tools
EVE Tools for tradingTrading tools collection for EVE Online.Author: Hanbo GuoContact:hb.evetools@gmail.comWhat is EVE ToolsEVE Tools is a Python package that simplifies EVE ESI. The goal is to write easier and faster Python scripts that analyze EVE data for ISK making.Installations0. Have a working Python environment.1. Install using PyPIpip3installeve_toolsor1. Install manually1.1 Download everything under this repo1.2 Runrequirements.txtfile with pip install.cdpath/to/your/download/eve_tools-master

pip3install-rrequirements.txt1.3 Setuppythonsetup.pyinstall2. Try withexample.pyDownloadexamples.pyby cp/paste it to an empty Python file, run it by:double clicking it (in Windows)or go to a Python IDE to launch itor use cmd line, cd to its directory, run:pythonexamples.pyYou will see the resulthauling.csvgenerated in the same directory asexamples.py.3. Run testsGo to a Python editor, run the following code:fromeve_toolsimport*importunittestunittest.main()You would see around 20+ tests running. Internet connection is required.
Package: eve-to-sqlite
eve-to-sqliteConvertEvemeasurement exports to a SQLite database.How to install$ pip install eve-to-sqliteHow to useFirst you need to export your Eve data.On your iPhone, open the "Eve" app.Go to the Rooms overview and select your accessory.Go to the details information (the little blueibelow the overview).Click "Measurements".Click the "Export" button on the top of that page.Save the resulting file somewhere you can access it, or AirDrop it directly to your laptop.Now you can convert the resultingEve_Temperature.xlsxfile (or similar) to SQLite like so:$ eve-to-sqlite Eve_Temperature.xlsx eve.dbYou can pass multiple Excel files at once.You can explore the resulting data usingDatasettelike this:$ datasette eve.dbMoreDogsheep- collection of tools forpersonal analyticsusing SQLite and Datasette.
Package: eve-verbose-killmail
Copyright (c) 2018 Leon HessPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.Description: UNKNOWN
Platform: UNKNOWN
Package: evfl
Library for parsing and writing Nintendo EventFlow binary filesevflis able to parse and rewrite every single event flow found inBreath of the Wild, both flowcharts (bfevfl) and timelines (bfevtm).Usageimportevflflow=evfl.EventFlow()withopen('Animal_Master.bfevfl','rb')asfile:flow.read(file.read())flowchart=flow.flowchart# Real documentation is nonexistent at the moment. I'm sorry.withopen('Animal_Master_Modified.bfevfl','wb')asmodified_file:flow.write(modified_file)TestsUnit and integration tests can be executed by runningpython3 -m unittest discover.LicenseThis software is licensed under the terms of the GNU General Public License, version 2 or later.
Package: evg
FeaturesDicord interactions translatorOptimizationEasy to useInstallationInstall evg with pippip install evgSet up a new folder /localesAdd language packs with the file extension ".json" according to the template /locales/en-US/example.jsonExamplesFile - locales/en-US/example.json{"hello1":"Hello world!","hello2":"Hello {name}!","hello3":"Hello {0}!"}Baseimportevg_=evg.MSG("en-US").msgprint(_("hello1"))Output text:  Hello world!ORimportevgfromnextcordimportInteraction,PartialInteractionMessageasyncdefhi(ctx:Interaction)->PartialInteractionMessage:_=evg.MSG(ctx.locale).msgreturnawaitctx.send(content=_("hello1"))Output text:  Hello world!ORimportevgfromnextcordimportInteraction,PartialInteractionMessageasyncdefhi(ctx:Interaction)->PartialInteractionMessage:_=evg.MSG(ctx.locale).msgreturnawaitctx.send(content=(_("hello2")).format(name="Nikita"))asyncdefhi2(ctx:Interaction)->PartialInteractionMessage:_=evg.MSG(ctx.locale).msgreturnawaitctx.send(content=(_("hello3")).format("Bob"))Output text:Hello Nikita!Hello Bob!Change settingsDefault languageimportevgevg.Setup.language("en-US")Default text if no translation was foundimportevgevg.Setup.text("рџ’•")Support
Package: evg.recipe.activate
evg.recipe.activateThis recipe can be used to create an activation script for zc.buildout
environment.You can see an example of how to use the recipe below:>>> data = """
... [buildout]
... parts = activate
...
... [activate]
... recipe = evg.recipe.activate
... """
>>> touch('buildout.cfg', data=data)
>>> sh('bin/buildout -vvvvvv install activate')Run buildout. Then on POSIX systems you can do:$ source bin/activateThis will change your$PATHto point to the virtualenvbin/directory.
You have to usesourcebecause it changes the environment in-place. After
activating an environment you can use the functiondeactivateto undo the
changes:(buildout) $ deactivateTheactivatescript will also modify your shell prompt to indicate which
environment is currently active.Supported optionsThe recipe supports the following options:activateThe name of the script created in the bin folder. This script is the
equivalent of theactivatevirtualenv. It defaults toactivate.deactivateThe name of the function to deactivate environment. It defaults todeactivate.nameThe name of the environment. It will use buildout directory name by default.platformThe name of paltform to generate scripts. It will be detected by default.
Possible values are:posix,win32,cygwinandjython.0.4 (2010-06-07)Fix Win32 bug, thanks tohttp://github.com/ochriste0.3 (2010-04-13)Added thenameoption to set prompt name.Added theplatformoption to select which kind of scripts will be generated.Added Windows support.0.2 (2010-04-12)Add CHANGES.txt to MANIFEST.in.0.1 (2010-04-12)Generate activation script for zc.buildout environment on POSIX systems.
Package: evg-task-profiler-py
Evergreen Task ProfilerBreak down the runtime of the different steps comprising an evergreen task.InstallationInstallation is done via pip:pipinstallevg-task-profiler-pyUsageAn example of usage is shown below. Note: You will need to retrieve the task log contents and
send it to the profiler, a tool like theEvergreen API clientcan be useful for this purpose.fromevergreenimportEvergreenApifromevg_task_profiler_pyimportTaskProfilertask_id="some_evg_task_id"evg_api=EvergreenApi.get_api(use_config_file=True)profiler=TaskProfiler()task=evg_api.task_by_id(task_id)forlineintask.stream_log("task_log"):profiler.process_line(line)foreventinprofiler.get_events():print(f"{event.index}:{event.name}-{event.step}:{event.duration}ms")
Package: evi
Implementation of evidence theory (D-S theory)Evidence theory is an effective tool to make decision from ambiguity, which has been widely used in target recognition, decision making, optimization problem. Compared with ANN, combination result can be achieved without training process. Traditionally, weight of each evidence should be computed before obtaining a reasonable combination resulthttps://www.onacademic.com/detail/journal_1000040883012810_0724.html,https://www.onacademic.com/detail/journal_1000040419277410_af84.html,A new conflict management method in Dempster–Shafer theory.This project is the primary version of evidence combination where evidence weight processing is omitted. And the calculation of evidence weight will be emitted in the next version.Getting StartedInstallinginstallation via pip is our recommendation:pip install eviCombine evidencesEvidence should be created before combination:e1=Evi(focal_elements=['a','b',['a','c'],],bpas=[0.2,0.3,0.5])the code above stands for:
$$
p(a)=0.2\
p(b)=0.3\
p(a \space or \space c)=0.5
$$and we can get the combination result via the following code:e1=Evi(focal_elements=['a','b',['a','c'],],bpas=[0.2,0.3,0.5])e2=Evi(focal_elements=['a','b',['a','c'],['b','c']],bpas=[0.4,0.3,0.1,.2])combination_result=e1.combine(e2)print(combination_result)additionally, the combination of evidence set is:e1=Evi(focal_elements=['a','b',['a','c'],],bpas=[0.2,0.3,0.5])e2=Evi(focal_elements=['a','b',['a','c'],['b','c']],bpas=[0.4,0.3,0.1,.2])es=[e1,e2]print(Evi.combine_list(e1,e2,))LicenseThis project is licensed under the MIT LicenseAcknowledgmentsif you wanna to cite this project, the following code may be in your consideration：@misc{TP-toolbox-web,

   author = {qiaokuoyuan},

   title = {evi},

   howpublished = {\url{https://github.com/qiaokuoyuan/evi}}

}
Package: evictionsplit
Eviction splitAlliance auth module dedicated to splitting the loot of an eviction between participants based on their participation time.Insert tagsTODO:Create evictions without going through the admin windowEnhance the signup so applicants specify what they bring to the evictionLogging!!!!Features:Create and manage evictionsApply to join an evictionSignal the current activity of members (standby and/or doorstopping)ScreenshotsTODOInstallationTODOPermissionsIDDescriptionNotesbasic_accessCan access this appAll line members should have this rolemanagerCan create and manage evictionsRole to create/edit evictions and access archived evictions