Saravanan666/pypi-org huggingface dataset:
Package: ezplone
This library originated from a desire to do away with the large amount of
boilerplater code required to bootstrap a Plone product. It provides
installer, deinstaller and initaliser classes that provide reasonable default
behaviour. It uses the old (Plone 2.x) way of installing old-fashioned
Products but these are still surprisingly common in these days of egg-ified
Plone add-ons (and sometimes easier to write). It won’t fit all purposes but
does make for quick-and-dirty bootstrapping of a Product.
It also includes some other useful utility functions for Plone, mostly with
a eye towards manipulating Plone from the debug prompt.
There are numerous other Products or package that provide similar (and
arguably better) functionality, including InstallUtils and PloneUtils.
Package: ezplot
A remote procedure interface to Matplotlib.This package allows you to invoke Matplotlib(http://matplotlib.sourceforge.net)plotting commands over an XML-RPC interface.  The plottingcommands are issued by the 'plotclient', sent over XML-RPC,then executed by a (local) 'plotserver'.  The advantage tothis is that the plotting commands are executed in acompletely separate process from the client, thus there areno issues with getting stuck in the Matplotlib GUI's mainloop.  Similar to what you get from"ipython -pylab", but thisworks with any Python shell whether it's console-based orGUI based.
Package: ezplotly
EZPlotly and EZPlotly_bio For Jupyter NotebooksIntroducing EZPlotly: An easy, intuitive wrapper for making Plotly plots in Jupyter notebooksPlotly offers interactive plots, as opposed to the static plots that most other python visualization tools provide. However, Plotly syntax can be challenging to write, whereas the other libraries are a lot easier to plot with. EZPlotly helps bridge the gap. EZPlotly makes plotting with Plotly simpler and more matplotlib or matlab-like for experienced users of those toolsets.In addition, EZPlotly offers domain-specific extensions for making interactive domain-specific plots in Plotly.*The YayROCS package enables common Deep Learning / Machine Learning plotting functions such as making interactive ROC curves, AUCs, and p-Value comparison charts.*The EZPlotly_bio extension offers a rich toolset for bioinformaticians to make common bioinformatics plots such as qqplots, chromosome rolling medians, chromosome frequency histograms and barcharts.Installationpip install ezplotlyExample syntax:importezplotlyasepimportnumpyasnpa=np.arange(0.0,1.0,0.01)b=a+1exampleHist=ep.hist(data=a,min_bin=0.0,max_bin=1.0,bin_size=0.1,title='MyHistogram',xlabel='a')exampleScatter=ep.scattergl(x=a,y=b,title='Test',xlabel='x',ylabel='y')ep.plot_all([exampleHist,exampleScatter])For more examples, checkout run the EZPlotlyExamples.ipynb and EZPlotlyBioExamples.ipynb in Jupyter!EasyPlotly_bio for Bioinformaticians:In the bioinformatics domain? EasyPlotly_bio supports making common bioinformatics plots such as qqplots, chromosome rolling medians, chromsome count bar charts, and chromosome histograms.
Package: ezplugins
EZPluginsEZPlugins is an easy to use plugin framework with a great deal of flexibility.InstallingEZPlugins can be simply installed by running:pip install ezpluginsOr if you prefer the development branch, one could use:pip install git+https://gitlab.oscdev.io/software/ezplugins.gitIf you want to install from a source distribution (extract the tarball first), or checked-out git repository run the following
command:python setup.py installDocumentationEZPlugins DocumentationContributingSupportIssue TrackerLicenseEZPlugins is licensed under theMIT License.
Package: ezpredict
This package is meant to offer a variety of convenient inference functions, particularly for fine-tuned transformers.Limited toJochen Hartmann'sfine-tunedj-hartmann/emotion-english-distilroberta-basefor now.Install:Command linepip install ezpredictGoogle Colab!pip install ezpredictImports:pip install numpy
pip install torch
pip install transformersHow to use:fromezpredictimportpredictpreds=predict.predict_input(model_name="j-hartmann/emotion-english-distilroberta-base",input=["What a beautiful day!"],return_values=True,print_values=True)Variables:model_name-> name of model to perform inference on (limited toJochen Hartmann'sfine-tunedj-hartmann/emotion-english-distilroberta-basefor now)input-> list of strings to perform predictions onreturn_values-> True/False, True: returns predictions as list of tuplesprint_values-> True/False,  True: returns verbose outputsSample output:[('What a beautiful day!',{'anger':0.0013013791,'disgust':0.00047031444,'fear':0.001256481,'joy':0.95772415,'neutral':0.005870249,'sadness':0.004233605,'surprise':0.029143812}),('My grandfather died today.',{'anger':0.0012322478,'disgust':0.002399753,'fear':0.0018630251,'joy':0.0021994421,'neutral':0.012114782,'sadness':0.96717805,'surprise':0.013012686})]
Package: ezprez
ezprezAn object based api for generating web presentations/slideshowsTable of ContentsWhat does ezprez do?Features & RoadmapWhy should I use ezprez?Who is ezprez for?InstallationFrom sourceFrom PyPiQuick-startAdditional DocumentationExamples and ResourcesWhat does ezprez do?Let's you write simple python scripts to generate web presentations/slideshowsFeatures & RoadmapSimple class based apiThe api iteself uses native python classes to create presentations in a short script that's easily editableNo web experience neededSince this is a pure python API you can write web presentations without knowing HTMLBacked on a reliable web frameworkWebslides powers this project and is a well-tested and stable web framework.Why should I use ezprez?Ezprez is the simplest API for writing web presentations without needing explicit knowledge of web development. If you are looking to create powerpoint style presentationspython-pptxorthe google slides apiis better suited for this job.Who is ezprez for?People who want an easy way to create web presentations without editing htmlPeople who know python but not web development technologiesInstallationFrom PyPiRunpip install ezprezFrom sourceClone this repo: (put github/source code link here)Runpip install .orsudo pip3 install .in the root directoryQuick-startFor just plain text slides the easiest way to get started is just using theSlideandPresentationobjects:fromezprez.coreimportSlide,Presentation# Create a slide object (don't need to assign it to a variable or anything it's added to presentation on instantiation)Slide("This is the slide title","this is some content")# Setup the actual presentation settingspresentation_url="https://kieranwood.ca/ezprez-example"# The URL the presentation will be hosted atprez=Presentation("This is the presentation title","This is the presentation description",presentation_url)# Export the presentation in the current directory at /Presentationprez.export(".",folder_name="Presentation")There will then be a folder called Presentation, and inside theindex.htmlfile will contain your presentation. Just put that up on a static hosting service and you're good to go.Additional DocumentationUser DocsAPI Docs(I would recommend the user docs first)Examples and resourcesTemplate repository for bootstrapping projectsExample presentation:Live demo,Source CodeChangelogV0.1.1; December 17th 2020Added some post-release improvements and bug fixesBug fixesFixed bug withSocialLinkComponent failing to link URL properly (all instances set to last value)Fixed broken links on user documentationV0.1.0; December 17th 2020Initial Release of ezprezFeaturesAdded Presentation classAdded Slide classAdded componentsAdded SocialLinkAdded CodeAdded IconAdded FooterAdded NavbarAdded ButtonAdded RawAdded TableOfContentsAdded VideoAdded ImageAdded GridDocumentation improvementsAdded initial api docs (https://kieranwood.ca/ezprez)Added initial user docs (https://ezprez.readthedocs.io)
Package: ez-profile
Releases can be installed via pip frompypiA simple library for a one-liner performance profile usingcProfileandsnakeviz! Upon import, will profile your code (profile file willbestats.profin your current working directory) and launchsnakevizto visualize it. The snakeviz webserver will be open forabout 5 seconds before it gets killed byez_profile. The webpagewill still be visible and interactable though, until you refresh thepage.There is a problem with IDLE where the webserver may not be killed, butaSystemErrorwill get raised. This is a known problem and appearsto be an issue with IDLE and/or Python itself. If I find a solution, Iwill fix the problem, but for now IDLE is considered incompatible withez_profile.This is meant for internal usage, but if you dont wantez_profiletoprofile your code, you can pass the--ignorecommandline flag. Thiswill bypassez_profilecompletely.Notes about usage:import ez_profileshould be at the top of yourmain file. It profiles the entire project, and to do so, it runs themain file in a separate process. If you put this anywhere else in yourproject, the part beforeimport ez_profilewill not be profiled, andthe whole project will be killed after the profiling is completed.Usage:# note that this should be at the top of your script

import ez_profile # this is all you need



<all of your other code>New in 0.1.6--fnamecommandline argument to specify where youwant the output profile to be savedpython file.py --fname "/path/to/custom/location/file.prof"

python file.py --fname "custom_filename.prof"Credit for the idea goes tomatiiss
Package: ezptn
ezptnOverviewString pattern matching with placeholders.プレースホルダーを使った文字列パターンマッチUsageimportezptnres=ezptn.match("lambda%s:%s","lambda a: a ** 2")print(res)# -> [('a', 'a ** 2')]res=ezptn.match("%s:%s","13:12:24")print(res)# -> [('13', '12:24'), ('13:12', '24')]res=ezptn.match("%s--%s","hoge-fuga")print(res)# -> []res=ezptn.match("%squid","equid")print(res)# -> [('e',)]res=ezptn.match("%s(%s)","hoge(22)")print(res)# -> [('hoge', '22')]res=ezptn.match("%s(%s)","hoge()")print(res)# -> [('hoge', '')]res=ezptn.match("%s(%s)","hoge()",allow_empty=False)print(res)# -> []res=ezptn.match("(%s,((%s,%s),%s))",'(23,(("s",44),44))')print(res)# -> [('23', '"s"', '44', '44')]
Package: ezpy
IntroductionTODOUsageTODOInstallationezpycan be installed viapip install ezpyas usual,
seereleasesfor an overview of available versions.
To get a bleeding-edge version from source, use these commands:repo="jhermann/ezpy"
pip install -r "https://raw.githubusercontent.com/$repo/master/requirements.txt"
pip install -UI -e "git+https://github.com/$repo.git#egg=${repo#*/}"As a developer, to create a working directory for this project, call these commands:git clone "https://github.com/jhermann/ezpy.git"
cd "ezpy"
command . .env --yes --develop  # add '--virtualenv /usr/bin/virtualenv' for Python2
invoke build checkYou might also need to follow somesetup proceduresto make the necessary basic commands available onLinux,Mac OS X, andWindows.Referencespip issue #3813
Package: ezpycolor
ezpycolorsimple colorization of strings in PythonInstallationpip install ezpycolorExample OutputUsagefrom ezpycolor import *

printgreen("hello world")

s = colorpurple("hello")+" "+colorred("world")
print(s)

printrainbow("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
printbgrainbow("ABCDEFGHIJKLMNOPQRSTUVWXYZ")Objects# print statements
printpurple
printblue
printgreen
printyellow
printgold
printred
printbold
printunderline
printbgpurple
printbgblue
printbggreen
printbgyellow
printbggold
printbgred
printrainbow
printbgrainbow

# string objects
colorpurple
colorblue
colorgreen
coloryellow
colorgold
colorred
colorbold
colorunderline
colorbgpurple
colorbgblue
colorbggreen
colorbgyellow
colorbggold
colorbgred
colorrainbow
colorbgrainbow
Package: ez-pydocs
ez_pydocsDescriptionez_pydocs allows you to easily generate documentation for all of your python
files by just providing it your source directory. It generates the documentation
from all doc strings and will render markdown. After it's completed, it provides
you markdown to put into your README.GoalsMake documentation generation in python ez.Open source this utility.Expand on some features.How to run/setupInstalling via sourcecdez_pydocs
pip3install-e.--userpip3installez_pydocs--userIt's that ez.Usageusage: ez_pydocs.py [-h] directory

positional arguments:
  directory   The directory to traverse. Ideally should be in the same
              directory as your README.md

optional arguments:
  -h, --help  show this help message and exitHow to contributeFork the current repository and then make the changes that you'd like to said fork. Upon adding features, fixing bugs,
or whatever modifications you've made to the project, issue a pull request to this repository containing the changes that you've made
and I will evaluate them before taking further action. This process may take anywhere from 3-7 days depending on the scope of the changes made,
my schedule, and any other variable factors.Resourcespydoc-markdown
Package: ezpyi
ezpyiA wrapper for PyInstaller that simplifies its usage.Copyright (c) 2019 S. Zeid.  Some rights reserved under the X11 License.https://pypi.org/project/ezpyihttps://code.s.zeid.me/ezpyiNote:  If all you want to do is bundle a single script without writing a
spec file, PyInstaller is now able to do this out-of-the-box.  However,
ezpyi will hide the spec file from you altogether, output a single file
by default, and not output to adistsubdirectory by default.  It also
supports makingAppImagesand contains some other convenience
options.InstallationRunpip3 install ezpyi.Alternatively, clone the repository (or download a release tarball)
and runpython3 setup.py installfrom within the root directory
(with root privileges).UsageUsage: ezpyi [options] script [exefile]Without any options, ezpyi will bundlescriptand its Python dependencies
as an executable file calledexefile.-Dor--onedirwill bundle the script as a directory calledexefile.
Unlike stock PyInstaller, the executable file within that directory will
always be calledAppRun.-Aor--appimagewill bundle the script as anAppImage.
This requiresappimagetoolto be on your $PATH.  (AppImage
desktop integration and AppStream are not supported by ezpyi.  If you need
these features, use-D, modify the output directory, and manually build
the AppImage.)To pass arguments topyi-makespec, use-Mor--makespec-args.  All
remaining arguments will be passed topyi-makespec.  If there are no
remaining arguments, thenpyi-makespec's help text will be printed.For other options, runezpyi -h.
Package: ezpylog
Welcomeezpylog is a minimalistic and easy to use python loggerInstallationUsing pip :directly from command line with :pip install ezpylogmanually bydownloading ezpylogand install it withpip install ezpylog-X.X.tar.gzHow to use ?Import :fromezpylogimportLogger,LogLevelLogging Levels :The level can be as following :LogLevel.DEBUGLogLevel.INFOLogLevel.WARNINGLogLevel.ERRORLogLevel.CRITICALInitialisation :logger=Logger(name=None,min_level:int=logging.WARNING,logfile:str=None,logfile_level=None,color_on_console:bool=True)nameis the name of the logger. If not set, the name of the module will be used.min_levelis aLogLevelenum and filters log messages on the console (ex :WARNINGwill not printINFOmessages). Default isWARNING.contextis the logging context, you can use"main()"if you use it in__main__for example. Default is"".logfileis the name of your optional log file forDEBUG,INFOandDEBUGmessages. Default isNone(no log file).logfile_levelis aLogLevelenum and filters log messages in the log file (ex :WARNINGwill not printINFOmessages). Default isWARNING.color_on_consoleis a boolean to enable or disable color on the console. Default isTrue.logging :logger.log(msg)# orlogger.log(msg,level)with defaultlevel = LogLevel.INFO.You can call the loglevel corresonding function too :logger.debug(msg)logger.info(msg)logger.warning(msg)logger.error(msg)logger.critical(msg)Example :You can find this exemple by callingLogger.loggerdemo()fromezpylogimportLogger,LogLevela=1234567logger=Logger(LogLevel.DEBUG)logger.log("Debug message",LogLevel.DEBUG,"context")logger.log("Info message")logger.log("Warning message",LogLevel.WARNING,"context")logger.log(f"Error message{a}",LogLevel.ERROR,"context")logger.log("Critical message",LogLevel.CRITICAL,"context")logger2=Logger(LogLevel.WARNING,"__main__")logger2.log("Debug message",LogLevel.DEBUG,"subcontextA()")logger2.log("Info message",LogLevel.INFO,"subcontextB()")logger2.log("Warning message",LogLevel.WARNING,"subcontextA()")logger2.log(f"Error message{a}",LogLevel.ERROR,"subcontextB()")logger2.log("Critical message",LogLevel.CRITICAL)prints the following :
Package: ezpylogger
ezpylogger: Logging made simplerWhat is this?This is an easy to use, logging library that can log function calls of ANY functions!This includes functions that you've made, functions that have been predefined. (Like any functions/methods that are included in other libraries)How do you use this?Simple, just import the ezpylogger module and use the Logger to log function calls.Example:fromezpyloggerimportLoggerfromtimeimportsleep@Logger()defadd(a,b):returna+bclassMul:logger=Logger()def__init__(self):pass@loggerdef__call__(self,*args,**kwargs):numbers=[argifarg.__class__.__name__=='int'orarg.__class__.__name__=='float'else1forarginargs]rv=[1]fornumberinnumbers:rv[0]*=number# Some very heavy computational taskself.logger(sleep)(30)returnrv+numbersseven=add(3,4)prod=Mul()(1,2,3,4,5,6,7,0.08,0.69,4.20)Installationpython3-mpipinstallezpylogger
Package: ezpypi
EzPyPIA Python publication tool for painlessly uploading your package to GitHub, Test PyPI, and PyPI.A step-by-step tutorial for starting a Python projectEzPyPIUsageMIT LicenseCopyright (c) 2021 Zacks ShenPermission 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: ezpysocket
Ez-Cpp-Python-SocketCpp Python socket abstraction library that attempts to simplify TCP/IP socket communication.View Demo·Report Bug·Request FeatureTable of ContentsAbout the ProjectBuilt WithGetting StartedInstallationDemoRun ExamplesProcessed Webcam StreamDockerLocal Installation / VirtualEnvUsageContributingLicenseContactAbout The ProjectCpp Python socket abstraction library that attempts to simplify TCP/IP socket communication.Types of messages that can be sent to and fro are as shown below:TypeCppPythonExtra InfoboolYYstringYYintYYfloatYYlistYYvector <-> listlistYYvector <-> listimageYYcv::MatThe following configurations are supported:ServerClientCppCppCppPyPyCppPyPyAddition Server-Client Configurations include:Polling in case address is busy:CppPythonStart and end tokens for every message passedCppPythonContinuous streaming (with webcam)CppPythonBuilt WithPythonCppDockerOpenCVGetting StartedPreferably use dockers or virtual environments.
For a quickstart demo, do not follow local installation steps.InstallationClone the repogitclonehttps://github.com/Aditya-Diva/Ez-Cpp-Python-Socket.gitEnter the directory of the repoFollow launch specific instructionLinux Local Installation./install_dep.sh# Install all python dependenciesC++ Dependencies : InstallOpenCVDocker (Linux)./build_docker.sh# Build docker image in demo or dev modeDemoRun ExamplesProcessed Webcam StreamDocker./run_docker.sh# runs demo directly if demo mode was selected while building# If in dev mode, after launching docker with previous command./run_examples.sh# run demo./tests/test_<name_of_test>.sh# to test library configurations as a demo# Finally to remove the docker image after playing around./remove_docker.sh# removes docker image from systemLocal Installation / VirtualEnvAssuming that OpenCV has already been installed and accessible by C++.
Run shell script to download python dependencies and run demo.
To run demo of server and client together,./run_examples.shTo test out demo of example configurations./tests/test_<name_of_test>.shUsageTo inspect usage of commands,Refer to run_server and run_client scripts inpython&cppfolders.For additional examples check out the examples folders in each folder.ContributingAny contributions made are greatly appreciated.Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull RequestLicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactAditya Divakaran -@LinkedIn-@Github-@GMailNote:This was tested on Ubuntu 20.04 in a virtual environment and on Docker.Image used in repo is fromPixabay.This is a fun project that was picked up while understanding socket communication for other projects that I'm tinkering with.