Saravanan666/pypi-org huggingface dataset:
Package: pyeet
Pyeet! Yeet All the Python!Pyeet is a general-purpose language to embed asynchronous Python in ALL your files.Pyeet takes the source from FILE and compiles it to a Python module, then runs it.Sourcecontent......compiledintoPython-----------------------------------------{~# Welcome to Pyeet! #>                # Welcome to Pyeet!😊print("😊"){~~text="Hello, World!"text="Hello, World!"~~}{~=text=~}print(text){~~forxin[99,98,97]:forxin[99,98,97]:printf"{x}bottles of beer…"printf"{x}bottles of beer…"fromdatetimeimportdatetimefromdatetimeimportdatetimenow=datetime.now()now=datetime.now()~~}Thetimeis{~=now()=~}print("The time is ",now,sep='')InstallationInstallation with pip:$pipinstallpyeetUsageusage: python -m pyeet [-h] [--dump] FILE

positional arguments:
  FILE        Source file with Pyeet tags

optional arguments:
  -h, --help  show this help message and exit
  --dump      Dump generated python moduleExamplesInsert the current date and time into PostScriptPostScript sadly doesn't have any function that can get the current time.  We can fix that!In the repo there is atestsfolder that contains the following file:current_date_and_time_in_postscript.ps%!PS%595842scale/Times-Romanfindfont20scalefontsetfontnewpath70750moveto{~~fromdatetimeimportdatetime~~}/({~=datetime.now()=~})showWe can usepyeetandgs(ghostscript) to render our source with the current time:$python-mpyeettests/current_date_and_time_in_postscript.ps\|gs-sDEVICE=png16m-sOutputFile=tests/current_date_and_time_in_postscript.png-The result:If you're curious, you can dump the compiled Python source using the--dumpargument:$python-mpyeet--dumptests/current_date_and_time_in_postscript.psprint('%!PS')print('% 595 842 scale')print('/Times-Roman findfont')print('20 scalefont')print('setfont')print('newpath')print('70 750 moveto')fromdatetimeimportdatetimeprint('/(',datetime.now(),') show',sep='')
Package: pyee-topics
pyee======.. image:: https://travis-ci.org/eagleamon/pyee-topics.png:target: https://travis-ci.org/eagleamon/pyee-topicspyee supplies an ``EventEmitter`` object similar to the ``EventEmitter``from Node.js.There is also the possibility to use mqtt topic patterns to match eventsExample:--------::In [1]: from pyee import EventEmitterIn [2]: ee = EventEmitter()In [3]: @ee.on('event')...: def event_handler():...:     print 'BANG BANG'...:In [4]: ee.emit('event')BANG BANGIn [5]:In [6]: ee.on('a/+/c', lambda ...)Easy-peasy.Installation:-------------::sudo pip install pyeeMethods:--------**ee.on(event, f=None)**: Registers the function ``f`` to the event name``event``. Example::ee.on('data', some_fxn)If ``f`` is not specified, ``ee.on`` returns a function that takes ``f`` as acallback, which allows for decorator styles::@ee.on('data')def data_handler(data):print data**ee.emit(event, *args, **kwargs)**: Emits the event, calling the attached functionswith ``*args``. For example::ee.emit('data', '00101001')This will call ``data('00101001')'`` (assuming ``data`` is an attached function).Returns ``False`` if no functions are attached to handle the emission (otherwise ``True``).**ee.once(event, f=None)**: The same as ``ee.on``, except that the listeneris automatically removed after it's called.**ee.remove_listener(event, fxn)**: Removes the function ``fxn`` from ``event``.Requires that the function is not closed over by ``ee.on`` (using this with thedecorator style is unfortunately not possible).**ee.remove_all_listeners(event)**: Removes all listeners from ``event``.**ee.listeners(event)**: Returns the array of all listeners registered tothe given ``event``.(Special) Events:-------**"new_listener"**: Fires whenever a new listener is created. Listeners for thisevent do not fire upon their own creation.**"error"**: When emitted raises an Exception by default, behavior can be overriden byattaching callback to the event. For example::@ee.on('error')def onError(message):logging.err(message)ee.emit('error', Exception('something blew up'))Tests:------::nosetestsLicense:--------MIT.
Package: pyefergy
pyefergyPython API client for Efergy.Installationpython3-mpipinstallpyefergyExample usageMore examples can be found in thetestsdirectory."""Example usage of pyefergy."""importasynciofrompyefergyimportEfergyTOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"OFFSET="America/New_York"# Accepts either a time zone or literal offsetasyncdefasync_example():"""Example usage of pyefergy."""api=Efergy(TOKEN,utc_offset=OFFSET)asyncwithapi:print(awaitapi.async_get_reading("instant_readings"))asyncio.get_event_loop().run_until_complete(async_example())ContributeAllcontributions are welcome!Fork the repositoryClone the repository locally and open the devcontainer or use GitHub codespacesDo your changesLint the files withmake lintEnsure all tests passes withmake testEnsure 100% coverage withmake coverageCommit your work, and push it to GitHubCreate a PR against themasterbranch
Package: pyeffects
pyEffectsMonads for Python.  Side-effect explicitly.Handle your side-effects in Python like a boss.  Implements functional types for Either, Option, Try, and Future.For more detailed information, please refer to theAPI Documentation.1. Installpip install pyeffects2. Using Option>>>frompyeffects.Optionimport*>>>val=Some(5).map(lambdav:v*v)>>>valSome(25)>>>val.is_defined()True>>>val.get()253. Using Try>>>frompyeffects.Tryimport*>>>val=Success(5).map(lambdav:v*v)>>>valSuccess(25)>>>val.is_success()True>>>val.get()254. Using Either>>>frompyeffects.Eitherimport*>>>val=Right(5).map(lambdav:v*v)>>>valRight(25)>>>val.is_right()True>>>val.right()255. Using Future>>>frompyeffects.Futureimport*>>>val=Future.of(5).map(lambdav:v*v)>>>valFuture(Success(25))>>>val.on_complete(lambdav:print(v))Success(25)>>>val.get()256. Reporting an IssuePlease report any issues or bugs to theGithub issues page.7. LicenseThis project is licensed under theApache 2 License.
Package: pyefriend
pyefriendpython을 이용하여 한국투자증권 OpenAPI에 연동하여 트레이딩이 가능한 모듈입니다.eFriendPy를 참고하여 만든 코드를 재해석하여 구성하였습니다.Table of contentsWarningRequirementsGetting startedRebalancingProcessETCLinksWarningpyefriend, rebalancing 코드는 개인 투자 목적으로 사용하거나 스터디 용도로만 사용하실 수 있습니다.pyefriend는한국투자증권 Expert 표준 API Reference Guide(2021-11-09 업데이트))를
참고하여 작성하였습니다.pyefriend 코드는 Window 환경에서만 작동합니다.(Window 10에서 개발 진행)한국투자증권 공식홈페이지에서 OpenAPI 신청 후 eFriend Expert를 다운받아관리자 권한으로 실행해야 정상 작동합니다.Python 3의 32bit 버전에서만 정상 작동합니다.python3.x-32bit를 공식홈페이지에서 설치한 후 해당 python을 통해 가상환경(virtualenv)를 구성하여 설치하는 것을 권장합니다.Python도 마찬가지로관리자 권한으로 실행해야 합니다.cmd를 관리자 권한으로 실행한 후 가상환경을 활성화한 후 실행(jupyter notebook)Pycharm을 사용할 경우 Pycharm을 관리자 권한으로 실행한 뒤 Terminal에서 실행 가능합니다.RequirementsversionPyQt55.15.6pywinpty<1,>=0.5jupyter1.0.0notebook6.4.5ipython7.29.0numpy1.21.4pandas1.3.4sqlalchemy1.4.26Getting startedpipinstallpyefriendRebalancingpyefriend를 활용하여 투자 리밸런싱을 진행하는 모듈입니다.config.yml 에서 계정Processrefresh: DB 주식 시세 최신화planning: 매수, 매도 수량 책정re-balance: 현재 수량과 비교하여 주문visualize:ETC국민연금 포트폴리오LinksPypiGithubGithub blog
Package: pyefun
pyefun (易函数)为 python 提供易用的中文函数类库，完整的封装了易语言核心支持库所有功能，和简单实用的函数，有效提高开发效率，pyefun 将打造为是一款模块化、高性能、企业级的 python 基础开发框架易函数的愿景愿世界上没有难用的编程语言为了抹平不同编程语言之间的差异使中国人，可以快速上手对应编程语言的软件开发，主要工作不在于翻译各个编程语言的类库，而是将最实用的功能通过汉语文字直观地表现出来，符合中国人的思维逻辑以开源，开放，合作，共赢的姿态，迎接中文编程开发者的反哺，易函数的使用者，最终会变成易函数的开发者，持续贡献优秀的代码，形成良好的循环易函数的优势兼容所有系统的 python 运行环境WindowMacOSLinuxUbuntuCentos全中文函数名和注释以易语言核心支持库，火山类库，精易模块等命名风格降低使用门槛企业级实用功能类库，涵盖所有技术领域应用（深度学习，图像处理，文字处理，自动化测试），全面简化 python 开发和学习的门槛所有命令通过测试用例100% 放心使用，查看测试用例后立即上手使用已经开发 go语言(goefun) python语言(pyefun) 未来主流的编程语言都能拥有易函数如（ java语言(javaefun)，c#，c++，php，js）一键编译，轻松发布应用跨平台应用使用最新的技术 Qt构建视窗软件，在Qt视窗设计器中配有完整的开发生态，全中文的组件和函数，一套代码多端运行。精易论坛安装正式版本 定期更新pip install pyefun升级 pyefunpip install --upgrade pyefun安装最新版 如有bug请及时反馈git clone https://github.com/duolabmeng6/pyefun.git
cd pyefun
python setup.py install卸载pip uninstall pyefun
Package: pyegctl
pyegctlThis is a python version of utility egctl published by Vitaly Sinilin.Original project link:https://github.com/unterwulf/egctlMany thanks to you!Installationpip install pyegctlExample usagefrompyegctl.deviceimportEGV21pdu=EGV21('192.168.1.111',5000,password='p4ss')pdu.set(['on','on','left','toggle'])assertpdu.status()[0]=='on'Supported devicesCurrently only V21 protocol is supported.
Package: pyegeria
pyegeria: a python client for EgeriaThis is an experimental package for easily using the Egeria
open metadata environment from python. Details about the
open source Egeria project can be found atEgeria Project.This package is in active development. There is initial
support for Egeria's platform services and configuration of Open Metadata and Governance servers
along with some basic utilities.
Next will be additional support to configure and operate servers, followed
by glossary support.The code is organized to mimic the existing Egeria Java Client structure.All feedback is welcome. Please engage via ourcommunity,
team calls, or via github issues in this repo. If interested in contributing,
you can engage via the community or directly reach out todan.wolfson@pdr-associates.com.This is a learning experience.License:CC BY 4.0,
Copyright Contributors to the ODPi Egeria project.
Package: pyEGPS
PyEGPSPython library for controllingEnergenie powerstrips.This library is meant to be used withHome Assistantcomponents.Installation:pip install pyegpsMake sure the user has the necessary rights to access the device. E.g.:
find your device with:lsusb#e.g.: Bus 001 Device 005: ID 04b4:fd15 Cypress Semiconductor Corp. Energenie EG-PMS2sudoecho'SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd15", MODE="0666"'>/lib/udev/rules.d/60-energenie-usb.rules
sudoudevadmcontrol--reload-rules
sudoudevadmtriggerCommand Line Interace (CLI)For help, see:python3 -m pyegps --helpAcknowledgmentThanks go to the author of 'pysispm' for figuring out which HID-Reports are used for communicating with the device:https://github.com/xypron/pysispm
Package: pyegrep
pyegrepPyegrep is a very similar package to Grep(on linux) in pythonRaw usefrompyegrep.grepsimportgrep_serviceparams={"before":2,"after":3,"patterns":["xyz"],"address":file_address,"hide_colors":True,"max_line_numbers":1000,"is_regex":False,"is_case_sensitive":False,}output=grep_service.grep(params)print(output)InstallationTo install pyegrep, simply:$pipinstallpyegrepOn Debian systems:comingsoon...
Package: pyegt
pyegtEllipsoid-relative geoid and tidal model height lookupIan Nesbitt, NCEAS-UCSBpyegtis an open source program developed byNCEASto look up the geoid, tidal, or geopotential model height above the ellipsoid
in order to convert model-referenced heights to ellipsoid height (i.e.
compatible withCesium) and vice-versa.AboutThe following figure demonstrates the difference between geoid, ellipsoid,
and topographic ground surface:The figure shows a diagram with a conceptual model of ellipsoid heighth, geoid
heightH, and height of geoid relative to ellipsoidNalong with topographic surface (grey).Ellipsoidal height (h) is generally used in global projections such as
Cesium due to its small digital footprint and ease of calculation relative
to systems based on gravity or geopotential height. However, gravity and
tides are influenced by local differences in Earth's density and other
factors. Therefore some projects prefer reference systems that use height
referenced to a geoid or tidal model (H) which provides a much easier
framework to understand height relative to, for example, modeled mean sea
level or sea level potential. Converting fromHtohrequires
knowing the height difference between the geoid and the ellipsoid (N).
Conversion is then a simple addition of these values (H + N = h).Usage>>>frompyegt.heightimportHeightModel>>>h=HeightModel(lat=44.256616,lon=-73.964784,from_model='GEOID12B')>>>repr(h)HeightModel(lat=44.256616,lon=-73.964784,from_model='GEOID12B',region='None')->-28.157meters>>>float(h)-28.157>>>h.in_feet_us_survey()-92.37842416572809
Package: pyehik
pyehikFree software: MIT licenseDocumentation:https://pyehik.readthedocs.io.Source Code:https://efossils.somxslibres.net/fossil/user/bit4bit/repository/pyehik/indexFeaturesA lot functiones implemented.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-07-09)First release on PyPI.
Package: pyehm
Python Efficient Hypothesis Management (PyEHM)PyEHM is a Python package that includes open-source implementations of the Efficient Hypothesis Management (EHM)
Algorithms described in [1], [2] andcovered by the patent[3].[1] Maskell, S., Briers, M. and Wright, R., 2004, August. Fast mutual exclusion. In Signal and Data Processing of
Small Targets 2004 (Vol. 5428, pp. 526-536). International Society for Optics and Photonics[2] Horridge, P. and Maskell, S., 2006, July. Real-time tracking of hundreds of targets with efficient exact JPDAF
implementation. In 2006 9th International Conference on Information Fusion (pp. 1-8). IEEE[3] Maskell, S., 2003, July. Signal Processing with Reduced Combinatorial Complexity. Patent Reference:0315349.1DocumentationPlease see thePyEHM documentationfor installation instructions, API references and
usage examples.LicensePyEHM is licenced under Eclipse Public License 2.0. SeeLicensefor more details.This software is the property ofQinetiQ Limitedand any requests for use of the
software for commercial use or other use outside of the Eclipse Public Licence should be made to QinetiQ Limited.The current QinetiQ contact is Richard Lane (rlane1 [at] qinetiq [dot] com).
Package: pyehub
PyHubA program to solve an energy hub model in Python.RequirementsPython 3.7.3pip for Python 3.7.3GLPKor another solver supported by PyLPRunning a ModelTo run a energy hub model, use theGeneral_input.xlsxfile to enter your data.
The datamustbe in the same format.Check theconfig.yamlfile to see if the input file and output file is where
you want to load and output the results of the model respectively.While inside theconfig.yamlfile, be sure to set the settings for using a
specific solver that is installed on your system.
The default one isglpkwith some options, but you can set it to any other
solver that is supported by PyLP.Once you have configured theconfig.yamlfile, run:python run.pyto solve the model.
The results should be in the file you specified inconfig.yaml.DevelopmentInstallationTo install PyHub, either pip install PyEHub
or download the repo and its requirements directly.Pip installing PyEHub:pip install pyehubDownload the repo:git clone https://gitlab.com/energyincities/python-ehubInstall the libraries needed for PyEHub to run:pip install -r requirements.txtAlso install GLPK or another Pulp supporting solver.
Can be foundhere.
Windows installation instructionshereEdit theconfig.yamlfile to use a selected solver.Run therun.pyscript to see if everything works.python run.pyDocsCan be foundhere.ContributingFeatures/Bug fixesIf you are fixing a bug or making a new feature, first get the lastest master branch.git checkout master
git pullThen create your own branch for you to work on:git branch <your-branch-name>
git checkout <your-branch-name>Once you are done, please submit a pull request.
Package: pyeigenisolve
pyeigenisolveA few iterative sparse matrix solvers written with Eigen, and python bindings.In order to install you need a modern C++ compiler and openmp.License stuffEigen-3.4.0 is MPL-2.0 licensed. The original source code, available athttps://eigen.tuxfamily.org/index.php?title=Main_Pagewas modified in the following ways:Files and directories not necessary for this program were removed.The LSQR implementation is Apache-2.0 licensed. The original source code, available athttps://github.com/harusametime/LSQRwithEigen/tree/1921c44c65b5e26f3a6958c8277704cc33ffd101was modified in the following ways:Only the code from LSQR.cpp was copy pasted, and changed to work with sparse matrices instead of dense matrices.These two together mean that this repo is kind of Apache-2.0 licensed. I think.
Package: pyeio
pyeioShort forPythonEasyInputOutput,pyeiois a python library meant to simplify file IO processes.pipinstallpyeioFor example, you can use it to avoid rewriting the code below hundreds of times.importjsonwithopen("data/example.json","r")asfile:data=json.load(file)file.close()By simplifying it to the following line.frompyeioimporteasydata=easy.load("data.json")For more examples visit thedocumentationsite.
Package: pyeiq
A Python Demo Framework for eIQ on i.MX ProcessorsPyeIQ is written on top ofeIQ™ ML Software Development Environmentand
provides a set of Python classes allowing the user to run Machine Learning
applications in a simplified and efficiently way without spending time on
cross-compilations, deployments or reading extensive guides.Take as a disclaimer that PyeIQ should not be considered production-ready.Official ReleasesBSP ReleasePyeIQ ReleasePyeIQ UpdatesBoardDateStatusNotesApr, 2020PoCMay, 2020Jun, 2020StableJun, 2020Aug, 2020Nov, 2020Jul, 2021StableSep, 2021Dec, 2021Dec, 2021PyeIQ v1 and v2 can be installed with "pip3 install eiq". For more details, please checkpypi-eiq.Major Changes3.0.0Remove all non-quantization models.Change switch video demo (working on 8MPlus).Add Covid19 detection demo2.0.0General major changes on project structure.Split project into engine, modules, helpers, utils and apps.Add base class to use on all demos avoiding repeated code.Support for more demos and applications including Arm NN.Support for building using Docker.Support for download data from multiple servers.Support for searching devices and build pipelines.Support for appsink/appsrc for QM (not working on MPlus).Support for camera and H.264 video.Support for Full HD, HD and VGA resolutions.Support video and image for all demos.Add display info in the frame, such as: FPS, model and inference time.Add manager tool to launch demos and applications.Add document page for PyeIQ project.1.0.0Support demos based on TensorFlow Lite (2.1.0) and image classification.Support inference running on GPU/NPU and CPU.Support file and camera as input data.Support SSD (Single Shot Detection).Support downloads on the fly (models, labels, dataset, etc).Support old eIQ demos from eiq_sample_apps CAF repository.Support model training for host PC.Support UI for switching inference between GPU/NPU/CPU on TensorFlow Lite.Copyright and LicenseCopyright 2021 NXP. Free use of this software is granted under
the terms of the BSD 3-Clause License.
SeeLICENSEfor details.
Package: pyeisen
PyEisenFeaturesTODORequirementsTODOInstallationYou can installPyEisenviapipfromPyPI:$pipinstallpyeisenUsagePlease see theCommand-line Referencefor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,PyEisenis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz'sHypermodern Python Cookiecuttertemplate.
Package: pyeither
# pyeitherA functional Python library that exposes `Data.Either` from Haskell.```haskelldata Either e a = Left e | Right a```## Example Usage```pythonimport osimport jsonimport eitherdef main():path = "~/myfile.json"# Lift a normal value into Eithere_path = either.pure(path)# Ensure the path is valid, returning Right(path) if it is or Left("not a file") if it isn'te_valid = e_path.bind(either.predicate(os.path.isfile, "not a file"))# Load a file as json, returning Right(contents) if it works, or Left(exc) if it doesn'te_data = e_valid.bind(lambda p: either.attempt(json.load, p))# It's annoying to assign intermediate values to variables, so you can chain expressions# Equivalent to above:e_data2 = (either.pure(path).bind(either.predicate(os.path.isfile, "not a file")).bind(lambda p: either.attempt(json.load, p)))# Python lacks do-notation, so there's not a nice equivalent syntax# Build pipelines of actions using monadic compositionensure_path = either.predicate(os.path.isfile, "not a file")load_file = lambda p: either.attempt(json.load, p)process = either.kleisli(ensure_path, load_file)# Equivalent to above:e_data3 = either.pure(path).bind(process)```## Getting pyeither```pip install pyeither```## MotivationI've created an IPython Notebook that describes the motivation for this projectas an interactive tutorial building an analogous system from scratch. If you'reinterested in learning more about the **why** of this project, please check itout![**Motivation Notebook**](https://github.com/SegFaultAX/pyeither/blob/master/pyeither_demo.ipynb)## Special ThanksThis library depends on the absolutely wonderful[`attrs`](http://www.attrs.org/en/stable/) library, without which there wouldhave been far more ugly boilerplate.## LicenseCopyright 2018 Michael-Keith BernardSee LICENSE.txt for the full license.
Package: pyejdb
Embedded JSON database library Python 2.7/3.x binding============================================================Installation---------------------------------**Required tools/system libraries:*** gcc* **Python >= 3.x|2.7.x*** EJDB C library **libejdb** ([from sources](https://github.com/Softmotions/ejdb#building) or as [debian packages](https://github.com/Softmotions/ejdb#ubuntu))**Python binding published:** http://pypi.python.org/pypi/pyejdb**(A) Installing using pip**`pip` for python3 or python2 should be installed (`sudo apt-get install python3-pip` | `sudo apt-get install python-pip`)```umask 022sudo pip install pyejdbUpgrading:sudo pip install pyejdb --upgrade```**(B) Installing directly from sources**```umask 022git clone https://github.com/Softmotions/ejdb-python.gitcd ./ejdb-pythonsudo python3 ./setup.py install```**(C) Installing on Ubuntu/Debian (only for Python3.x)**```sudo add-apt-repository ppa:adamansky/ejdbsudo apt-get updatesudo apt-get install python3-ejdb```One snippet intro---------------------------------```pythonimport pyejdbfrom datetime import datetime#Open databaseejdb = pyejdb.EJDB("zoo", pyejdb.DEFAULT_OPEN_MODE | pyejdb.JBOTRUNC)parrot1 = {"name": "Grenny","type": "African Grey","male": True,"age": 1,"birthdate": datetime.utcnow(),"likes": ["green color", "night", "toys"],"extra1": None}parrot2 = {"name": "Bounty","type": "Cockatoo","male": False,"age": 15,"birthdate": datetime.utcnow(),"likes": ["sugar cane"],"extra1": None}ejdb.save("parrots2", parrot1, parrot2)with ejdb.find("parrots2", {"likes" : "toys"},hints={"$orderby" : [("name", 1)]}) as cur:print("found %s parrots" % len(cur))for p in cur:print("%s likes toys!" % p["name"])ejdb.close()```
Package: pyelan
Pronounced /pɑɪlɑn/ cf OED pylon, 2a A small fixed pillar or column, used to support something for display.Some development of this project was supported by a grant from the national sicence foundation: NFS BCS 1251807Developmentpypi publishingThe easiest way is with poetry, eitherpoetry buildthenpoetry publishorpoetry publish --build