Saravanan666/pypi-org huggingface dataset:
Package: easily-quiz
Project descriptioneasily_quiz is a spanish api that you can create simple quiz, true or false, and things coming in future! With this api you can save certain lines of code and simply use two lines for what you would use 10 or 15InstallingYou can install or update this api usingpip:$ pip install easily_quizQuiz example# import the api
from easily_quiz import Quiz

# init 
quiz = Quiz("Example question", [1], "Option 1", "Option 2", "Option 3")
i = quiz.iniciar()

if i:
    print("Correct!")
else:
    print("Try again!")True or false example# import the api
from easily_quiz import trueFalse

# init
z = trueFalse("Example question", True)
i = z.iniciar()

if i:
    print("Correct!")
else:
    print("Try again!")Contact & DonateIf you need help with the api or you wanna donate me i let you here some data:Discord: Pina#8985
Web:http://pinayt.tkPaypal:https://paypal.me/Inperiocompa
Package: easimpconf
EaSimpConfEasy andSimpleConfiguration.For more information see thedocumentation.History2020-08-16 (0.2.2)Fixed problem with raw and fixed default values from the specification
for interpolation of values in configuration files2020-08-13 (0.2.1)Bugfix: some problems with default values from the specification2020-08-09 (0.2.0)Interpolation of values in configuration files now works with default values
from the specification if a value is not present in the configuration file2020-07-30 (0.1.0)First public release (from package salmagundi)
Package: easing-functions
easing-functionsA collection of Penner's easing functions for PythonThe collection includes the following ease in/ease out and ease inout:Quadratic (Quad), Cubic, Quartic, Quintic, Sine, Circular, Exponential, Elastic, Back, Bounce, LinearTo install :pipinstalleasing-functionsTo use:fromeasing_functionsimport*# For a duration 10 you will get the relevant output from start to enda=QuadEaseInOut(start=0,end=3,duration=10)k=a.ease(4)# 4 is a number between 0 and the duration you specified#k is the returned value from start to end (0 to 3)k2=a(4)# the ease object can also be called directly, like a function# example plots:importnumpyasnpimportmatplotlib.pyplotasplta=BounceEaseInOut(start=3,end=1,duration=1)b=BounceEaseIn(start=0,end=1)c=BounceEaseOut(start=0,end=1)x=np.arange(0,1,0.001)y0=list(map(a,x))y1=list(map(b,x))y2=list(map(c,x))plt.plot(x,y0)plt.plot(x,y1)plt.plot(x,y2)Some Examples:
Package: easonsi
个人 package 尝试打包上传# 打包所需.python3-mpipinstall--upgradepipbuildtwine记得每次需要上传不同名字的包, 因此需要修改版本号;dist中的旧版本如果服务器上已有将不会上传到 pypi.# Generating distribution archivespython3-mbuild# Uploading the distribution archivespython3-mtwineupload--repositorypypidist/*安装pipinstalldist/easonshi[version]pipinstall-Ueasonsi-ihttps://pypi.python.org/simple
Package: eastern
Project EasternA Kubernetes templating and deployment tool.Table of ContentsFeaturesInstallationInstalling from PyPIRunning from Docker ImageInstalling from GitUsageTemplate languageDeployDeploy jobsPluginLicenseFeaturesSimple, logicless template engine designed for YAMLWork with multiple environmentsIn use in production atWongnaiExtensible plugin architectureInstallationNote that Eastern requireskubectl.Installing from PyPIRunpip install easternto install.Running from Docker ImageEastern is available onDocker Hubfor continuous delivery users.dockerrun-v`pwd`:/projects/--rmwongnai/easterneasterngenerate/projects/kubernetes.yamlInstalling from GitClone this repositoryRunpython3 setup.py install. You might to run this as root.Runeasternto verify that it is installed.UsageTemplate languageAt its core, Eastern is a YAML templating tool. Eastern provides the following commands as YAML comment.load? file_1.yaml, file_2.yaml ...: Load the first file availableload! file_1.yaml, file_2.yaml ...: Same asload?but throw when no file is loaded.The file name and contents may contains variable interpolation. Available variable is${NAMESPACE}: Name of namespaceAdditional variables can be passed by-s var=value.For example:image:wongnai/eastern:${IMAGE_TAG}env:# load! env-${NAMESPACE}.yaml, env.yamlSee full deployment example in theexamplefolder.Once you have written a template, test it witheastern generate path/to/file.yaml namespace -s IMAGE_TAG=2.0.DeployTo deploy, runeastern deploy path/to/file.yaml namespace.Available options:--set var=value(-s): Set additional template variables--edit(-e): Edit resulting YAML before deploying--no-wait: Exit after runningkubectlwithout waiting for rolling deployDeploy jobsEastern comes withJobdeployment tool.To start a job, runeastern job path/to/file.yaml namespace image_tag. The file must have the job as its only document. Eastern will addimage_tagas job suffix, deploy, wait until job's completion and remove the job.Suppliedimage_tagis available in the template as${IMAGE_TAG}.PluginEastern is extensible. We use Eastern plugins ourselves. The API docs is available onRead the Docs.License(C) 2017 Wongnai Media Co, Ltd.Eastern is licensed underMIT License
Package: eastfocus
eastfocusAdd a short description here!A longer description of your project goes here…Making Changes & ContributingThis project usespre-commit, please make sure to install it before making any
changes:pip install pre-commit
cd eastfocus
pre-commit installIt is a good idea to update the hooks to the latest version:pre-commit autoupdateDon’t forget to tell your contributors to also install and use pre-commit.NoteThis project has been set up using PyScaffold 4.1.4. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: eastmoneypy
eastmoneypy是使用python来对东方财富进行操作的一个库。目前在zvt中用于选股后自动添加到东财app，可参考该issue实现功能：管理组合添加A股标的到组合添加板块到组合添加港股添加美股添加ETF安装pip3 install -U eastmoneypy设置打开网址并登录:http://quote.eastmoney.com/zixuan/在用户目录里面，找到eastmoney-home/config.json，设置header和appkey{
  "header": "parse your total header here",
  "appkey": "parse your appkey here"
}使用获取自选组合In [1]: from eastmoneypy import *
In [2]: get_groups()
Out[2]:
[{'id': '130357503', 'name': '自选股', 'version': '322', 'source': 'web'},
 {'id': '348275488', 'name': 'inging', 'version': '17', 'source': 'web'},
 {'id': '215892391', 'name': '持仓', 'version': '118', 'source': 'mobile'},
 {'id': '327237386', 'name': '港股', 'version': '6', 'source': 'mobile'},
 {'id': '235046679', 'name': '刘世军', 'version': '10', 'source': 'mobile'},
 {'id': '327744616', 'name': 'etf', 'version': '22', 'source': 'mobile'},
 {'id': '350053618', 'name': 'tech', 'version': '0', 'source': 'web'},
 {'id': '350485893', 'name': '你好', 'version': '0', 'source': 'web'},
 {'id': '130357521', 'name': '持仓股', 'version': '1', 'source': 'mobile'}]创建组合In [3]: create_group('tmp')
Out[3]: (True, {'gid': '350518464', 'msg': '添加组合成功'})添加股票到组合>>> add_to_group('000999', group_name='tmp')
>>> add_to_group('BK1003', group_name='概念',entity_type='block')
>>> add_to_group('MSFT', group_name='tmp', entity_type='stockus')
>>> add_to_group('00700', group_name='tmp' entity_type='stockhk')删除组合In [5]: del_group('tmp')联系方式个人微信:foolcage 添加暗号:zvt微信公众号:知乎专栏:https://zhuanlan.zhihu.com/automoney
Package: eastofeaton.logopanel
ContentsIntroductionUnder the hoodContributorsChangelog1.1 (2012-05-08)1.0 (2011-06-20)IntroductionThis package provides a new control panel for the Plone content management
system.  The purpose of this control panel is to allow easy replacement of the
site logo.After installing the package, the user will find a new control panel listed in
Plone’s Site Setup area. Clicking on the name of the panel will open a view
providing a preview of the current site logo and a file upload field to
replace that logo. If the user chooses to upload a new site logo, that new
logo will replace the existing one, and the logo will change for the site.Under the hoodThe control panel works by creating a new OFS.Image object in the ‘custom’
folder of the portal_skins tool. If for some reason, this folder is missing,
the image will be added to the Plone site root. To return to the original,
stock Plone logo, all the user need do is delete this image. Acquisition will
take care of the rest.ContributorsCris Ewing, AuthorChangelog1.1 (2012-05-08)Properly package this egg
[eleddy]1.0 (2011-06-20)Created simple Plone control panel which adds the uploaded file as ‘logo.png’
to the custom skin folder or, if that is missing, to the site root.
[Cris Ewing]Package created using templer
[Cris Ewing]
Package: eastofeaton.paypal
ContentsIntroductionWork In ProgressContributorsChangelogIntroductionThis package provides a very thin utility wrapper around thepaypal-pythonpackage. Installing this into a plone site will provide a utility with the
interface IPaypalAPIUtility. It will also provide some configuration settings
useful for getting started. The utility may be used in ‘sandbox’ mode or in
‘production’ based on the settings chosen. The default is to operate in
‘sandbox’ mode.Users are encouraged to read carefully the documentation for thePaypal
Website Payments Pro APIWork In ProgressThis package is an early alpha. It is not yet suitable for production and is
in no way stable. If you have contributions, please be sure to write tests to
cover them.ContributorsCris Ewing, AuthorChangelog1.0a1 (2011-06-20)Package created using templer
[Cris Ewing]
Package: eastpy
East-oriented Python examples, based on James Ladd’s “East-oriented” techniquehttp://jamesladdcode.com/?p=12.Free software: BSD licenseDocumentation:https://eastpy.readthedocs.org.FeaturesMovieFinder application ported from James Ladd’s (@jamesladd) Java versionHistory0.1.0 (2015-10-05)First release.0.1.1 (2015-10-05)Fixed some PyPI bugs
Package: east-tool
East - tool for building NCS/Zephyr applicationsEast is a command line meta-tool, useful for creating, managing, and deployingZephyrornRF Connect SDK(NCS) projects.It is built on top of Zephyr's RTOS meta-toolWestand Nordic'snRF Connect
Toolchain Manager.Reasoning behind EastThere are several reasons why someone would like to create yet another tool on
top ofwest:Working on several projects at once means using different versions of the NCS
repository and different versions of the toolchain. Managing these differences
is not a trivial task.There is no reproducible build guarantee between the developer's machines.
Slight differences between tool versions can manifest into hard-to-find bugs.Creating GitHub releases manually takes ages as you have to run the build
process for every combination of the board, application, build variant, etc.
and properly rename the release binary. The release procedure gets longer with
every addition of new hardware and build variation option.East automates the above tasks and tries to make the developer more productive.Key featuresAutomated detection and installation of tooling required for NCS projects.Commonwestcommands used for the development, such asbuild,flash,
etc.Sandboxed development environment, thanks to the nRF Connect Toolchain
Manager, everybuild,flash, etc. command runs inside of its toolchain
environment.Automated process of generating release artefacts for your entire project, no
matter the number of applications, samples or boards.Support for build types, which is integrated into the usual build process.RTT utility commands to connect and see the RTT stream.Documentationdocsdirectory contains several markdown documents about East:Getting stared- Quickly setup an example project and get it building with
East.How East works- How East works under the hood and what to expect from it.Configuration- How to configure build types and release procedure viaeast.ymlfile.Development guide- How to setup development environment for working on
East.
Package: easy-adb
easy-adbIntroductioneasy-adb is a tool written in Python that simplifies the use of Android Debug Bridge (ADB) commands.With this tool, you can easily perform tasks such as starting an ADB server, connecting to an Android device, and executing ADB commands using Python code.Important : This project does not contain any content from the Android SDK Platform-Tools.
Necessary libraries must be downloaded separately by the download_adb_binary command.InstallationIf Python >= 3.9 is installed, you can install easy-adb with the following command:pipinstalleasy-adbUsageeasy-adb can be used through a command-line interface (CLI).Here is the basic way to use easy-adb:python-measy_adb.cli--ip[deviceIP]--port[portnumber]--adb-command[ADBcommandtoexecute]replace [device IP], [port number], and [ADB command to execute] with the actual values.or you can use easy-adb in Python code:fromeasy_adbimportrun_adb_server,set_signer,connect_device,send_command,download_adb_binary# equivalent to: easy-adb --ip 192.168.0.1 --port=5555 --adb-command="getprop ro.product.model"# download_adb_binary()  # optionalrun_adb_server()test_device=connect_device(set_signer(),"192.168.0.1",5555)result=send_command(test_device,"getprop ro.product.model")Featureseasy-adb provides the following features:ADB Server Management: Start the ADB server from Python code.Device Connection Management: Connect to Android devices using WI-FI IP address and port number.ADB Command Execution: Execute ADB command and retrieve output.LicenseThis project is distributed under the LGPLv3 license. See theLICENSEfile for details.DisclaimerPlease note that the easy-adb library does not take any responsibility for the download and use of the Android SDK Platform-Tools.Users are responsible for ensuring that they download and use these tools in a manner that is in compliance with the terms and conditions set forth by the original provider.ContactFor bug reports about this project, please submit them through the GitHub issue tracker.
Package: easyadwords
easyadwordsUser friendly wrapper for Google AdWordsFree software: Apache Software License 2.0Documentation:https://easyadwords.readthedocs.io.FeaturesAccess most reporting functions of the powerful AdWords API (relatively) painlesslyInstallation$pipinstalleasyadwordsHistory0.1.3 (2016-09-08)Retry with incremental backoff logic applied to most functions0.1.2 (2016-08-29)Added get_all_account_info to AdwordsUtilityAdded date_range to utils0.1.1 (2016-08-29)Download report as GZIPPED_CSV, then unzip and load locally.0.1.0 (2016-08-26)First release on PyPI.
Package: easyaes
easy-aes is an ultra-lightweight, pure-python library for doing AES
encryption. It draws heavily on the popular crypto library, simplifying
AES encryption and decryption of files to a single function each.UsageSimple usage follows this pattern:importeasy-aesencrypt_me="my_transcript.pdf"output_file=easy-aes.encrypt_file(encrypt_me)output_file is a string with the new file name.WARNING: IF YOU FORGET YOUR PASSWORD AND DELETE
THE ORIGINAL DATA, YOUR FILE WILL NOT BE ABLE TO BE RETRIEVED!importeasy-aesencrypted_file="my_encrypted_filename.aes"binary_data=easy-aes.decrypt_file(encrypted_file)withopen('my_new_file.aaa','wb')asnew_file:new_file.write(decrypted_data)decrypt_file returns a Python object containing
the now-decrypted data.Installationeasy-aes works Python 3.3+. To install it,
use:$pipinstalleasy-aes0.1Released on September 10, 2016
Package: easy-aes
easy-aes is an ultra-lightweight, pure-python library for doing AES
encryption. It draws heavily on the popular crypto library, simplifying
AES encryption and decryption of files to a single function each.UsageSimple usage follows this pattern:importeasy-aesencrypt_me="my_transcript.pdf"output_file=easy-aes.encrypt_file(encrypt_me)output_file is a string with the new file name.WARNING: IF YOU FORGET YOUR PASSWORD AND DELETE
THE ORIGINAL DATA, YOUR FILE WILL NOT BE ABLE TO BE RETRIEVED!importeasy-aesencrypted_file="my_encrypted_filename.aes"binary_data=easy-aes.decrypt_file(encrypted_file)withopen('my_new_file.aaa','wb')asnew_file:new_file.write(decrypted_data)decrypt_file returns a Python object containing
the now-decrypted data.Installationeasy-aes works Python 3.3+. To install it,
use:$pipinstalleasy-aes0.1Released on September 10, 2016
Package: easyaiapi
FastAi APIfromfastaiapiimportbackground_thread,WssClient,WssServerfromfastaiapi.utilsimportread_base64_imageTARGET_SOCKET_URL="[ENTER TARGET WS URL]"client=WssClient()@client.from_video_source(TARGET_SOCKET_URL,0)defon_data_received(data):print(data)
Package: easy-allure
easy_allurePackage to facilitate work with allure testopsInstallationpip3installeasy-allureTo work with easy_allure, ENV variables for testops should be set in your working environmentexportALLURE_ENDPOINT=ENDPOINT_HEREexportALLURE_TOKEN=TOKEN_HEREexportALLURE_PROJECT_ID=ID_HEREUsageSend test results to testopseasy_alluresend./allure_reports--launch-namemy_launch
Package: easyann
:rocket: ANN :facepunch:Installpip install fast-annUsagefromannimportANNimportnumpyasnpdata=np.random.random((1000,128)).astype('float32')ann=ANN()ann.train(data,index_factory='IVF4000, Flat',noramlize=True)dis,idx=ann.search(data[:10])print(dis)print(idx)faiss不同量级对应的训练时间及内存测试压缩方式测试四种组合：默认是查向量返回 distance与indexid => id/vectorvector => id/vectorpush场景需要 docid => title_vector => docid线上服务id2wordid2vector
Package: easy-ansi
Easy ANSIEasy ANSI is a terminal framework API to give you an easy way to use colors, attributes, screen actions, and
cursor control movements.  This framework adheres to the ANSI standard codes, and does not implement
operating system specific features.  It uses only the standard Python library, and does not have external
dependencies such as ncurses.Documentation can be found here:Easy ANSI DocumentationThe change log can be found here:Easy ANSI Change Log
Package: easy-api-builder
Easy_API_BuilderAn Python Package for easily create APIs in Python.pip installeasy-api-builderRequiremnets: <= python 3.6Required modules –> Flask, requestsDocumentationBuild an API with easy_api_builder:fromeasy_api_builder.builderimportapiBuilderjson_response=\{"easy_api_builder.Version":0.1,"downloads":"200+"}builder=apiBuilder()builder.create_get_api(json_response,"/")builder.start(port=80)Build an api with authorization by an api keyfromeasy_api_builder.builderimportapiBuilderjson_response=\{"easy_api_builder.Version":0.1,"downloads":"200+"}builder=apiBuilder()builder.build_auth_api(json_response,["key1","key2], "/api/")builder.start(port=80)To get a response from the api you must make a requests to this url:http://yourdomain.com/api?key=key1/Build a Documentation Page for your API:# Import the required Packagesfromeasy_api_builder.builderimportapiBuilderjson_response=\{"easy_api_builder.Version":0.1,"downloads":"200+"}# Define the apiBuilderbuilder=apiBuilder()# Create a GET APIbuilder.build_get_api(json=json_response,path="/")# Create a Documentation Page for the APIbuilder.create_docs(sitename="Cocumentation",sitedescription="Official Documentation for easy_api API",path="/docs",docs="How to use our API? etc...")# Start the API on defualt Port 80builder.start(port=80)Build a custom docs page...
# Define the apiBuilder}
builder = apiBuilder()

builder.create_custom_docs("/docs/v3", "customfile.html")

builder.start()Note: You can create only a Documentation Page too:# Import the Required Packagesfromeasy_api_builder.builderimportapiBuilder# Define the apiBuilderbuilder=apiBuilder()# Create a Documentation Pagebuilder.create_docs(sitename="Cocumentation",sitedescription="Official Documentation for easy_api API",path="/docs",docs="How to use our API? etc...")# Start the API on defualt Port 80builder.start(port=80)You can change the path. For example “/api/v3”How to customize the Documentation- and Error Page?To customize the Documentation- and error page, go in the package folder
and edit the index.html and the 404.html
Package: easyaspi
EasyAsPiThis project aims to remove a lot of the complexity of dealing with the GPIO and PiCamera for beginner level programmers working with the Raspberry Pi.This project has been initially developed for use within my own classes that I teach but I hope it might find use for others too.PROJECT HOMEEasyAsPi homepageGETTING STARTEDThis assumes you have a Raspberry Pi (and a PiCamera to use that functionality). All code tested on Raspberry Pi model 3, PiCamera model 2, running Raspbian 2018-06-29.INSTALLpip install easyaspiUSAGEAt present, the project supports LEDs, buttons, ultrasonics and the PiCamera. This list of tools is expected to grow as need arises.Note: This library will set the default GPIO pin layout mode to BCM.LEDsCreate the LED objectimporteasyaspiled=easyaspi.LED(pin_number)Turn an LED onled.set(True)Turn an LED offled.set(False)BUTTONsCreate the Button objectimporteasyaspibutton=easyaspi.Button(pin_number)Retrieve if the button is being pressedbutton_state=button.get()Set an event callback for button presses# Note: The function definition for the callback requires the state parameter even though it should always be set to True to indicate the button is currently pressed.defwas_pressed(state):print("Button was pressed!")button.on_press(was_pressed)Remove an event callbackbutton.remove_on_press()# Remove any event listener for this buttonULTRASONICCreate the Ultrasonic variableimporteasyaspiultra=easyaspi.Ultrasonic(trigger_pin_number,echo_pin_number)Retrieve the distance in centimetersdistance=ultra.get_distance()PICAMERACreate the Camera objectimporteasyaspicamera=easyaspi.Camera()Take a photo (without a message)camera.photo("myphoto.png")Take a photo (with a message)camera.photo("myphoto.png","my message")Start video recordingcamera.record("myvideo.h264","my message")Check to see if camera is recording videorecording_state=camera.recording# Returns True or FalseStop video recordingcamera.stop()Close the camera preview window when finishedcamera.preview(False)AUTHORPaul BaumgartenLICENSEMIT License (C) 2018 Paul Baumgarten
Package: easyaspymutations
easyaspymutationsAssorted utility functions for working with mutation files (vcfs/mafs/etc)Free software: MIT licenseDocumentation:https://easyaspymutations.readthedocs.io.FeaturesTest whether a mutation file was actually called against a particular reference genome.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.1 (2021-12-16)First release on PyPI.
Package: easy-as-pypi
Boilerplate PyPI project.OverviewBoilerplate for modern, bathroom-tub-included Python projects.The boilerplate itself is installable and includes minimalist Click CLI.But most of the gold is buried within:Modern Poetry andpyproject.tomlsetup.Supports cascading editable installs (install current project in
editable mode, as well as any dependencies you might have source
for locally; boilerplate manages alternativepyproject.tomlautomatically).All the lints:black,flake8,isort,pydocstyle,doc8,linkcheck,poetry check, andtwine check.Test against all active Python versions and lint usingtox.Run tasks, tests, and setup virtualenvs quickly usingmakecommands in your active virtualenv.Generate docs forReadTheDocs.Localize user messages usingBabel.Easily install to shared or isolated virtualenvs.GitHub Actions linting, testing, and coverage upload.Most of the files are designed to be hard linked from the derived
projects themselves, as they won’t need to be customized (such asMakefile).Then when the boilerplate changes, you can just commit the
changes in the derived project, call them “dependency updates”
or something, and not have to worry about merging changes manually
(and runningmeldor something).
Package: easyass
easy ass一个用于解析和操作ass字幕的python包⚠️当前处于开发阶段，未经过严格测试功能✅ ScriptInfo、Styles、Events解析✅ 大部分的覆写控制代码支持✅ 字段类型，合法性检查⬜ 绘图指令、方便的绘图支持（开发中）⬜ C++内核实现 （计划）安装从 pip 中获取pipinstalleasyass支持 python 3.7 及以上版本，没有额外的库依赖。例子fromeasyassimport*# 引入 easyass 包# 库不提供直接读取文件的api，需要自行读写withopen(r'test/test.ass','r',encoding='utf8')asfp:# 读一个 ass 文件ass_str=fp.read()ass_obj=Ass()# 创建一个 ass 实例errs=ass_obj.parse(ass_str)# 解析 ass 文本print(ass.script_info.Title)# 输出 titleass_obj.script_info.Title='aabbcc'# 修改 titleprint(ass_obj.styles[0].Name)# 获取第一条 styles 的名字ass_obj.styles.append(StyleItem(# 添加一个 style 并指定其部分字段Name='r2l',Fontname='Microsoft YaHei',Fontsize=30,))print(ass_obj.events[0].Start)# 获取第一条事件的开始时间ass_obj.events[0].Text='good'# 修改第一条事件的文本# 修改第一条事件的文本，并使用覆写代码ass_obj.events[0].Text=Pos(1,10)+'good'+FontSize(size=30)ass_obj.events[0].Text[0].x=60# 修改刚才添加的覆写代码中 Pos 的属性 x, 具体属性见 docstringprint(ass_obj.events[0].dump())# 获取第一条事件的 ass 代码lines,errs=ass_obj.dump()withopen(r'op.ass','w',encoding='utf8')asfp:# 修改后的ass写到文件fp.write('\n'.join(lines))# lines是一个字符串数组，包含每一行的内容