Saravanan666/pypi-org huggingface dataset:
Package: ext-sort
External sort algorithm implementation. External sorting is a class of sorting algorithms that can handle massive
amounts of data. External sorting is required when the data being sorted do not fit into the main memory (RAM) of a
computer and instead must be resided in slower external memory, usually a hard disk drive.
Sorting is achieved in two passes. During the first pass it sorts chunks of data that each fit in RAM,
during the second pass it merges the sorted chunks together.
For more information seehttps://en.wikipedia.org/wiki/External_sorting.Compatibilityext-sort requires 3.6+.InstallationYou can install ext-sort with pip:$pipinstallext-sortQuick startQuick start.importcsvimportioimportloggingimportext_sortasesclassCSVSerializer(es.Serializer):def__init__(self,writer):super().__init__(csv.writer(io.TextIOWrapper(writer,write_through=True)))defwrite(self,item):returnself._writer.writerow(item)classCSVDeserializer(es.Deserializer):def__init__(self,reader):super().__init__(csv.reader(io.TextIOWrapper(reader)))defread(self):returnnext(self._reader)logging.basicConfig(level=logging.DEBUG,format='[%(levelname)-8s]%(asctime)-15s(%(name)s):%(message)s',)withopen('/home/user/data.csv','rb')asunsorted_file,open('/home/user/data.sorted.csv','wb')assorted_file:# save the csv headersorted_file.write(unsorted_file.readline())es.sort(reader=unsorted_file,writer=sorted_file,chunk_size=10_000_000,Serializer=CSVSerializer,Deserializer=CSVDeserializer,workers_cnt=4,)
Package: extsorter
ExtSorter - A simple file sorterWhat is it?Sometimes you have a folder with a lot of files, and you want
to sort them into folders. This is where ExtSorter comes in.
It will sort your files into folders based on the file extension.How to install$pipinstallextsorterHow to use$extsorter-h

usage:extsorter[-h][-dDST][src]Sortfilesbyextension

positionalarguments:srcsourcedir

options:-h,--helpshowthishelpmessageandexit-dDST,--dstDSTdestinationdirExampleSort files in current directory to a folder calledsorted(name by default):$extsorterSort files in~/Downloadsto~/Downloads/old:$extsorter~/Downloads-d~/Downloads/oldDevelopmentInstall$poetryinstallTests$poetryrunmaketestLinters$poetryrunmakeformat
Package: exttr
Integrating extra metadata into attr.ib()ExampleWith a little luck a better example will be provided later but for now, here’s something.A dev in#pythonwas interested in havingclickbuild themattrs-defined configuration objects.
Here’s a basic solution for that with the click options being defined on the attrs class attributes via a custom exttr keyword argumentclick=.importcollectionsimportsysimportattrimportclickimportexttrexttr.register_keywords(exttr.Keyword(name='click'),)@attr.sclassConfiguration:foo=exttr.ib(click=click.option('--red'))defmain(configuration):print(configuration)defclicked_fields(cls):fields=collections.OrderedDict()forfieldinattr.fields(cls):decorator=exttr.get(cls,field.name,'click')ifdecoratorisNone:continuefields[field.name]=decoratorreturnfieldsdefbuild_click(f,cls,command_or_group):fields=clicked_fields(cls)defcli(*args,**kwargs):configuration=cls(*args,**kwargs)returnf(configuration)forname,decoratorinreversed(fields.items()):before=getattr(cli,'__click_params__',[])cli=decorator(cli)after=getattr(cli,'__click_params__',[])new=after[len(before):]iflen(new)==1:new,=newnew.name=namereturncommand_or_group(cli)click_main=build_click(f=main,cls=Configuration,command_or_group=click.command(),)sys.argv[1:]=['--red','burgundy']try:click_main()exceptSystemExit:passOutput:Configuration(foo='burgundy')
Package: extypes
This project provides a few enhanced types for Python:A “constrained set” (ordered or not)That’s all for now.It also provides extensions for Django (1.7 - 1.10).It has been fully tested with all versions of Python from 2.7 to 3.4; and is distributed under the BSD license.LinksPackage on PyPI:http://pypi.python.org/pypi/extypesRepository and issues on GitHub:http://github.com/rbarrois/extypesDoc onhttps://extypes.readthedocs.io/(not available yet)Getting startedIntall the package from PyPI, using pip:$pipinstallextypesOr from GitHub:$gitclonegit://github.com/rbarrois/extypes$cdextypes$pythonsetup.pyinstallTo check that everything went fine, fire a Python shell and importextypes:importextypesIntroductionextypesprovides a new type,ConstrainedSet.This is aset()-like object, but values can only be taken from a
specific set of options.AConstrainedSetis declared in a manner very similar tocollections.namedtuple:importextypesFoods=extypes.ConstrainedSet(['eggs','spam','bacon'])This will declare a new class,Foods, whose instances areConstrainedSetthat only accept
options among'eggs','spam'and'bacon'.Those objects can be used as simpleset()objects:>>>importextypes>>>Foods=extypes.ConstrainedSet(['eggs','spam','bacon'])>>>meat=Foods(['spam','bacon'])>>>fresh=Foods(['bacon','eggs'])>>>'eggs'inmeatFalse>>>'eggs'infreshTrue>>>meat&freshFoods(['bacon'])As aset()object, they are mutable:>>>importextypes>>>Foods=extypes.ConstrainedSet(['eggs','spam','bacon'])>>>meat=Foods(['spam','bacon'])>>>meat.remove('spam')>>>meatFoods(['bacon'])And iterable:>>>importextypes>>>Foods=extypes.ConstrainedSet(['eggs','spam','bacon'])>>>meat=Foods(['bacon','spam'])>>>list(meat)['spam', 'bacon']But only valid options are accepted:>>>Foods=extypes.ConstrainedSet(['eggs','spam','bacon'])>>>greens=Foods(['spinach']Traceback (most recent call last):...ValueError:Invalid keys ['spinach'], please use a value in ['spam', 'bacon', 'eggs'].Extensions: Djangoextypesalso provides custom fields for Django - compatible with Django 1.7 and upwards.fromdjango.dbimportmodelsimportextypesimportextypes.djangoFoods=extypes.ConstrainedSet(['eggs','spam','bacon'])classFridge(models.Model):contents=extypes.django.SetField(choices=Foods)This field will simply behave as a simpleConstrainedSet.>>>fridge=Fridge(contents=['bacon'])>>>fridge.contents.add('eggs')>>>fridge.save()It is displayed in forms as a multiple choice field.
In the database, it is saved as a|-separated list of enabled values
(in the above example, the field is stored as|eggs|bacon|).Noteextypes.django.SetFieldcan also receive a choice-like list:classFridge(models.Model):contents=extypes.django.SetField(choices=[('eggs',"Eggs"),('spam',"Spam"),('bacon',"Yummy bacon")])In that case, the field definition is available atFridge.contents.set_definition:>>>f=Fridge(contents=Fridge.contents.set_definition(['eggs','spam']))>>>f.get_contents_display()"Eggs, Spam"
Package: exudyn
A flexible multibody dynamics systems simulation code with Python and C++Exudyn is hosted onGithubwhich provides full documentation, tutorial, examples, etc.SeeLicense on github.
Pre-compiled available for Windows / Python 3.6 - 3.10.For more information, installation and tutorials see:https://github.com/jgerstmayr/EXUDYNFor CHANGES (section Issues and Bugs), detailed DOCUMENTATION on theory, usage, and REFERENCE MANUAL on600+pages:https://github.com/jgerstmayr/EXUDYN/tree/master/docs/theDoc/theDoc.pdf
Package: exverify
# ExVerifyExVerify uses the Yuna package to generate a graph network from the layer polygons
of a superconducting circuit. Therefore, make sure you install the [Yuna](https://github.com/rubenvanstaden/Yuna)
and the [gdspy](https://github.com/rubenvanstaden/gdspy) packages.
For the time being they have to be installed from source.## UserSetup for the normal user.### DepenenciesOn Fedora install the following:` sudo dnf installredhat-rpm-configsudo dnf installgcc-c++sudo dnf installpython3-develsudo dnf install tkinter sudo dnf install gmsh `### InstallationYou can install ExVerify directly from the Python package managerpipusing:` sudo pip3 install auron `## DevelopersDocumentation for developers for maintaining and extending.### InstallationTo instead install ExVerify from source, clone this repository,cdinto it, and run:` sudo pip3 install-rrequirements.txt sudo pip3 install . sudo pip3 install-e. `Uploading package to PyPi usingtwine:Remember to remove all Eggs before doing a push to PyPi.` sudo python3 setup.py bdist_wheel twine upload dist/* `Unit testing overview:http://docs.python-guide.org/en/latest/writing/tests/### DocumentationIf you want to generate the docs make sure the Napoleon package is installed:` sudo pip3 installsphinxcontrib-napoleon`Coding standards for parsing the correct docs is given in:
*https://sphinxcontrib-napoleon.readthedocs.io/en/latest/*https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
Package: exvis
exvisexvisvisualizes MIP instances in .mps & .lp format based on theirexpressions (variables and constraints) as a graph.InstallationpipinstallexvisUsageexvis--inputdata/example/enlight_hard.mps.gzFor further options, seeexvis --help.PreviewShown here are visualizations of instances from theMIPLIB 2017 set.enlight_hardeva1aprime5x5optneos-1171737neos-1324574mine-90-10peg-solitaire-a3Many more images of files from theMIPLIB 2017 setcan be foundhere.Known issuesThe applied networkx functionality may eat up a lot of memory for large instances or run indefinitely.
Package: exxablock
ContentsSummaryFeaturesInstallationNew features, Changes, and FixesSummaryexxablock is a Python package that access ExxaBlock products (and services).
The products include but are not limited toExxaBlock Cryptocurrency Indices 100 (ECI-100)ExxaBlock Cryptocurrency Analytics 100 (ECA-100)ExxaBlock Cryptocurrency Execution 100  (ECX-100)Featuresdownload realtime cryptocurrency market indices and access cache serversdownload realtime cryptocurrency analytics and access cache serversdownload realtime cryptocurrency execution and access cache serversInstallationPre-requisitessocketIO_client_nexusredisPyPIpip install exxablockAnacondapip install socketIO_client_nexusconda install -c sparkexxa exxablockNote:Currently, There is no Anaconda package “socketIO_client”New features, Changes, and Fixes0.0.19RealTimeExecutionFeedExecutionCliExecutionCache0.0.18RealTimeIndexFeedbug fix in getSecurityMaster ()RealTimeAnalyticFeedbug fix in getSecurityMaster ()0.0.17RealTimeIndexFeedconnect()additional product class support‘M1’ : index constituents‘M2’ : market dominant factorsclose()close (and destroy) an opened channel with “close()”getSecurityMaster()get static security master dataPlease seeNotebook example -https://notebooks.azure.com/sparkexxa/projects/indexrt/html/index-rt.ipynbECI-190          -http://beta.exxablock.io/product/eciIndexCligetIndexConstituents() and getIndexConstituentsByTimeRange()access index constituent datagetMarketDominantFactors() and getMarketDominantFactorsByTimeRange()access market dominant factor dataRealTimeAnalyticFeedconnect()additional product class support‘M1’ : Relative Strength Index (RSI)close()close (and destroy) an opened channel with “close()”Please seeNotebook example -https://notebooks.azure.com/sparkExxa/projects/exxablock-realtime-analytic-fe/html/Analytics-rt.ipynbECA-100          -http://beta.exxablock.io/product/eciEtc.
Package: exxeleron-qPython
qPython is a Python library providing support for interprocess communication between Python and kdb+ processes, it offers:Synchronous and asynchronous queriesConvenient asynchronous callbacks mechanismSupport for kdb+ protocol and types: v3.0, v2.6, v<=2.5Uncompression of the IPC data streamInternal representation of data via numpy arrays (lists, complex types) and numpy data types (atoms)Supported on Python 2.7 and numpy 1.8For more details please refer to thedocumentation.InstallationTo install qPython from PyPI:$ pip install qpythonPlease do not use old PyPI package name: exxeleron-qpython.Building packageDocumentationqPython documentation is generated with help ofSphinxdocument generator.
In order to build the documentation, including the API docs, execute:make htmlfrom the doc directory.Documentation is built into the:doc/build/html/directory.Compile Cython extensionsqPython utilizesCythonto tune performance critical parts of the code.Instructions:Execute:python setup.py build_ext--inplaceBuild binary distributionInstructions:Execute:python setup.py bdistTestingqPython uses py.test as a test runner for unit tests.Instructions:Make sure that top directory is included in thePYTHONPATHExecute:py.testRequirementsqPython requires numpy 1.8 to run.Optional requirements have to be met to provide additional features:tune performance of critical parts of the code:Cython 0.20.1support serialization/deserialization ofpandas.Seriesandpandas.DataFramepandas 0.14.0run Twisted sample:Twisted 13.2.0build documentation via Sphinx:Sphinx 1.2.3mock 1.0.1Required libraries can be installed usingpip.To install all the required dependencies, execute:pip install-rrequirements.txtMinimal set of required dependencies can be installed by executing:pip install-rrequirements-minimal.txt
Package: exzlogger
ExzloggerExtremely Easy LoggerThis package is made to easily create logger that is suit for most of the situations, including following functions:automatically create "log" folder under the work directorythe log information will be displayed on stdout, and will also be stored in the .log fileallow user to set the information level for both stdout and log filenicely formatted log information, including the timestamp and information typeParametersstdout_level<str>: The log level to be used for stdout ('INFO', 'ERROR', 'DEBUG', or 'WARNING'), Defaults to 'INFO'.file_level<str>: The log level to be used for the log file ('INFO', 'ERROR', 'DEBUG', or 'WARNING'), Defaults to 'DEBUG'.log_file<str>: The path and name of the log file to write the log messages, defaults to 'logfile.log'.Returnslogger<logging.Logger>: The initialized logger instance.DependenciespathlibloggingsysUseage# Importsfromexzloggerimportinitialize_loggerlogger=initialize_logger(stdout_level='INFO',file_level='DEBUG',log_file='logfile.log')# Error & Debug (suggest to import traceback for debug)logger.error(f"[func_name]: error message<{e}>")logger.debug(f"[func_name]: error message<{e}>\n**********\n{traceback.format_exc()}**********")# Infologger.info(f"[func_name]: message")# Warninglogger.warning(f"[func_name]: warning message")
Package: eyantra-autoeval
eyantra-autoevalUsageNOTE: Check#3for generating result from the evaluator.ForSentinel Dronethemeeyantra-autoevalevaluate--year2022--themeSD--task0ForLuminosity Dronethemeeyantra-autoevalevaluate--year2023--themeLD--task0ForAstroTinker Botthemeeyantra-autoevalevaluate--year2023--themeAB--task0# Task 0eyantra-autoevalevaluate--year2023--themeAB--task2A# Task 2Aeyantra-autoevalevaluate--year2023--themeAB--task2B# Task 2BForCosmo Logisticthemeeyantra-autoevalevaluate--year2023--themeCL--task0# Task 0eyantra-autoevalevaluate--year2023--themeCL--task1A# Task 1Aeyantra-autoevalevaluate--year2023--themeCL--task1B# Task 1Beyantra-autoevalevaluate--year2023--themeCL--task1C# Task 1Ceyantra-autoevalevaluate--year2023--themeCL--task2A# Task 2Aeyantra-autoevalevaluate--year2023--themeCL--task2B# Task 2BForHolyglyph Botsthemeeyantra-autoevalevaluate--year2023--themeHB--task0
Package: eye
OverviewEye provides a browser-based UI to browse the contents of a ZODB database.It can browse “broken” ZODB objects, so you don’t have to have your
application code present in the Python environment to use the tool.It can also be used as a generic Python object browser.InstallationAt this point Eye has been tested on Python 2.6.Eye has a few dependencies. Therefore it’s recommended to install it in a
virtualenv or buildout to keep it isolated from other software on your system.Assuming you have virtualenv installed, the following commands will install Eye:$ virtualenv --no-site-packages eye
$ cd eye
$ bin/pip install eyeThis creates a new virtualenv in theeyedirectory, and installs theeyeconsole script into thebinsubdirectory.Basic usageInspect a ZODB filestorage$ bin/eye [path to Data.fs]Then open your browser tohttp://localhost:8080/Persistent objects are shown in blue; other objects included in the pickles of
persistent objects are shown in black.Inspect an arbitrary object>>> from datetime import datetime
>>> foo = datetime.now()
>>> import eye; eye.eye(foo)Similar toolszope2.zodbbrowser: Runs in Zope 2; provides a bit more app-specific info.zodbbrowser: Based on the Zope 3.4.0 KGS; displays historical object revisions.z3c.zodbbrowser: An apparently unfinished GSOC project; based on wxPython.CreditsThanks to:Roberto Allende and menttes. The initial inspiration and code is from their zope2.zodbbrowser.Jim Fulton for creating the ZODB.The creators of the WSGI tools used by Eye.The creators of the JQuery, JQuery UI, and Dynatree libraries.Elizabeth LeddyHanno SchlichtingChangelog1.0 - 2011-11-05Only serve on local network interface.
[davisagli]Remove non-functional paste.app_factory entry point.
[davisagli]Do our own traversal and rendering rather than depending on Pyramid.
[davisagli]Provide better representation of persistent BTree structures.
[hannosch]1.0b2 - 2011-03-19Work around issue with traversing objects with slashes in their key.
[davisagli]Handle case where objects providing interfaces not present in the Python
environment can’t be unpickled even into Broken objects.
[davisagli]Cast non-string dict keys into strings for the sake of traversal.
[davisagli]Handle case where inspect.getmembers hits an AttributeError.
[davisagli]Handle case where ZODB state is not a mapping.
[davisagli]Make it possible to browse ZODB BTrees (as long as they’re not too big,
anyway).
[davisagli]1.0b1 - 2011-03-19Initial release.
[davisagli]
Package: eyecatching
EyeCatchingThis project is to find where your eyes are looking at on a specific picture.Use git clone(1) install all required packagespip -r install requirements.txt(2) at the same level ofmain.pypython main.py(3) go to your browser forhttp://127.0.0.1:8000(4) Upload a picture with its name and points you want to see every time window(5) After your WebCam is on, look at the picture(6) You will see your face that indicates collection done, go tohttp://127.0.0.1:8000/plotUse pip installpip install eyecatchingthen in iPythonfrom eyecatching import main
main.main()ErrorsYou may seeinternal errorwhen go to the /plot page, that means you do not give the program enough catches, go back to main page, try to decrease the point per plot and try again.TipsYou can use different OpenCV, but opencv-python and opencv-contrib-python must have same version.AcknowledgementsInspired and refer to:https://github.com/LukeAllen/optimeyes.git
Package: eye-css
EYE CSSEye css is adynamic utility-first css librarywhich aims to be usable across every design project.
It is similar to tailwind css.Eye css is a dynamic and powerful css library to create truly dynamic styles while still simple to use and learn.Eye css is responsive, dynamic, detailed and familiar. Similar to tailwind css in both syntax and operation.Eye css can be used in small and large web projects. Eye css can be used with your single static html file, to dynamic
large web projects.Just download Eye css or install Eye css and letEyewatch your defined files for defined styles.It's as simple as that.How to use eye css:Installationpip install eye-cssCreate an eye_config.yml file and add the following:eye:input_directory:"./"input_extensions:"*.html"exclude_directory:".git"exclude_files:".gitignore"Remember to name the file: eye_config.ymlTo use it with a single javascript file or your favorite javascript library:eye:input_directory:"./"input_extensions:"*.html,*.js,*.jsx,*.ts,*.tsx"exclude_directory:".git"exclude_files:".gitignore"output_name:"watched_eye.css"Note that there is not space between the file extensions to parse
Next, Add "watched_eye.css" to the head tag of your base html file.<linkrel="stylesheet"href="watched_eye.css"/>Once installed,
run the following command in your terminalpython -m eye_css "path to eye_config.yml"Eye css will automatically watch and style your file once you make changes to the defined extensions from
eye_config.yml.Note: eye css will not automatically reload your browser or web page on file change,
it leaves that functionality to existing implementation of such. Examples:htmx, angular, react, vue, svelte and other
existing web frameworks.
Package: eyecu-bumblebee
BumblebeeBumblebee provides high level components to construct training pipelines for videos conveniently.InstallMotivationOur WebsitesExamplesA pipeline with basic elementsUsing Manager APIRead limited section of videoIterate frames with frame numbersIterate frames in batchesTeamLicenseInstallpip install eyecu_bumblebeeMotivationEverything should be made as simple as possible, but no simpler. - Albert EinsteinOur WebsitesEyeCU VisionEyeCU FutureExamplesA pipeline with basic elementsfrombumblebeeimport*if__name__=="__main__":video_path="/path/to/video.mp4"# Create a sourcefile_stream=sources.FileStream(video_path)# Add an effectgoto=effects.GoTo(file_stream)END_OF_VIDEO=file_stream.get_duration()goto(END_OF_VIDEO)# Create a datasetsingle_frame=datasets.Single(file_stream)last_frame=single_frame.read()Using Manager APIfrombumblebeeimport*if__name__=="__main__":# Create a training managermanager=managers.BinaryClassification(["path/to/video_dir","path/to/another_dir"],["path/to/labels"])number_of_epochs=300forepoch,(frame_no,frame,prob)inmanager(number_of_epochs):# Use data stuff...Read  limited section of videofrombumblebeeimport*if__name__=="__main__":video_path="/path/to/video.mp4"start_frame=35end_frame=40file_stream=sources.FileStream(video_path)limited_stream=effects.Start(file_stream,start_frame)limited_stream=effects.End(limited_stream,end_frame)single_frame=datasets.Single(file_stream)forframeinsingle_frame:...Iterate frames with frame numbersfrombumblebeeimport*if__name__=="__main__":video_path="/path/to/video.mp4"file_stream=sources.FileStream(video_path)single_frame=datasets.Single(file_stream)current_frame=effects.CurrentFrame(file_stream)forframe_ind,frameinzip(current_frame,single_frame):...Iterate frames in batchesfrombumblebeeimport*if__name__=="__main__":video_path="/path/to/video.mp4"batch_size=64file_stream=sources.FileStream(video_path)batch=datasets.Batch(file_stream)forframesinbatch:...TeamThis project is currently developed and maintained byovuruska.LicenseBumblebee has MIT license. You can find further details inLICENSE.