Saravanan666/pypi-org huggingface dataset:
Package: etcdproxy
etcdproxy提供etcd的代理对象功能.本项目代理的对象是aio模式代理aetcd普通模式代理etcd3需要注意这两个模块本身冲突,也就是说如果import etcd3就不能再import aetcd.因此同一个程序中不能混用两种模式.如果并不确定使用的是什么模式可以在代理的aio字段进行确认安装pipinstalletcdproxy0,0,2异步代理依赖由aetcd3改为aetcd接口变更,现在可以通过url或者连接参数初始化实例由于依赖由aetcd3改为aetcd,现在推荐key和value都统一使用bytes类型0.0.1项目创建
MIT LicenseCopyright (c) 2021 Python-ToolsPermission 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.
Package: etcd-sdk-python
pyetcdPython client for the etcd API v3, supported python >= 3.7, under active maintenanceInstallpipinstalletcd-sdk-pythonRoad maps and TODOsRoad mapsversionrelease datetargetstatus0.0.1Apr 10,2023enable >= python3.7DONE0.0.2Jun 6,2023DONE0.0.3NDset up github actions, run pass unittests, set up merging rules, ensure qualityWIPTODOs for v0.0.2functionsversionstatusmake ut work0.0.2BACKLOGmake tox.ini work0.0.2BACKLOGenable running ut for pull requests0.0.2BACKLOGenable running lint for pull requests0.0.2BACKLOGenable publishing dev packages for merge0.0.2BACKLOGAdd mergify to help merging PRs0.0.2BACKLOGBasic usage:importpyetcdetcd=pyetcd.client()etcd.get('foo')etcd.put('bar','doot')etcd.delete('bar')# lockslock=etcd.lock('thing')lock.acquire()# do somethinglock.release()withetcd.lock('doot-machine')aslock:# do something# transactionsetcd.transaction(compare=[etcd.transactions.value('/doot/testing')=='doot',etcd.transactions.version('/doot/testing')>0,],success=[etcd.transactions.put('/doot/testing','success'),],failure=[etcd.transactions.put('/doot/testing','failure'),])# watch keywatch_count=0events_iterator,cancel=etcd.watch("/doot/watch")foreventinevents_iterator:print(event)watch_count+=1ifwatch_count>10:cancel()# watch prefixwatch_count=0events_iterator,cancel=etcd.watch_prefix("/doot/watch/prefix/")foreventinevents_iterator:print(event)watch_count+=1ifwatch_count>10:cancel()# recieve watch events via callback functiondefwatch_callback(event):print(event)watch_id=etcd.add_watch_callback("/anotherkey",watch_callback)# cancel watchetcd.cancel_watch(watch_id)# recieve watch events for a prefix via callback functiondefwatch_callback(event):print(event)watch_id=etcd.add_watch_prefix_callback("/doot/watch/prefix/",watch_callback)# cancel watchetcd.cancel_watch(watch_id)CreditsMany thx topython-etcd3
Package: etcetera
etceteraDataset sharing via cloud storage (S3, Google Storage)Mental modelA dataset is an immutable collection of files organized in directories (e.gtrain/,val/).A dataset can have ameta.jsonfile, which is a collection of arbitraty key/value pairs.Dataset can be local or remote. Local datasets are kept in~/.etc/. Remote datasets aretgzfiles stored in cloud storage.PyPI packageetceteraprovides:a command-line utilityetcPython packageetceteraUsing Command Lineetc-h
usage:etc[-h]{ls,register,pull,push,purge}...

etcetera:managingcloud-hosteddatasets

positionalarguments:{ls,register,pull,push,purge}commandlsListdatasetsregisterRegisterdirectoryasadatasetpullPulldatasetfromrepositorypushPushdatasettotherepositorypurgePurgelocaldataset

optionalarguments:-h,--helpshowthishelpmessageandexitUsing Pythonimportetceteraasetcdataset=etc.dataset('flower',auto_install=True)dataset.keys()>>{'test','train'}forfilenameindataset['train'].iterdir():print(filename)>>"~/.etc/flower/train/data00001.txt">>"~/.etc/flower/train/data00002.txt"dataset.meta>>{}dataset.root>>"~/.etc/flower"Installingpip install 'etcetera[s3]'Installsetceterswith the support for S3 cloud.Configuration~/.etc.tomlcontains configuration for the service in TOML format. Example:url="s3://my-bucket"Another example:url="s3://my-bucket"public=falseaws_access_key_id="Axxxx"aws_secret_access_key="Kxxx"endpoint_url="https://s3.amazonaws.com"A configuration file is required for remote operations (pull,push,ls -r). It is not required for local operations (ls,register).In configuration fileurlvalue is required. The rest is optional.url: URL of the remote repository. For example,s3://my-bucket.public: set totrueif you wantpushto create publicly-readable cloud files.
Default isfalse.aws_access_key_id,aws_secret_access_key,endpoint_url: configuration files to access
AWS api. If not set, the defaults from global AWS config will be used.Command-line exampleetcls
etcls-r
etcpullMNIST
etcregister<directory>asSuperMNISTCreating a datasetA dataset must have:datadirectory (non-empty)datadirectory must not have any files, only sub-directories (we call them "partitions")Optional:meta.jsonREADME.mdother sub-directories, for exampleassets/A minimal dataset examplesample/
    data/
        train/
            data00001.json
            data00002.json
            data00003.jsonA general dataset examplesample/
    README.md
    meta.json
    assets/
        Analysis.ipynb
        DataCleanup.ipynb
    data/
        train/
            data00001.json
            ...
        test/
            test00001.json
            ...
        val/
            val00001.json
            ...
Package: etc-jupyterlab-distribution
@educational-technology-collective/etc_jupyterlab_distributionA Custom Jupyter Widget LibraryInstallationYou can install usingpip:pipinstallipywidgets
pipinstalletc_jupyterlab_distributionDevelopment InstallationCreate a dev environment:condacreate-netc_jupyterlab_distribution-dev-cconda-forgenodejsyarnpythonjupyterlab
condaactivateetc_jupyterlab_distribution-devInstall the python. This will also build the TS package.pipinstall-e".[test, examples]"When developing your extensions, you need to manually enable your extensions with the
notebook / lab frontend. For lab, this is done by the command:jupyter labextension develop --overwrite .
yarn run buildFor classic notebook, you need to run:jupyter nbextension install --sys-prefix --symlink --overwrite --py etc_jupyterlab_distribution
jupyter nbextension enable --sys-prefix --py etc_jupyterlab_distributionNote that the--symlinkflag doesn't work on Windows, so you will here have to run
theinstallcommand every time that you rebuild your extension. For certain installations
you might also need another flag instead of--sys-prefix, but we won't cover the meaning
of those flags here.How to see your changesTypescript:If you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different
terminals to watch for changes in the extension's source and automatically rebuild the widget.# Watch the source directory in one terminal, automatically rebuilding when neededyarnrunwatch# Run JupyterLab in another terminaljupyterlabAfter a change wait for the build to finish and then refresh your browser and the changes should take effect.Python:If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.
Package: etc-jupyterlab-feedback
etc_jupyterlab_feedbackA JupyterLab extension.This extension is composed of a Python package namedetc_jupyterlab_feedbackfor the server extension and a NPM package named@educational-technology-collective/etc_jupyterlab_feedbackfor the frontend extension.RequirementsJupyterLab >= 3.0InstallTo install the extension, execute:pipinstalletc_jupyterlab_feedbackUninstallTo remove the extension, execute:pipuninstalletc_jupyterlab_feedbackTroubleshootIf you are seeing the frontend extension, but it is not working, check
that the server extension is enabled:jupyterserverextensionlistIf the server extension is installed and enabled, but you are not seeing
the frontend extension, check the frontend extension is installed:jupyterlabextensionlistContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the etc_jupyterlab_feedback directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Server extension must be manually installed in develop modejupyterserverextensionenableetc_jupyterlab_feedback# Rebuild extension Typescript source after making changesjlpmbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstall# Server extension must be manually disabled in develop modejupyterserverextensiondisableetc_jupyterlab_feedback
pipuninstalletc_jupyterlab_feedbackIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink named@educational-technology-collective/etc_jupyterlab_feedbackwithin that folder.Packaging the extensionSeeRELEASEetc_jupyterlab_feedback
Package: etc-jupyterlab-nbgrader-validate
etc_jupyterlab_nbgrader_validateA JupyterLab extension.This extension is composed of a Python package namedetc_jupyterlab_nbgrader_validatefor the server extension and a NPM package named@educational-technology-collective/etc_jupyterlab_nbgrader_validatefor the frontend extension.RequirementsJupyterLab >= 4.0InstallTo install the extension, execute:pipinstalletc_jupyterlab_nbgrader_validateUninstallTo remove the extension, execute:pipuninstalletc_jupyterlab_nbgrader_validateTroubleshootIf you are seeing the frontend extension, but it is not working, check
that the server extension is enabled:jupyterserverextensionlistIf the server extension is installed and enabled, but you are not seeing
the frontend extension, check the frontend extension is installed:jupyterlabextensionlistContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the etc_jupyterlab_nbgrader_validate directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Server extension must be manually installed in develop modejupyterserverextensionenableetc_jupyterlab_nbgrader_validate# Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstall# Server extension must be manually disabled in develop modejupyterserverextensiondisableetc_jupyterlab_nbgrader_validate
pipuninstalletc_jupyterlab_nbgrader_validateIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink named@educational-technology-collective/etc_jupyterlab_nbgrader_validatewithin that folder.
Package: et-cli
ExactTarget CLI Tool. This tool use FuelSDK(https://github.com/salesforce-marketingcloud/FuelSDK-Python).RequirementsPython 2.7.xInstallationYou can use pip to install et-cli:$ pip install et-cliConfiguration$ et configure‘et configure’ command create configure file in your home directory(~/.fuelsdk/config.python).UsageDescribe all DataExtension:$ et describe_all_deRetrive all rows for DataExtension:$ et retrieve_de -c DATAEXTENSION_EXTERNALKEYRetrive sent event for triggered send:$ et retrieve_sentevent -c TRIGGERED_SEND_EXTERNALKEYRetrive open event for triggered send:$ et retrieve_openevent -c TRIGGERED_SEND_EXTERNALKEYRetrive bounce event for triggered send:$ et retrieve_bounceevent -c TRIGGERED_SEND_EXTERNALKEYRetrieve Subscribers:$ et retrieve_subsDescribe DataExtension fields:$ et describe_fields -c DATAEXTENSION_EXTERNALKEYPush message to mobile device:$ et push_message -m MESSAGE_ID -s SUBSCRIBER_KEY

$ et push_message -m MESSAGE_ID -d DEVICE_TOKENSend Email with TriggeredSend:$ echo '{"foo":"bar"}' | et triggered_send -c TRIGGERED_SEND_EXTERNAL_KEY \
-s SUBSCRIBER_KEY -e EMAIL_ADDRESS -a

$ et triggered_send -c TRIGGERED_SEND_EXTERNAL_KEY -s SUBSCRIBER_KEY \
-e EMAIL_ADDRESS -a ATTRIBUTE_FILENAMEFire event for JourneyBuilder Interaction:$ echo '{"foo":"bar"}' | et fire_event -e EVENT_DEFINITION_KEY -s SUBSCRIBER_KEY

$ et fire_event -e EVENT_DEFINITION_KEY -s SUBSCRIBER_KEY -d DATA_FILENAME
Package: etcmaint
etcmaintuses Git to merge the /etc configuration files installed bypacmanthat have been customized.The customized configuration files in /etc are detected by etcmaint and
tracked in themasterbranch of the Git repository. SeeHandling Config
Filesfor when such a detection occurs. After apacmanupgrade,
etcmaint uses Git to merge the customized configuration files with the
changes introduced by the upgrade.The configuration files in /etc that are not installed bypacman, for
example netctl profiles, can be manually committed to themasterbranch.
Changes made to those files will then be also tracked by etcmaint.etcmaint uses amaster-tmptemporary branch, that stems frommaster,
to commit all the changes made during a session. This temporary branch is
merged back intomasteronly when the session is finalized, that is when
the customized configuration files that have been merged by Git are copied
back to /etc.The changes in the current etcmaint session before finalization can be
printed with:$ git diff master...master-tmpInstallInstall etcmaint fromPyPi:$ python -m pip install etcmaintUsage$ etcmaint [--version] {help,create,update,sync,diff} [options]Documentation atGitLab Pages.
Package: etcpack
etcpack (for python)A cython wrapper foretcpackthat integrates etcpack into Pillow as codec.Install viapython setup.py installCython is requiredusage examplefromPILimportImageimportetcpack#needs to be imported once in the active code, so that the codec can register itselfraw_etc_image_data:bytesmode='RGB'/'RGBA'# depending on the ETC modeargs=(x,)# x depending on the ETC modeimg=Image.frombytes(mode,size,raw_etc_image_data,'etc2',args)codec tableETC modeargmodeETC1_RGB_NO_MIPMAPS0RGBETC2PACKAGE_RGB_NO_MIPMAPS1RGBETC2PACKAGE_RGBA_NO_MIPMAPS_OLD2RGBAETC2PACKAGE_RGBA_NO_MIPMAPS3RGBAETC2PACKAGE_RGBA1_NO_MIPMAPS4RGBAETC2PACKAGE_R_NO_MIPMAPS5R or AETC2PACKAGE_RG_NO_MIPMAPS6RGAETC2PACKAGE_R_SIGNED_NO_MIPMAPS7R or AETC2PACKAGE_RG_SIGNED_NO_MIPMAPS8RGAETC2PACKAGE_sRGB_NO_MIPMAPS9RGBETC2PACKAGE_sRGBA_NO_MIPMAPS10RGBAETC2PACKAGE_sRGBA1_NO_MIPMAPS11RGBAnotescompression isn't implementedRG is untested
Package: etcpy
etcpy is an easy to use interface to theetcd daemonthat presents a
‘dictionary like’ interface to etcd while also giving access to etcd’s more
advanced featuresetcpy aims to be as easy to use as possible and provides 2 levels of APIs. The
‘lower level’ API is a dictonary like interface to the etcd daemon while the
Higher level interface provides a filesystem object like interface (egpathliborfile)requirementspython 2.7python-requestsUsage>>> import etcpy
>>> e = etcpy.Etcd('localhost', secure=False)
>>> e['/blast'] = 'testval'
>>> e['/blast'].value
u'testval'LinksCodeDocs
Package: ete
Everything to Everything (ETE)ETE is a simple CLI program that converts data types to other data types. It currently supportsToml,Yaml, andJson.InstallTo use, first install:pip install -U eteOr usePoetry:poetry add eteUseETE is purely command line, and there is no great API yet.ete --helpETE converts files to different types of files. Try writing a Toml file like this:# Named test.toml[table]message=trueThen run:ete test.toml test.jsonCongratulations! You've just experienced the ease of this conversion tool.Contributegit clone https://github.com/BD103/Everything-to-Everything.gitpoetry lockpoetry installI usePoetry, so you may have to download it as well.
Package: ete2
The Environment for Tree Exploration (ETE) is a Python programming
toolkit that assists in the automated manipulation, analysis and
visualization of phylogenetic trees (although clustering trees or any
other tree-like data structure could be used).ETE is currently developed as a tool for researchers working in
phylogenetics and genomics. If you use ETE for a published work,
please cite:Jaime Huerta-Cepas, Joaquin Dopazo and Toni Gabaldon. ETE: a python
Environment for Tree Exploration. BMC Bioinformatics 2010, 11:24.Visithttp://etetoolkit.orgfor more info.
Package: ete3
The Environment for Tree Exploration (ETE) is a Python programming
toolkit that assists in the recontruction, manipulation, analysis and
visualization of phylogenetic trees (although clustering trees or any
other tree-like data structure are also supported).ETE is currently developed as a tool for researchers working in
phylogenetics and genomics. If you use ETE for a published work,
please cite:Jaime Huerta-Cepas, François Serra and Peer Bork. "ETE 3: Reconstruction,
analysis and visualization of phylogenomic data."  Mol Biol Evol (2016) doi:
10.1093/molbev/msw046Visithttp://etetoolkit.orgfor more info.
Package: etelemetry
Etelemetry-clientA lightweight python client to communicate with the etelemetry serverInstallationpip install etelemetryUsageimportetelemetryetelemetry.get_project("nipy/nipype"){'version':'1.4.2','bad_versions':['1.2.1','1.2.3','1.3.0']}or to take advantage of comparing and checking for bad versions, you
can use the following formimportetelemetryetelemetry.check_available_version("nipy/nipype","1.2.1")# github_org/projectAnewerversion(1.4.2)ofnipy/nipypeisavailable.Youareusing1.2.1Youareusingaversionofnipy/nipypewithacriticalbug.Pleaseuseadifferentversion.returns:{'version':'1.4.2','bad_versions':['1.2.1','1.2.3','1.3.0']}Adding etelemetry to your projectYou can include etelemetry in your project by addingetelemetrypackage to your setup process
and by adding the following snippet to your__init__.py. The code snippet below assumes you
have a__version__andusemylogger(logger) variables available. The check takes the form
ofgithub_org/project.# Run telemetry on import for interactive sessions, such as IPython, Jupyter# notebooks, Python REPLimport__main__ifnothasattr(__main__,"__file__"):importetelemetryetelemetry.check_available_version("dandi/dandi-cli",__version__,lgr=usemylogger)To add support checking for bad versions you will need to add a file named.etto your github project containing a simple json snippet.{"bad_versions":[]}Here is an example:https://github.com/nipy/nipype/blob/master/.et
Package: etempmail
ETempMailA simple Python module to get free disposable temporary email address.InstallationTo install etempmail use pip:pipinstalletempmailUsagefrometempmailimportTempMail# recovery: str = None, url: str = 'https://etempmail.com', debug_response: bool = Truetemp_mail=TempMail()# or TempMail('WHHKSIX7915')print(temp_mail.domains())# response -> (domain_id, domain_name)# [('5', 'istanbultaksi.xyz'), ('4', 'privmail.com'), ('2', 'mailers.edu.pl')]print(temp_mail.id)# 7915print(temp_mail.email)# sidavm5dhc@istanbultaksi.xyzprint(temp_mail.recovery)# WHHKSIX7915print(temp_mail.inbox())# [{'subject': 'test', 'from': 'Anonymousemail <noreply@gmail.com>', 'date': '16/08/2022 19:40:47', 'body': 'Test Body Code: 123'}]temp_mail.recover('LHKXDMG7910')# Recover email addresstemp_mail.change()# Change email address by random domaintemp_mail.change(4)# Change email address by domain_idNoteYou can use the following websites and similarshttps://etempmail.comhttps://gecicimail.com.trhttps://toprakmail.comhttps://segamail.comLicenseThe MIT License (MIT). Please seeLicense Filefor more information.