Saravanan666/pypi-org huggingface dataset:
Package: pyevonic
Evonic Fire API ClientAboutThis package allows you to control and monitor an Evonic Fire, over a local WebSocket connection.  It has been tested
with the Linnea, so other fires may or may not be compatibleInstallationpip install pyevonicUsageimportasynciofrompyevonicimportEvonicev=Evonic("192.168.1.190")asyncdefmain():awaitev.connect()awaitev.listen(callback=log)deflog(e):print(e.__dict__)if__name__=="__main__":asyncio.run(main())Available MethodsConnect to the WebSocket of an Evonic Fire.connect()Listen for events on the Evonic WebSocket.listen(callback=method)Disconnect from a WebSocketdisconnect()Control the main lighting for the Evonic Fire.light_power(cmd)Validcmdvalues:onofftoggleToggles the feature light of an Evonic Firetoggle_feature_light()Sets the brightness of each RGB stripset_light_brightness(rgb_id,brightness)rgb_idvalues can be found inDevice.info.modulesbrightnessmust be an integer from0to255Sets the animation speed of each RGB stripset_animation_speed(rgb_id,speed)rgb_idvalues can be found inDevice.info.modulesspeedmust be an integer from0to255Sets the heater temperature on an Evonic Fireset_temperature(temp)tempmust be an integer between50and90for fahrenheit, and10and33for celsiusControls the Heater for the Evonic Fire.heater_power(cmd)Validcmdvalues:onofftoggle
Package: pyevspace
PyEVSpace 0.14.2PyEVSpace is a Python Euclidean vector space package containing types
and methods for representing vector quantites and fasilitating rotating
them between reference frames. PyEVSpace is designed for 3-dimensional
space only, which allows for optimum speed since size checks do not
occur.DocumentationThe full documentation of this project with both Python and C APIs can
be foundhere.InstallThe python module can be installed withpipinstallpyevspaceAlternatively the repository can be downloaded or cloned using:gitclonehttps://github.com/qbizzle68/pyevspace.gitIt can be used as is within Visual Studio, or built inplace using thesetup.pyif needed.UsageTo use the module simply import the pyevspace module into your project:importpyevspaceasevsfrommathimportpivec=evs.Vector(1,2,3)rotatedVec=evs.rotateAxisTo(evs.X_AXIS,pi/2)Matrices can be created from iterables, where each iterable represents
a row of the matriximportpyevspaceasevsmat=evs.Matrix((0,0,1),(0,-1,0),(1,0,0))rotatedVec=evs.rotateMatrixFrom(mat,Vector(1,1,1))The Order and Angles types can be used to create an Euler rotation
matrix. All twelve Euler rotations are already defined in the module,
so you shouldn't need to instantiate an Order object. The Angles
object holds the angles for each rotation in the Euler rotation, in
the order of the axis rotations (in radians).importpyevspaceasevsangs=Angles(1.1,4.5,3.14)mat=getMatrixEuler(XYZ,angs)rotatedVec=mat*Vector(1,0,2)There are many methods that handle the rotations for you, check the
official documentation to learn more about them.ExamplesExamples of numeric operatorsv1=Vector(1,2,3)v2=Vector(4,5,6)print(v1*2)# prints [2, 4, 6]print(v1+v2)# prints [5, 7, 9]print(v1-v2)# prints [-3, -3, -3]Examples of vector and matrix operatorsv1=Vector(1,2,3)v2=Vector(4,5,6)m1=Matrix(Vector(4,2,3),Vector(8,5,2),Vector(4,2,1))print(dot(v1,v2))# prints 32.0print(cross(v1,v2))# prints [ -3.00000, 6.00000, -3.00000 ]print(det(m1))# prints -8.0print(transpose(m1))# prints# ([4, 2, 3],# [8, 5, 2],# [4, 2, 1])LicenseMIT
Package: pyev-static
==============================pyev - Python libev interface.==============================CI status: |cistatus|libev is an event loop: you register interest in certain events (such as a filedescriptor being readable or a timeout occurring), and it will manage theseevent sources and provide your program with events.To do this, it must take more or less complete control over your process (orthread) by executing the event loop handler, and will then communicate eventsvia a callback mechanism.You register interest in certain events by registering so-called event watchers,which you initialise with the details of the event, and then hand over to libevby starting the watcher.libev supports ``select``, ``poll``, the Linux-specific ``epoll``, theBSD-specific ``kqueue`` and the Solaris-specific ``event port`` mechanisms forfile descriptor events (``Io``), the Linux ``inotify`` interface (for``Stat``), Linux ``eventfd``/``signalfd`` (for faster and cleanerinter-thread wakeup (``Async``)/signal handling (``Signal``)),relative timers (``Timer``), absolute timers (``Periodic``),timers with customised rescheduling (``Scheduler``), synchronous signals(``Signal``), process status change events (``Child``), and eventwatchers dealing with the event loop mechanism itself (``Idle``,``Embed``, ``Prepare`` and ``Check`` watchers) as wellas file watchers (``Stat``) and even limited support for fork events(``Fork``).It also is quite `fast <http://libev.schmorp.de/bench.html>`_.libev is written and maintained by Marc Lehmann... seealso::`libev's homepage <http://software.schmorp.de/pkg/libev>`_.Useful links:- `Latest release <http://pypi.python.org/pypi/pyev/>`_- `Documentation <http://packages.python.org/pyev/>`_- `Bug reports and feature requests<http://code.google.com/p/pyev/issues/list>`_`pyev's source code <http://pyev.googlecode.com/>`_ is currently hosted by`Google code <http://code.google.com/>`_ and kept in a`Subversion <http://subversion.apache.org/>`_ repository.- `Subversion instructions <http://code.google.com/p/pyev/source/checkout>`_- `Subversion browser <http://code.google.com/p/pyev/source/browse/>`_.. |cistatus| image:: https://secure.travis-ci.org/blackwithwhite666/pyev.png?branch=master
Package: pyEVT
pyEVT: EventExchangerDisclaimer:Code to communicate with the hardware the University of Groningen,
faculty of Behaviour and Social Sciences, department of Research Support developed.Code Written by Eise Hoekstra and Mark M. Span, Maintained by Mark M. SpanUsage:Rewrite from 0.99.14: pure python implementation using HIDAPIhttps://pypi.org/project/hidapi/
Package: py-ewf-mount
pyEWFmountA python cli wrapper script for mounting ewf filesInstallationInstall requirement ewfmountInstall libewf with pacman:sudo pacman -S libewfor ewf-tools with apt:sudo apt install ewf-toolsInstall requirement dislocker:Install dislocker from GitHub:git clone https://github.com/Aorimn/dislocker
cd dislocker
cmake .
make dislocker-fuse;
sudo make installInstall pyEWFmountpip3 install py_ewf_mountUsageTypepyEWFmount --helporpyMountEWF --helpto view the help.pyEWFmount by Florian Wahl, 03.08.2020

usage: pyMountEWF [-h] [-i INPUT] [-o OUTPUT]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        path to a EWF file which should be mounted
  -o OUTPUT, --output OUTPUT
                        Specify the name of the mounted directory (default: /mnt/YYYY.MM.DD_hh.mm)Example$ sudo pyMountEWF -i forensic_image.E01
pyEWFmount by Florian Wahl, 02.08.2020

[+] ewf file mounted to "/mnt/2020.08.03_18.49/.ewf"
[+] Select Partition to mount:
Disk /dev/loop6: 1011 MiB, 1060110336 bytes, 2070528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x24677b2d

Device       Boot Start     End Sectors  Size Id Type
/dev/loop6p1       2048 2070527 2068480 1010M  7 HPFS/NTFS/exFAT

select number of partition (0 for complete disk) [1] >
[+] selected partition "/dev/loop6p1"
Bitlocker Recovery Key (if encrypted otherwise empty) > 493625-443036-224400-065417-708741-624547-702218-359777
Mount in readonly mode (y/n) [y]: y
Mount as NTFS filesystem (y/n) [y]: y
[+] Partition 1 was mounted under "/mnt/2020.08.03_18.49/partition_1_decrypted"

Press ENTER to mount another partition
Package: pyewts
Python Tibetan Unicode to Wylie (EWTS) ConverterDescription•Installation•Examples•Changes•License•Maintenance•OwnerDescriptionThe goal of this code is to provide a library to convert back and forth between Tibetan Unicode andEWTS. The code is adapted from Javaewts-converter.It also provides a conversion from theACIP Transliterationto EWTS.InstallationpipinstallpyewtsExamplesConvert Wylie to Unicodeimportpyewtsconverter=pyewts.pyewts()print(converter.toUnicode("ba b+ba [a] ba\\u0f0b"))# བ་བྦ་a་བ་Convert Unicode to Wylieprint(converter.toWylie("༼༽"))# ()Catch Wylie warnings>>>orig="""dangs... zhwa... dwang... rma... tshe... phywa... dge... rgya... dwags... (rtse mgron)""">>>>>>print(orig)dangszhwadwangrmatshephywadgergyadwags(rtsemgron)>>>warns=[]>>>res=converter.toUnicode(orig,warns)>>>print(res)དངསཞྭདྭངརྨཚེཕྱྭདགེརྒྱདྭགས༼རྩེ་མགྲོན༽>>>print(warns)['line 1: "dangs": Syllable should probably be "dngas".']Seedemo.pyChangesSeeCHANGELOG.md.LicenseThe Python code is Copyright (C) 2018 Esukhia, provided underMIT License. SeeCONTRIBUTORS.mdfor a list of authors and contributors.MaintenanceBuild the source dist:rm -rf dist/
python3 setup.py clean sdistand upload on twine (version >=1.11.0) with:twine upload dist/*Owner@eroux
Package: pyexam
pyexamA Python package and CLI application to convert simple YAML documents to LaTeX and PDF exams. You can use custom templates to change the visual design of the exam or even export it to a new format.SetupInstall a LaTeX distribution and make surelatexmkis set in your system path.pipinstallpyexamUsageYou need to define an YAML file for each exam. Here's a minimal example:name: CS 101
header: |
  Name: \rule{4in}{.4pt} \quad Student I.D.:\enspace\hrulefill
  \vspace{.4in}
# sections: []
questions:
  - type: long-answer
    text: Who developed Python?
    lines: 1.5cm
    answer: Guido van Rossum
  - type: fill-in
    text: The Go language was developed at \fillin[Google].
  - type: multiple-choice
    text: Which of the following programming languages is interpreted?
    options:
      - text: R
        correct: yes
      - text: C++For a more complete example with the full schema, check theexample documentand try the following commands:# Export exampython-mpyexam-iexamples/cs-101-exam.yml-fpdf-oexamples/output-exam# Export exam solutionpyexam-iexamples/cs-101-exam.yml-fpdf-oexamples/output-exam-solution-s# All argumentspyexam[-h]-iFILE[-oOUT][-tTEMPLATE][-s|--solution|--no-solution][-f{latex,pdf}][-lLEVEL]optionalarguments:-h,--helpshowthishelpmessageandexit-iFILE,--input-fileFILE-oOUT,--output-dirOUT-tTEMPLATE,--template-dirTEMPLATE-s,--solution,--no-solution-f{latex,pdf},--format{latex,pdf}-lLEVEL,--log-levelLEVELThe final result will look like this:You can also import this package to use in your own Python code, as demonstrated intests. Some new possible features include generating exams from a question bank or randomize the questions to produce multiple exam versions.Beware that all input is trusted to increase customizability and keep the code simpler, you should sanitize the input for unstrusted clients.
Package: pyexasol
Exasol driver with low overhead, fast HTTP transport and compression. It is implemented in Python 3.6+.Main features:Based on WebSocket protocol;Optimized for minimum overhead;Easy integration with pandas via HTTP transport;Compression to reduce network bottleneck;PyEXASOL does not follow DB-API 2.0 in favor of Exasol-specific features.Please read "Best practices" manual page to learn how to use PyEXASOL with maximum efficiency.
Package: pyEX.caching
# pyEX-caching
Library for caching and querying IEX market and reference data using either SQLAlchemy or kdb+.[![Build Status](https://travis-ci.org/timkpaine/pyEX-caching.svg?branch=master)](https://travis-ci.org/timkpaine/pyEX-caching)
[![Coverage](https://codecov.io/gh/timkpaine/pyEX-caching/branch/master/graph/badge.svg)](https://codecov.io/gh/timkpaine/pyEX-caching)
[![BCH compliance](https://bettercodehub.com/edge/badge/timkpaine/pyEX-caching?branch=master)](https://bettercodehub.com/)
[![License](https://img.shields.io/github/license/timkpaine/pyEX-caching.svg)](https://pypi.python.org/pypi/pyEX-caching/)
[![PyPI](https://img.shields.io/pypi/v/pyEX-caching.svg)](https://pypi.python.org/pypi/pyEX-caching/)
[![Docs](https://readthedocs.org/projects/pyex/badge/?version=latest)](https://pyex.readthedocs.io/en/latest/?badge=latest)## Attribution
If you redistribute our API data:Cite IEX using the following text and link: “Data provided for free by [IEX](https://iextrading.com/developer).”Provide a link tohttps://iextrading.com/api-exhibit-ain your terms of service.Additionally, if you display our TOPS price data, cite “IEX Real-Time Price” near the price.## IEX Cloud attribution
[Powered by IEX Cloud](https://iexcloud.io)# Getting Started[Read The Docs!](https://pyEX-caching.readthedocs.io)
Package: pyExcelerator
pyExcelerator  is a   library  for  generating  Excel  97/2000/XP/2003  and
OpenOffice    Calc   compatible     spreadsheets.     pyExcelerator     has
full-blown   support   for  UNICODE  in Excel and Calc spreadsheets, allows
using variety of formatting features,   provides   interface   to  printing
options   of   Excel   and OpenOffice  Calc.  pyExcelerator  contains  also
Excel BIFF8 dumper and MS compound  documents  dumper.  Main  advantage  is
possibility  of generating Excel  spreadsheets  without  COM  servers.  The
only requirement – Python 2.4b2 or higher.
From version 0.5 pyExcelerator can import data from Excel spreadsheets.
Package: pyexcelios
openpyxlopenpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files.It was born from lack of existing library to read/write natively from Python
the Office Open XML format.All kudos to the PHPExcel team as openpyxl is based on PHPExcelhttp://www.phpexcel.net/Mailing ListOfficial user list can be found onhttp://groups.google.com/group/openpyxl-usersSample code:from openpyxl import Workbook
wb = Workbook()

# grab the active worksheet
ws = wb.active

# Data can be assigned directly to cells
ws['A1'] = 42

# Rows can also be appended
ws.append([1, 2, 3])

# Python types will automatically be converted
import datetime
ws['A2'] = datetime.datetime.now()

# Save the file
wb.save("sample.xlsx")Official documentationThe documentation is at:http://openpyxl.readthedocs.orginstallation methodscode examplesinstructions for contributingRelease notes:http://openpyxl.readthedocs.org/en/latest/changes.html
Package: pyexcelize
pyexcelizeIntroductionCreating formatting in Python when outputting to Excel can be tedious. Usually, you will want to write the formatting in Excel and then just output the data.
It is a good idea to use OpenPyXL when working with Excel in Python. However, OpenPyXL uses a very large amount of memory.
OpenPyXL is not suitable for writing data to a loaded Excel. However, there is a library in the Go language called excelize that is suitable for writing data.
pyexcelize wraps Go's excelize and makes it usable.Installationpip install pyexcelizeBasic Usage## Create New Fileindex=pe.new_file()## Save as Filepe.save_as(index,'__tmp/test.xlsx')## Close Workbookpe.close(index)## Open Exist Excel fileindex=pe.open_file('./__tmp/test.xlsx')## Create New Sheetnew_sheet=pe.new_sheet(index,'Sheet2')## Copy New Sheetto_sheet=pe.copy_sheet(index,1,new_sheet)## Set Active Sheetpe.set_active_sheet(index,new_sheet)## Delete Sheetpe.delete_sheet(index,'Sheet1')## Set Cell Valuepe.set_cell_int(index,"Sheet2","A1",1)pe.set_cell_int(index,"Sheet2","A2",2)pe.set_cell_int(index,"Sheet2","A3",3)pe.set_cell_str(index,"Sheet2","A4","hello")## Get Cell Valuepe.get_cell_value(index,"Sheet2","A1")pe.get_cell_value(index,"Sheet2","A2")pe.get_cell_value(index,"Sheet2","A3")pe.get_cell_value(index,"Sheet2","A4")## Get Cell Stylestyle_index=pe.get_cell_style(index,"Sheet2","A1")## Copy Cell Stylepe.set_cell_style(index,"Sheet2","A2","A2",style_index)## Save Updatepe.save(index)pe.close(index)Stream Writer with Template xlsx.If you don't use Stream Writer, it will use more than 2GB of memory.Stream Writer will only consume less than 100MB of memory.index=pe.open_file('./tests/template.xlsx')writer_index=pe.new_stream_writer(index,"Sheet1")headers=["employee name","company","salary",]pe.set_row(writer_index,"A1",headers)forrowinrange(2,500000):params=[fake.name(),random.choice(["Google","Microsoft","Apple","Toyota","Meta"]),random.randint(10000,10000000),]pe.set_row(writer_index,f"A{row}",params)pe.add_table(writer_index,"A1","C499999",dict(table_name="テーブル1",table_style="TableStyleMedium2",show_first_column=True,show_last_column=True,show_row_stripes=True,show_column_stripes=False,))pe.flush(writer_index)pe.save_as(index,'./__tmp/output.xlsx')pe.close(index)
Package: pyexcel-pdfr
Support the projectIf your company has embedded pyexcel and its components into a revenue generating
product, please support me on github,patreonorbounty sourceto maintain
the project and develop it further.If you are an individual, you are welcome to support me too and for however long
you feel like. As my backer, you will receiveearly access to pyexcel related contents.And your issues will get prioritized if you would like to become my patreon aspyexcel pro user.With your financial support, I will be able to invest
a little bit more time in coding, documentation and writing interesting posts.Introductionpyexcel-pdfrdoes Read tables in pdf files usingcamelotfor pyexcel community. Please note it works on python 3.6+ only.It reads only phyical files and does not read io streams, not a URL.InstallationYou can install pyexcel-pdfr via pip:$pipinstallpyexcel-pdfror clone it and install it:$gitclonehttps://github.com/pyexcel/pyexcel-pdfr.git$cdpyexcel-pdfr$pythonsetup.pyinstallDevelopment guideDevelopment steps for code changesgit clonehttps://github.com/pyexcel/pyexcel-pdfr.gitcd pyexcel-pdfrUpgrade your setup tools and pip. They are needed for development and testing only:pip install –upgrade setuptools pipThen install relevant development requirements:pip install -r rnd_requirements.txt # if such a file existspip install -r requirements.txtpip install -r tests/requirements.txtOnce you have finished your changes, please provide test case(s), relevant documentation
and update CHANGELOG.rst.NoteAs to rnd_requirements.txt, usually, it is created when a dependent
library is not released. Once the dependecy is installed
(will be released), the future
version of the dependency in the requirements.txt will be valid.How to test your contributionAlthoughnoseanddoctestare both used in code testing, it is adviable that unit tests are put in tests.doctestis incorporated only to make sure the code examples in documentation remain valid across different development releases.On Linux/Unix systems, please launch your tests like this:$ makeOn Windows systems, please issue this command:> test.batBefore you commitPlease run:$ make formatso as to beautify your code otherwise travis-ci may fail your unit test.LicenseNew BSD LicenseChange log0.6.0 - 11.10.2020updatedread tabular data out from pdf format in python 3.6+ with camelot-py0.5.0-rc1 - 14.03.2019first releaseread tabular data out from pdf format
Package: pyexcel-pygal
Support the projectIf your company has embedded pyexcel and its components into a revenue generating
product, pleasesupport me on patreonto
maintain the project and develop it further.If you are an individual, you are welcome to support me too on patreon and for however long
you feel like. As a patreon, you will receiveearly access to pyexcel related contents.With your financial support, I will be able to invest
a little bit more time in coding, documentation and writing interesting posts.Introductionpyexcel-pygaldraw simple svg chart via pygal.InstallationYou can install pyexcel-pygal via pip:$pipinstallpyexcel-pygalor clone it and install it:$gitclonehttps://github.com/pyexcel-renderers/pyexcel-pygal.git$cdpyexcel-pygal$pythonsetup.pyinstallDevelopment guideDevelopment steps for code changesgit clonehttps://github.com/pyexcel/pyexcel-pygal.gitcd pyexcel-pygalUpgrade your setup tools and pip. They are needed for development and testing only:pip install –upgrade setuptools pipThen install relevant development requirements:pip install -r rnd_requirements.txt # if such a file existspip install -r requirements.txtpip install -r tests/requirements.txtOnce you have finished your changes, please provide test case(s), relevant documentation
and update CHANGELOG.rst.NoteAs to rnd_requirements.txt, usually, it is created when a dependent
library is not released. Once the dependecy is installed
(will be released), the future
version of the dependency in the requirements.txt will be valid.How to test your contributionAlthoughnoseanddoctestare both used in code testing, it is adviable that unit tests are put in tests.doctestis incorporated only to make sure the code examples in documentation remain valid across different development releases.On Linux/Unix systems, please launch your tests like this:$ makeOn Windows systems, please issue this command:> test.batHow to update test environment and update documentationAdditional steps are required:pip install mobangit clonehttps://github.com/moremoban/setupmobans.git# generic setupgit clonehttps://github.com/pyexcel/pyexcel-commons.gitcommonsmake your changes in.moban.ddirectory, then issue commandmobanWhat is pyexcel-commonsMany information that are shared across pyexcel projects, such as: this developer guide, license info, etc. are stored inpyexcel-commonsproject.What is .moban.d.moban.dstores the specific meta data for the library.Acceptance criteriaHas Test cases writtenHas all code lines testedPasses all Travis CI buildsHas fair amount of documentation if your change is complexPlease update CHANGELOG.rstPlease add yourself to CONTRIBUTORS.rstAgree on NEW BSD License for your contributionLicenseNew BSD LicenseChange log0.0.2 - 22.10.2017Updated: add license file in tar ball0.0.1 - 04.07.2017Initial release