Saravanan666/pypi-org huggingface dataset:
Package: elevator-game
Elevator GameA TUI game, thanks to curses, where you control elevators in a building to move people to where they want to go.
The quicker they get to their destination, the more points you get.Install withpip install elevator_gamePlay withpython3 -m elevator_gameYou can also play by ssh'ing into the following address. You will need to accept the fingerprint prompt.elevator@elevator.mechstack.devAnd you can play in browser if you don't mind the flickering:http://67.205.139.95:8080/
Package: elevator-pitch-faker
elevator_pitch_fakeris a provider for theFakerPython package
which creates a humorous elevator pitch for your next novel/movie. Inspiration drawn from thisarticle.InstallInstall with pip:$pipinstallelevator-pitch-fakerOr install with setup.py:$gitclonehttps://github.com/jnyjny/elevator-pitch-faker.git$cdelevator-pitch-faker&&python3setup.pyinstallUninstall with pip:$pipuninstallelevator-pitch-fakerUsageAdd theStoryPitchProviderto yourFakerinstance:fromfakerimportFakerfromelevator_pitch_fakerimportStoryPitchProviderfake=Faker()fake.add_provider(StoryPitchProvider)print(fake.story_pitch())View the methods defined by ElevatorPitchProvider:$pydoc3elevator_pitch.StoryPitchProvider
Package: elevenlab
PDisk.pro API WrapperA Python package to interact with the unofficial API of PDisk.pro.InstallationTo install the package, you can use pip:pipinstallelevenlabUsageTo use the package, you must first create an instance of the Pdisk class, passing your API key as a parameter:frompdiskimportPdiskapi_key="YOUR_API_KEY_HERE"pdisk=Pdisk(api_key)AccountYou can retrieve your account info and stats using the following methods:account_info=awaitpdisk.account_info()print(account_info.email,account_info.balance,account_info.storage_used)account_stats=awaitpdisk.account_stats()forstatinaccount_stats:print(f"{stat.profit_total}:{stat.downloads}:{stat.refs}")File UploadYou can upload files using the following methods:# Upload a file from local storageresponses=awaitpdisk.upload_file("/path/to/file")forresponseinresponses:print(response)# Upload a remote fileresponses=awaitpdisk.upload_remote_file("https://example.com/file.mp4",folder_id=12345)forresponseinresponses:print(response)You can check the upload status of a file using the following method:file_code="FILE_CODE"status=awaitpdisk.check_upload_status(file_code)print(status)File ManagementYou can retrieve information about a file using the following method:file_code="FILE_CODE"file_info=awaitpdisk.file_info(file_code)forinfoinfile_info:print(info)You can also retrieve a list of files using the following method:files=awaitpdisk.get_file_list(page=1,per_page=20)forfileinfiles:print(file)Check Documentaion For More ...comming soon ...LicenseThis project is licensed under the MIT License (c) 2023 kalanakt.
Package: elevenlabslib
elevenlabslibPython wrapper for the full elevenlabs API.NOTE: There's now an official wrapper, but this project will continue to be maintained.The main reason is the different approach to playback. By doing playback purely within python instead of piping to an external process, there are a couple of important extra things that can be done, such as:Playback on a specific output deviceRunning functions exactly when the playback begins and endsControlling the playback from within pythonDocumentation now available athttps://elevenlabslib.readthedocs.io/en/latest/InstallationJust runpip install elevenlabslib, it's onpypi.Note: On Linux, you may need to install portaudio. On debian and derivatives, it'ssudo apt-get install libportaudio2, and possibly alsosudo apt-get install python3-pyaudio.IMPORTANT: The library requires libsndfilev1.1.0or newer, as that is when mp3 support was introduced. This won't be an issue on Windows, but may be relevant on other platforms. Check thesoundfilerepo for more information.UsageFor a far more comprehensive example, checkexample.pyorthe docs.Here is a very simple usage sample.Retrieves a voice based on the namePlays back (using the included playback functions that use sounddevice) all its samples (and the preview)Generates and plays back a new audioDeletes the newly created audio from the user historyfromelevenlabslibimport*user=User("API_KEY")voice=user.get_voices_by_name_v2("Rachel")[0]# This is a list because multiple voices can have the same namevoice.generate_play_audio_v2("Test.",playbackOptions=PlaybackOptions(runInBackground=False))forhistoryIteminuser.get_history_items_paginated():ifhistoryItem.text=="Test.":# The first items are the newest, so we can stop as soon as we find one.historyItem.delete()break
Package: eleven-pp
eleven-ppTeam-eleven'spip Development StorageThe team-eleven's first pypi project. We make several functions for our workView at :https://pypi.org/project/eleven-pp/Install$ pip install eleven-ppif you already intalled but, old version,$ pip install --upgrade eleven-ppUSE$11-blog

블로그탐방가기~
재호:https://shims94.github.io/
수빈:https://velog.io/@ppippi
하현:https://hxhkim.github.io/
민정:https://velog.io/@minjung00
주선:https://assomdevgit.github.io/
인균:https://aaingyunii.github.io/$11-dday

프로젝트마감일까지41일남았습니다.$11-lunch

추천식당명:카츠디나인
업종:돈가스
한줄평:돈가스맛집# 무작위로 맛집 추천$11-lotto[24,41,9,36,18,30]# 무작위로 1~45사이의 6개의 숫자 출력DEV$gitclone...
$cdeleven-pp
$pdmvenvcreate
$source.venv/bin/activate(eleven-pp-3.8)$pdminstallTEST$pdmadd-dGtestpytestpytest-cov
$pytest
$pytest-s
$pytest--covDEPLOY$pdmpublishhow2prhttps://oss.cashmallow.com/team/how2pr/REF네이버 신대방삼거리 음식점 지도
Package: elex
Get database-ready election results from the Associated Press Election API v2.0.Elex is designed to be fast, friendly, and largely agnostic to stack/language/database choice. Basic usage is
as simple as:elexresults2016-03-01>results.csvImportant linksDocumentation:http://elex.readthedocs.org/Repository:https://github.com/newsdev/elex/Issues:https://github.com/newsdev/elex/issuesRoadmap:https://github.com/newsdev/elex/milestonesDisclaimerElex was developed by The New York Times and NPR and not in concert with the Associated Press. Though we plan on using Elex for the 2016 cycle, there is no guarantee that this software will work for you. If you’re thinking about using Elex, check out thelicenseand contact the authors.Elex projects and implementationsNPRNPR loader: A simple reference data loader for PostgreSQL.New York TimesNew York Times Elex loader: A more sophisticated data loader for PostgreSQL.New York Times AP Deja Vu: A webservice to replay JSON captured during an election.New York Times Elex admin: An admin interface for Elex data loaded with the New York Times loader written in Flask.Experimentalnode-elex-admin: Incomplete node-based admin interface.elex-webVideoTextCrawler:  Convert Elex data into HTML5 text track for live video streaming.NewsIntroducing Elex, A Tool To Make Election Coverage Better For Everyone, Jeremy Bowers and David Eads, SourceNPR and The New York Times teamed up to make election reporting faster, Benjamin Mullin, PoynterUsing the FTP system?Use the Los Angeles Times’python-electionslibrary.The New York Times hasa sample implementationthat demonstrates how you might integrate the FTP loader with your Elex-based system.
Package: elexon
Elexon BMRS APIA simple wrapper for the Elexon BMRS API.InstallingInstall withpip(recommended):$pipinstallelexonAlternatively, you can grab the latest source code fromGitHub:$gitclonehttps://github.com/MichaelKavanagh/elexon.git
$pythonsetup.pyinstallGetting StartedRegister on theELEXON Portal.Retrieve API Key.ReplaceAPI_KEYin the example below with your API Key.Profit.UsageSupported Elexon BMRS ReportsFor the full list of namespaces, methods, parameters and data types seemethods.py.ExamplefromelexonimportElexonRawClientapi=ElexonRawClient('API_KEY')# available for free from the Elexon Portal# Actual Aggregated Generation per Typegeneration=api.Transparency.B1620(SettlementDate='2020-01-01',Period='5')# Alternatively, use the general request() function by passing the endpoint in with the arguments:generation=api.request('B1620',SettlementDate='2020-01-01',Period='5')SupportThere have been cases where the wrapper/API doesn't behave due to inconsistencies or errors in Elexon's documentation.If you believe you have come across a bug, please open aGitHub issue.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.Further Readinghttps://www.elexon.co.uk/guidance-note/bmrs-api-data-push-user-guide/
Package: elex-solver
elex-solverThis packages includes solvers for:Ordinary least squares regressionQuantile regressionTransition matricesInstallationWe recommend that you set up a virtualenv and activate it (IEmkvirtualenv elex-solverviahttp://virtualenvwrapper.readthedocs.io/en/latest/).Runpip install elex-solverOrdinary least squaresWe have our own implementation of ordinary least squares in Python because this let us optimize it towards the bootstrap by storing and re-using the normal equations. This allows for significant speed up.Quantile RegressionSince we did not find any implementations of quantile regression in Python that fit our needs, we decided to write one ourselves. At the moment this uses two libraries, the version that solves the non-regularized problem usesnumpyand solves the dual based onthispaper. The version that solves the regularized problem usescvxpyand sets up the problem as a normal optimization problem. Eventually, we are planning on replacing the regularized version with the dual also.Transition matricesWe also have a solver for transition matrices. While this works arbitrarily, we have used this in the past for our primary election night model. We can still use this to create the sankey diagram coefficients.DevelopmentWe welcome contributions to this repo. Please open a Github issue for any issues or comments you have.Set up a virtual environment and run:> pip install -r requirements.txt
> pip install -r requirements-dev.txtPrecommitTo run pre-commit for linting, run:pre-commit run --all-filesTesting> tox
Package: elfcall
ElfcallGenerate call graph data for an elf binary.This works by way of extracting symbols fromthe ELF, figuring out dependencies
via links and RPATH, and then outputting data to file.⭐️Documentation⭐️TODOtests tests tests!LicenseLicensed under the terms of the General Public License version 3SPDX-License-Identifier: GPL-3.0-onlyCopyright 2018-2019 - Armijn Hemel
Copyright 2021 - Open Source Automation Development Lab (OSADL) eG, author Carsten Emde
Copyright 2022 - Vanessa Sochat (@vsoch)
Package: elfchatbot
ELFChatBot这是一个闲聊机器人，基于Nonebot2接入了腾讯和百度的闲聊 api，百度的api支持连续对话可以实现群聊、私聊，同时随机回复群聊消息。效果图：娱乐功能随机回复群友消息伪造转发合并消息（fake、fakes触发，具体使用看代码）申请密钥腾讯开放平台（推荐作为备用也申请一个）前往https://ai.qq.com/console/capability/detail/8注册并创建应用，并在能力库接入 智能闲聊，得到app_id以及app_key百度大脑平台（推荐使用！）https://ai.baidu.com/unit/home注册并创建机器人，设置好机器人技能（至少包含闲聊），得到机器人id（S开头）、api_key、secret_key注意：默认优先使用百度部署注意：Python 3.7+一 、配置 QQ 协议端目前支持的协议有:OneBot(CQHTTP)QQ 协议端举例:go-cqhttp(基于MiraiGo)cqhttp-mirai-embeddedMirai+cqhttp-miraiMirai+Mirai Native+CQHTTPOICQ-http-api(基于OICQ)这里以go-cqhttp为例下载 go-cqhttp 对应平台的 release 文件，点此前往运行 exe 文件或者使用./go-cqhttp启动生成默认配置文件并修改默认配置{"uin":你的QQ号,"password":"你的密码","encrypt_password":false,"password_encrypted":"","enable_db":true,"access_token":"","relogin":{"enabled":true,"relogin_delay":3,"max_relogin_times":0},"_rate_limit":{"enabled":false,"frequency":0,"bucket_size":0},"ignore_invalid_cqcode":false,"force_fragmented":true,"heartbeat_interval":0,"http_config":{"enabled":true,"host":"0.0.0.0","port":5700,"timeout":0,"post_urls":{}},"ws_config":{"enabled":true,"host":"0.0.0.0","port":6700},"ws_reverse_servers":[{"enabled":true,"reverse_url":"ws://127.0.0.1:8080/cqhttp/ws","reverse_api_url":"","reverse_event_url":"","reverse_reconnect_interval":3000}],"post_message_format":"string","use_sso_address":false,"debug":false,"log_level":"","web_ui":{"enabled":true,"host":"0.0.0.0","web_ui_port":9999,"web_input":false}}其中ws://127.0.0.1:8080/cqhttp/ws中的127.0.0.1和8080应分别对应 nonebot 配置的 HOST 和 PORT其中以下配置项务必按照下方样式修改！"ws_reverse_servers":[{"enabled":true,"reverse_url":"ws://127.0.0.1:8080/cqhttp/ws","reverse_api_url":"","reverse_event_url":"","reverse_reconnect_interval":3000}],再次运行 exe 文件或者使用./go-cqhttp启动二、部署聊天插件第一次部署下载代码到本地参照ELF_RSS 2.0的部署方式运行pip install -r requirements.txt请按照 注释 修改配置文件 （文件.env.prod）运行nb run收到机器人发送的启动成功消息从 Nonebot1 到 NoneBot2卸载 nonebot1pipuninstallnonebot运行pip install -r requirements.txt参照第一次部署已经部署过其它 Nonebot2 机器人下载 项目文件夹src/plugins/ELFChatBot复制 到你部署好了的机器人plugins目录下载requirements.txt文件，并运行pip install -r requirements.txt同第一次部署一样，修改配置文件运行nb run
Package: elfcloud-weasel
elfCLOUD.fi Weasel Library and Command Line Interface Tool1.2.2 (2013-Feb-12) – Bug fix releaseFixed: Large file uploads may have failed due to upload package hash not being refreshed.1.2.1 – Added licensing information1.2 – Finalizing rebranding.Rebranding from Holvi.org to elfcloud.fi.Changed http headersChanged internal class namesChanged default server url1.1 – Changed to use API 1.1.Changed name from Holvi.org to elfCLOUD.fi.Added support for API 1.1 features:Unicode support for DataItems, Clusters and VaultsTags and description support for DataItemNew actions:rename-vaultrename-clusterrename-dataitemrelocate-dataitemlist-contentssubscription-infoOutput format changed to standard CSV-format.1.0 – Initial release
Package: elfcommander
This Python package (elfcommander) creates a class named ElfCommander
to communcate with and control the Janelia Elf. The Elf uses two
hardware control devices, the mixed_signal_controller modular_client,
and the bioshake_device. The mixed_signal_controller both switches the
valves and reads the analog signals from the cylinder hall effect
sensors. The bioshake_device controls the heater/shaker.Authors:Peter Polidoro <polidorop@janelia.hhmi.org>License:BSDExample Usage:from elfcommander import ElfCommander
elf = ElfCommander('example_calibration.yaml','example_config.yaml')
elf.run_protocol()
Package: elffile
Welcome to elffile!Elffile is a pure python implementation of a library which reads and
writesELF format object filesCurrent features:Elffile is purepythonso installation is
easy.Elffile has been tested on python versions 2.[67] and 3.[012].Reads both 32 and 64 bit formats in both big and little endian
order.Reads and writes file header, section header table, sections, and
the section name string section.Reads program header table.This is sufficient to compare two object files to determine if they
are equivalent aside from having been built at different times and in
different file system locations which was my initial goal.–rich
Package: elfi
ELFI is a statistical software package for likelihood-free inference (LFI) such as
Approximate Bayesian Computation (ABC). The term LFI refers to a family of inference
methods that replace the use of the likelihood function with a data generating simulator
function. Other names or related approaches to LFI include simulator-based inference,
approximate Bayesian inference, indirect inference, etc.ELFI features an easy to use syntax and supports parallelized inference out of the box.
Package: elf-py-utils
elf-py-utils项目说明小精灵Python工具包前言目标使用者：从事运维工程师、后端开发工程师等相关岗位，并熟悉python基础语法规则本包的工作：在前人的基础上，对当前已有的工具包进行二次封装，并提供一个统一的配置文件来进行配置管理，意图提供一个类似于Spring Boot的框架方便使用当前功能Redis工具类配置示例通过配置文件，实现一种代码连接多种Redis部署方式redis:# 需要在同一命名空间中定义redis的服务发现# redis部署方式 单节点-single 集群模式-cluster 哨兵模式-sentineltype:clustersingle:host_port:rediscluster:host_port:redis-cluster:6379sentinel:db:1password:passwordservice_name:mymasterhost_port:redis-sentinel-01:6379,redis-sentinel-02:6379,redis-sentinel-03:6379调用fromelf_py_utilsimportredis_utilredis=redis_util.connect_redis()依赖redis==3.5.3
redis-py-cluster==2.1.3
Package: elf-size-analyze
Elf size reportThis script is based onsize_reportfrom Zephyr Project scripts. It has been almost fully rewritten but the idea is the same. It uses binutils programs (readelf, nm, c++filt) to extract information about symbols and sections from an ELF file and filters them. Information is presented in a tree based on paths to files where the symbols have been defined.Requires Python 3, readelf, nm and (optional) c++filt. To be able to extract path information about symbols from ELF file, the program should be compiled with debug information.If installed via pip, the package provides an entry point and you can get usage info by runningelf-size-analyze -h.If working with the sources, usepython -m elf_size_analyze -hfor usage info.
Package: elf-to-shellcode
Elf to shellcodeConvert standard elf files to standalone shellcodes.
Please read the following documentation and view the examples for this project to work properlyProject linksGithubPypiSupported architecturesmipsi386 (32bit)i386 (64bit)arm (32bit)aarch64 (arm 64 bit)Installation:pipinstallelf_to_shellcodePython version supportpython3How does this work ?The python library parses the elf and create a simple relocatable file format
Then the mini loader is inserted as the entry point of the elf the mini loader
will load the relocatable format and execute it.
There are no special requirements, the library contain the compiled
mini loaders.classDiagram
    ShellcodeEntryPoint --|> MiniLoader
    ShellcodeEntryPoint: Shellcode to jump into the mini loader
    MiniLoader --|> Relocation table
    MiniLoader: Contain all the logic for parsing the relocation table
    MiniLoader: fully os independent
    Relocation table --|> SHELF
    Relocation table : Contain table required for shellcode runtime relocation
    SHELF: Shellcode elf - This is the compiled binary we convert into shellcode
    SHELF: This binary is stripped into only opcodes
    SHELF: fully relocatable using the relocation tableThis project is intended to convert elf to os independent shellcodes.
Therefor the loader never allocate memory and the shellcode format is not packed.
You can just execute it, eg ...((void(*)())shellcode)();note that __libc_start_main perform syscalls
therefor if you want your shellcode to be fully os independent you must compile with -nostartfiles
follow the examples belowCreating a shellcodeSome compilation flags are required for this to work properly.
You must compile the binary with -fPIE and -static take a look at the provided examples below
(makefile).shellcode is a stripped binary with no symbols and no elf information only opcodes, in order
to make the shellcode this library require a binary with elf information.
so make sure you are not stripping the binary before using this librarysimplified make command for mips big endiangccexample.c-fno-stack-protector-fPIE-fpic-static-nostartfiles--entry=main-obinary.outpython-melf_to_shellcode--inputbinary.outExamples:MakefileExample.cTesting your shellcodeYou can use the provided shellcodeLoaderto test you shellcodesqemu-mips./shellcode_loader./myshellcode.outOutput exampleShellcodesize=66620Allocatingshellcodebuffer,size=69632Mappingnewmemory,size=69632Jumpingtoshellcode,address=0x7f7ee000
Hellofromshellcode!Advanced concepts and featuresfor following links only work on the github pageCompiling with libcDynamic shellcodeHooking the mini loaderMitigation bypassOptimizationsOutput formatsDevelopmentSpecific architecture limitations
Package: elg
European Language Grid Python SDKTheEuropean Language Gridis the primary platform for Language Technology in Europe. With the ELG Python SDK, you can use LT services and search the catalog inside your Python projects.To have more information about the Python SDK, please look at the documentation:https://european-language-grid.readthedocs.io/en/stable/all/A1_PythonSDK/GettingStarted.html.
Package: elgamal
pip install PyCryptoDomexfrom elgamal.elgamal import Elgamalm = b'Text'print(m)pb, pv = Elgamal.newkeys(128)print(pb)print(pv)ct = Elgamal.encrypt(m, pb)print(ct)dd = Elgamal.decrypt(ct, pv)print(dd)print()My telegram:https://t.me/sidqdevBy sidq with love
Package: elgamal-anass-daniel
elgamal-anass-danielA friendly module for testing ElGamal Cryptosystem.
Moreover, it also brings futures such as validating primitive roots, obtaining them, and optimized operations such as Fast Modular Exponentiation.Developed by Anass Anhari & Daniel Alamillo (c) 2023Examples of How To UseElGamal built-in and optimized operations:fromElGamalimportElGamalelGamal=ElGamal()# Fast Modular ExponentiationelGamal.FastModExp(g=2,e=284523875345345,p=456),32)# 32elGamal.FastModExp(g=100,e=284523875345345,p=456)# 256# Obtain Primitive RootselGamal.getPrimitiveRoots(5)# [2, 3]elGamal.getPrimitiveRoots(29)# [2, 3, 8, 10, 11, 14, 15, 18, 19, 21, 26, 27]# Obtain the First Primitive RootelGamal.getFirstPrimitiveRoot(6)# NoneelGamal.getPrimitiveRoots(29)# 2# Test a Primitive RootelGamal.isPrimitive(725,829)# TrueelGamal.isPrimitive(41,101)# Falsemsg1=ElGamal.Message("[Msg-1] Hola que tal estas! :D")msg1.encrypt(g=2,g_x=1024,p=8820220609)print(msg1.decrypt(x=10,p=8820220609))Create a message, encrypt it and decrypt it:fromElGamalimportMessagemsg1=Message("[Msg-1] Hola que tal estas! :D")msg1.encrypt(g=2,g_x=1024,p=8820220609)print(msg1.decrypt(x=10,p=8820220609))
Package: elgas
ELGASPython implementation of the ELGAS protocolLicensingThis library is licenced under the "Business Source Licens 1.1" (BSL 1.1).Any release of the software will be made available under the MIT license four years after its release date.
Before change in license you are allowed to use the software in non-commercial products or services.If you are interested in using this software in a commercial product or service,
or have questions about this license, please contact us oninfo@pwit.se.Training / Consultancy / Commercial SupportWe offer consultancy service and training services around this library.
If you are interested in our services just reach out to us.ChangelogAll notable changes to this project will be documented in this file.The format is based onKeep a Changelog,
and this project adheres toCalendar VersioningUnreleasedAddedChangedDeprecatedRemovedFixedSecurity[22.2.1] - 2022-05-04Fixedcorrect padding of password[22.2.0] - 2022-05-03AddedSerial TransportFixedpadding of passwordsRaising exception on error response in encrypted response[22.1.0] - 2022-05-02Initial implementation