Saravanan666/pypi-org huggingface dataset:
Package: eightbar
eightbarAdd a short description here!A longer description of your project goes here…Making Changes & ContributingThis project usespre-commit, please make sure to install it before making any
changes:pip install pre-commit
cd eightbar
pre-commit installIt is a good idea to update the hooks to the latest version:pre-commit autoupdateDon’t forget to tell your contributors to also install and use pre-commit.NoteThis project has been set up using PyScaffold 4.4. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: eightbitdo-zero2
8bitdo zero2Python code to use the8bitdo zero2controller with a Raspberry Pi.How to useInstallation$pipinstalleightbitdo-zero2Usage examplefromgpiozeroimportLEDfromeightbitdo_zero2importEightBitDoZero2# ledred=LED(17)blue=LED(10)defmain():# Initialize controllercontroller=EightBitDoZero2(on_y=red.on,off_y=red.off,on_a=blue.on,off_a=blue.off,)# Start listencontroller.listen()if__name__=="__main__":main()There are more example code inexamples.OptionsController initialize options.nametypedefaultdetaildevice_pathstring"/dev/input/js0"File path to which device is connected.debugbooleanFalseDebug mode setting. When True, The entered command is displayed on STDOUT.on_<button_name>functionlambda: NoneAction when the button is pressed.off_<button_name>functionlambda: NoneAction when the button is Released.LicenseThis software is released under the MIT License, see LICENSE.
Package: eightdad
EightDADOverviewWhatFor now, it's only aChip-8 Virtual Machinein python.The name comes from the tools I hope to add:Eight, as in Chip-8 VMDebuggerAssemblerDisassemblerWhyI want to learn more about assemblers, Virtual Machines, and implementing
languages! This is a step toward other projects and becoming a better
developer.ButOctoalready exists!I know. I like it, but it's not helping me reach the goals I outlined above.I'm also hoping to write simpledemosthat push the
limits of what's been built for Chip-8. I think implementing a Chip-8
interpreter will prepare me for that.
Package: eightest
Eightest Test RunnerOverviewEightest is self made test runner written in Python that offers intuitive GUI in order to collect and execute tests suites.InstallationIn order to install use this command:pip install eightestFeatures:(WIP)Graphical User InterfaceParallel execution of testsTest execution timeCustom tags(WIP)Automatic scheduler(WIP)E-mail notificationsUsageHere is an example of simple Test Suite:fromeightestimportTestCaseclassTestString(TestCase):defbefore(self):# Executed before each test.self.text='text'deftest_upper(self):assertself.text.upper()=='TEXT'deftest_isalpha(self):text='text'assertself.text.isalpha()==Truedefafter(self):# Executed after each test.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.Technologies:Python 3.10.6Django 4.0LicenseMIT
Package: eightid
EightID: A (really) short id, that fits in 8 bytes.EightIDis a short ID that fits in 8 bytes. 4 bytes are dedicated to the timestamp (second resolution) and the other are 4 random bytes.It's only 8 bytes and as such it fits in a BigInt column.InstallationInstallation using pip:pip install eightidQuick intro>>>fromeightidimportEightID>>>short_id=EightID()# Displays as base64 by default>>>short_id<EightID'AH4jTMKtwrXCr8OQ'>>>>print(short_id)AH4jTMKtwrXCr8OQ>>>short_id.integer35504659304394704# Access when the id was created>>>short_id.datetimedatetime.datetime(2022,4,6,17,16,12)# Access with str() and .string>>>str(short_id)'AH4jTMKtwrXCr8OQ'>>>short_id.string'AH4jTMKtwrXCr8OQ'# Recreate the EightID from a string>>>EightID.from_string(short_id.string)<EightID'AH4jTMKtwrXCr8OQ'># Or from>>>EightID.from_int(short_id.integer)<EightID'AH4jTMKtwrXCr8OQ'>Django integrationfromeightidimportdjangoclassAppModel(models.Model):id=django.EightIDField(primary_key=True)LicenseEightID is licensed under the MIT license (see theLICENSEfile for details).
Package: ei-glossary
ei_glossaryInstallationYou can installei_glossaryvia [pip] from [PyPI]:$pipinstallei_glossaryContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,ei_glossaryis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.
Package: eigoyurusan
eigoyurusanEnglish is too difficult for me.Free software: MIT licenseInstallationStable releaseTo install eigoyurusan, run this command in your terminal:$ pip install eigoyurusanThis is the preferred method to install eigoyurusan, as it will always install the most recent stable release.If you don't havepipinstalled, this Pythoninstallation guidecan guide
you through the process.From sourcesThe sources for eigoyurusan can be downloaded from myGithub repoYou can either clone the public repository:$ git clone git://github.com/masora1030/eigoyurusanOnce you have a copy of the source, you can install it with:$ python setup.py installUsageIf you want to translate arXiv paper (you know it's link), please type a command like follow:$ eigoyurusan -u https://arxiv.org/abs/XXXXXXXXOther, If you want to translate your PDF file, please type a command like follow:$ eigoyurusan -p hoge.pdfIf you want to translate to a language except Japanese, type a command like follows:$ eigoyurusan -u https://arxiv.org/abs/XXXXXXXX -l RU-l option sets a language. The details about the correspondence is as follows.'RU' : Russian'PL' : Polish'NL' : Dutch'IT' : Italian'PT' : Portuguese'ES' : Spanish'FR' : French'DE' : GermanUse --small option, a quick, but not complete, summary is output on the command prompt:$ eigoyurusan -u https://arxiv.org/abs/XXXXXXXX --small
Package: eigpca
eigpcaPCA via eigen-decomposition of the covariance/correlation matrix.InstallpipinstalleigpcaExamplefromeigpcaimportPCAfromsklearn.datasetsimportload_irisX=load_iris().datapca=PCA()pca.fit(X)pca.transform(X,n_components=2)Scree Plotpca.plot(y="pov")
Package: eigs
eigs (The Python Package)Find Eigenvalues and Eigenvectors efficiently in Python using UMFPACK + ARPACK (powered
by Rust).Exampleimportnumpyasnpfromscipy.sparseimportcsc_matrixfromeigsimporteigsdata=np.array([0.+4.j,2.+3.j,4.+0.j,0.-2.j,-3.+3.j,0.-1.j,-3.-3.j,4.-4.j,-4.+0.j,4.+1.j,-4.-1.j,4.+2.j,3.+2.j,0.+2.j,-4.+0.j,-4.+1.j,-4.+2.j,-2.+2.j,-1.-2.j,0.+3.j,-3.+0.j,4.+0.j,-1.+3.j])# fmt: skipindices=np.array([6,1,4,5,7,2,3,4,5,6,7,1,1,3,3,4,0,2,5,6,3,6,7])# fmt: skipindptr=np.array([0,1,5,11,12,14,16,20,23])A=csc_matrix((data,indices,indptr))vals,vecs=eigs(A=A,num_eigs=4,sigma=-2.0+7.0j)fori,valinenumerate(vals):print(f"{i}:{val.real}+{val.imag}j")0: -2.3310185657008846 + 7.624960781252993j
1: -4.525347075933688 + 1.8131068538310453j
2: 5.301183172745191 + 4.2055904210543575j
3: 0.1713950830265607 + 0.46316839127801934jFind more examples in theexamplesfolder.InstallationEigs is currentlylinux-only(x86_64) andpython 3.9+.
More platforms might be supported at a later point in time.pipinstalleigsLicense & Credits© Floris Laporte 2023, LGPL-2.1
Package: eikobot
Eikobot Desired State EngineThe little Desired State Engine that made it so.Eikobot is a desired state orchestrator.The basic idea is that you describe your infrastructure and eikobot
will make it happen.Eikobot is consists of the deployment engine and the Eiko language.The language is akin to python, as this is a commonly used language
and the language in which eikobot and eikobot plugins are written.It is an Object Oriented language that has some powerfull features.The most glaring thing is probably that the language has no functions,
but this is an omission by design.Some of it's notable features are:Object orientedsees the infrastructure as a tree of resources, rather than a flatlandcompletely stateless*The quickest way to get started is probably by doing some of thequickstarts.For a more complete idea of how the language works,
please see thelanguage overview.(*If the model/modules are designed well.)NOTE: Eikobot is currently in BETA.While most interfaces are considered stable, several might still be subject to change.InstallationEikobot requires python 3.10 or up and can be installed using pip.Here is an example of how to install Eikobot:(This should work on most platforms, although the python command is different if you are on windows)python3.10-mvenveikobot-venv
eikobot-venv/bin/pipinstalleikobotYou can now use the eikobot commands,
either by invoking them directly with their venv path:eikobot-venv/bin/eikobotOr by activating the venv first:.eikobot-venv/bin/activate
eikobot
Package: eikonalfm
Eikonal Fast Marchingeikonalfm is a Python (C++) extension which implements the Fast Marching method for the eikonal equationand the factored eikonal equationwhereReferencesJ. Sethian. Fast marching methods. SIAM Review, 41(2):199-235, 1999. doi: 10.1137/S0036144598347059. URLhttps://doi.org/10.1137/S0036144598347059Eran Treister and Eldad Haber. A fast marching algorithm for the factored eikonal equation. Journal of Computational Physics, 324:210-225, 2016.RequirementsPython 3numpy version 1.7 or higherC++11 compilerInstallationInstallation from PyPi:pipinstalleikonalfmManual install from the repository:gitclonehttps://github.com/kevinganster/eikonalfm.gitcdeikonalfm
pipinstall.orpipinstallgit+https://github.com/kevinganster/eikonalfm.gitExamplesimportnumpyasnpimporteikonalfmc=np.ones((100,100))x_s=(0,0)dx=(1.0,1.0)order=2tau_fm=eikonalfm.fast_marching(c,x_s,dx,order)tau1_ffm=eikonalfm.factored_fast_marching(c,x_s,dx,order)Note that the source positionx_sdescribes an index-vector.To visualize the results, matplotlib (https://pypi.org/project/matplotlib/) can be used, for example:importmatplotlib.pyplotasplt# for the distance-function 'x_s' also describes an index-vectortau0=eikonalfm.distance(tau1_ffm.shape,dx,x_s,indexing="ij")plt.contourf(tau0*tau1_ffm)plt.show()
Package: eilat-web-browser
Keyboard driven, security and privacy focused web browser build in PyQt4’swebkit engine.Features:simple source code, focused on promoting auditingIsolation of instances for facebook, google, twitter; configurable
for more sitesConsole logging of resources actually retrieved and cookies set or
attemptedhjkl, ^j, ^h, etc. keyboard navigationNew in 1.5.5:hooks for playing videos on ‘mpv’redone the log system for message clarityaccess-key navigation (‘ñ’ or ‘;’, then one or two-letters link tag)Install:First install PyQt4 for Python 3 by whatever means result more appropiate;
using a pyvenv is recommended. Then dopip install eilat-web-browser. Pip
will not install PyQt, but will install all the other dependencies.Quick usage notes:facebook, twitter, google will be blacklisted unless they are the first
URL visited on a tab (and then the tab will hold to that site only)^tcreates a new tabCtrl+Spacetoggles the status bargstarts an in-page search;escapein the search frame closes itjavascript is off by default; to enable one-tab-only, pressqand reload
with F5 orrReadREADME.mdand the wiki (https://github.com/jsoffer/eilat/wiki) for
lots of details - there’s a lot of non obvious functionality that requires
a bit of reading, e.g. modal keys or navigating through isolated tabs
Package: eim-comments
Reusable comments app for learning purposes.InstallationTo get the latest stable release from PyPipipinstalleim-commentsTo get the latest commit from GitHubpipinstall-egit+git://github.com/EimantasSl/eim-comments.git#egg=eim_commentsTODO: Describe further installation steps (edit / remove the examples below):Addeim_commentsto yourINSTALLED_APPSINSTALLED_APPS=(...,'eim_comments',)Add theeim_commentsURLs to yoururls.pyurlpatterns=patterns('',...url(r'^/',include('eim_comments.urls')),)Before your tags/filters are available in your templates, load them by using{% load eim_comments_tags %}Don’t forget to migrate your database./manage.pymigrateeim_commentsUsageTODO: Describe usage or point to docs. Also describe available settings and
templatetags.ContributeIf you want to contribute to this project, please perform the following steps# Fork this repository
# Clone your forkmkvirtualenv-ppython2.7eim-commentsmakedevelopgitco-bfeature_branchmaster# Implement your feature and testsgitadd.&&gitcommitgitpush-uoriginfeature_branch# Send us a pull request for your feature branchIn order to run the tests, simply executetox. This will install two new
environments (for Django 1.8 and Django 1.9) and run the tests against both
environments.
Package: eimutils
deutilsdeutils offeres a set of commonly used python fuctions for use with Glue Jobs and Lambda.Functionsget_secret(secret_name, region):This function allows the look up of a sceret from aws secrets manager. It returns the key value pairs in a dictionary object.deloggingSeveral small helper functions for formatting logs. Right now its simple prints but it will extend to write to
CloudWatch.s3_helperThe functions aggregate base functions into composite calls. For instance combining get_secret with connect_to_ftp.
The new function get_ftp_connection_from_secret takes a secret as an input and returns a ftp connection to minimise
lines of code in the users call.When you need to build a layer:https://awstip.com/create-aws-lambda-layers-using-cloud-9-694895903ca5Change Log:UserDateCommentffortunato11/01/2023Describing Overall package.Github-flavored Markdown
Package: ein12
Generic configuration library for any app.Pretty much a Flask config-like object with added functionality based on flask-appconfig.Tested with Python 2.7, 3.4, 3.5, 3.6.PyPi:https://pypi.python.org/pypi/einTODOMove to explicit usage that accept either files or strings,notboth.DocumentationImport work using chainmaps to unhackifyInstallationpipinstalleinRunning testsPytest is the test runner.Tox is used to handle testing multiple python versions.tox
Package: eincheck
eincheckTensor shape checks inspired by einstein notationOverviewThis library has three main functions:check_shapestakes tuples of(Tensor, shape)and checks that all the Tensors match the shapescheck_shapes((x, "i 3"), (y, "i 3"))check_funcis a function decorator to check the input and output shapes of a function@check_func("*i x, *i y -> *i (x + y)")
def concat(a, b):
    return np.concatenate([a, b], -1)check_datais a class decorator to check the fields of a data class@check_data(start="i 2", end="i 2")
class LineSegment2D(NamedTuple):
    start: torch.Tensor
    end: torch.TensorFor more info,read the docs!
Package: einder
EinderEinder is an API wrapper for the set-top boxes SMT C7400 and SMT C7401.
In the Netherlands these boxes are sold by a big Dutch cable operator
under the name Horizon Box. The name Einder is a Dutch synonym for
horizon.I’d like to thankkuijpfor his
work onhorizoncontrol.
This is just a shameless Python rip off.Installation$pipinstalleinderUsageeinder.Clientcontrols the set-top box by sending bytes. These bytes
represent the buttons of a remote control. You can find all supported
keys ineinder.keys. The example shows how to
send keys.importtimeimportloggingfromeinderimportClientfromeinderimportkeys# Enable logging.logging.basicConfig(level=logging.DEBUG)# Replace IP with the IP of your set-top box. The port parameter is optional,# by default its 5900.c=Client("192.168.1.245",port=5900)c.power_on()# Wait a few seconds to let the set-top box have some time to start.time.sleep(5)# Select channel 501.c.send_key(keys.NUM_5)c.send_key(keys.NUM_0)c.send_key(keys.NUM_1)# For selecting a channel einder.Client offers a small helper function.c.select_channel(501)# No watch some TV...c.power_off()c.disconnect()Theeinder.Clientcan also be used as a context manager:fromeinderimportClientwithClient("192.168.1.245")asc:c.select_channel(501)LicenseThis software is licensed under theMIT license.
Package: einkd
einkdA daemon and library for displaying images on e-ink displays.Supported DisplaysManufacturerModelColoursResolutionSupportWaveshare2.13" (B)Red & Black212 x 104SupportedWaveshare7.5" HD (B)Red & Black880 x 528PlannedWaveshare7.5" HDBlack880 x 528PlannedDisplays usually require an SPI interface, for which thespidevmodule is used
to control them using the standard kernel interfaces.Additionally, some displays may require additional GPIO pins to control them.
Package: einky
InkyPython library for theInky
pHATandInky
wHATe-paper displays.Inky pHATInky pHATis a
212x104 pixel e-paper display, available in red/black/white,
yellow/black/white and black/white. It’s great for nametags and
displaying very low frequency information such as a daily calendar or
weather overview.Inky wHATInky wHATis a
400x300 pixel e-paper display available in red/black/white. It’s got
tons of resolution for detailed daily todo lists, multi-day weather
forecasts, bus timetables and more.InstallationThe Python pip package is named einky, install with:sudo pip install einkyUsageThe Inky library contains modules for both the pHAT and wHAT, load the
InkyPHAT one as follows:frominkyimportInkyPHATYou’ll then need to pick your colour, one of ‘red’, ‘yellow’ or ‘black’
and instantiate the class:inkyphat=InkyPHAT('red')If you’re using the wHAT you’ll need to load the InkyWHAT class from the
Inky library like so:frominkyimportInkyWHATinkywhat=InkyWHAT('red')Since Inky wHAT is currently only available in red, we pick that colour.0.0.4BugFix: Reverted normal red LUTs to correct values0.0.3Enhancement: Added support for display variant detectionEnhancement: Added DocStringsBugFix: Fixed set_border for all colours0.0.2BugFix: Yellow Inky pHAT now yellow instead of brown/blackEnhancement: Performance tweak for set_image0.0.1Initial Release
Package: einop
EinopOne op to rule them allEinop is a very thin wrapper aroundeinopsthat combinesrearrange,reduce, andrepeatinto a singleeinopfunction. This library is a port ofarogozhnikov/einops#91byMiles Cranmerinto a separate library, if at some point that PR is merged useeinopdirectly from einops instead.Installationpip install einopUsageimportnumpyasnpfromeinopimporteinopx=np.random.uniform(size=(10,20))y=einop(x,"height width -> batch width height",batch=32)asserty.shape==(32,20,10)Rearrangeeinop(x,'i j k -> k i j').shape>>>(3,100,5)Reductionimportnumpyasnpfromeinopsimporteinopx=np.random.randn(100,5,3)einop(x,'i j k -> i j',reduction='sum').shape>>>(100,5)Repeateinop(x,'i j k -> i j k l',l=10).shape(100,5,3,10)
Package: einorm
einormAneinops-style generalized normalization layer.InstallationYou needtorch>= 1.13 orfunctorchto be installed:pip install einormUsagefromeinormimportEinorm# Equivalent to nn.LayerNorm(1024)Einorm("b n d","d",d=1024)# Specify the dimensions and sizes to normalize along.Einorm("a b c d e","b d",b=3,d=4)According toViT-22B, normalizing query and key in a head-wise fashion can help stabilize the training dynamics. This can be achieved by providing additional grouping arguments toEinorm:Einorm("b h n d","d","h",h=16,d=64)# num_heads=16, head_dim=64
Package: einsteinify
einsteinifyA pip moudle that transforms every C #include absolute path to a given directory to a relative path to the .c or .h fileInstallYou can install einsteinify with pip:$pipinstalleinsteinifyProject purposeIt may happen that you have a folder with.cand.hfiles where some the#include "*.h"areglobal pathsto respect to the root folder. This module makes themrelative pathsto the root folder.Usage (global module)$einsteinifypath/to/root/folderUsage (local module)fromeinsteinifyimporteinsteinifyPATH='path/to/root/folder'einsteinify(PATH)ResultSuppose that you have a directory like this:root
 ├── main.h
 ├── other.h
 ├─> services
 │   └── services.h
 └─> utils
     └── utils.hWhere initially:main.h#include"root/other.h"#include"root/services/services.h"other.h#include"root/utils/utils.h"utils.h#include"root/other.h"#include"root/services/services.h"After runningeinsteinifythe includes would be:main.h#include"./other.h"#include"./services/services.h"other.h#include"./utils/utils.h"utils.h#include"../other.h"#include"../services.h"
Package: einsteinpy-geodesics
Name:EinsteinPy GeodesicsWebsite:https://docs.geodesics.einsteinpy.org/en/latest/Version:0.1.0EinsteinPy Geodesics is an addon package for EinsteinPy, that wraps over Julia’s
excellentDifferentialEquations.jlsuite and provides a python interface to solve for geodesics in Kerr & Schwarzschild spacetime.EinsteinPyis an open source pure Python package, dedicated to problems arising
in General Relativity and Gravitational Physics.
As with EinsteinPy, EinsteinPy Geodesics is released under the MIT license.DocumentationComplete documentation for this module can be accessed athttps://docs.geodesics.einsteinpy.org/en/latest/(Courtesy:Read the Docs).RequirementsEinsteinPy Geodesics requiresPython >= 3.7,Julia >= 1.5and the following Julia packages:JuliaDifferentialEquations.jl >= 6.15ODEInterfaceDiffEq.jl >= 3.7InstallationFirst, ensure that, Julia is installed in your system and added toPATH. Seehttps://julialang.org/downloads/platform/for platform specific binaries and installation instructions.einsteinpy_geodesicsalso requiresDifferentialEquations.jlandODEInterfaceDiffEq.jl. You can add them, like so:$ julia
julia> using Pkg
julia> Pkg.add("DifferentialEquations")
julia> Pkg.add("ODEInterfaceDiffEq")Finally,einsteinpy_geodesicscan be installed in the most intuitive way:$ pip install einsteinpy-geodesicsFor using this package, we strongly recommend you to use EinsteinPy Core package along with it.Alternatively, you can install the package from source, by cloningeinsteinpy_geodesics,
and typing in the following, in a shell (in Linux/macOS):$ flit install --symlink /path/to/einsteinpy_geodesics/Or, on Windows:$ flit install --pth-file /path/to/einsteinpy_geodesics/ProblemsIf the installation fails or you find something, that doesn’t work as expected,
please open an issue in theissue tracker.Note that,DifferentialEquations.jlrequiresgfortranto be present on the system.
If you encounter agfortran-related error, while using this package, please install/update yourgfortraninstallation.
See<https://gcc.gnu.org/wiki/GFortranBinaries>for more details or open an issue in the issue tracker.ContributingEinsteinPy is a community project, hence all contributions are more than
welcome! For more information, head toCONTRIBUTING.rst, that also
contains the developer documentation.SupportRelease announcements and general discussion take place on ourmailing list.
Feel free to join!https://groups.io/g/einsteinpy-devPlease join our[matrix]channel orgitterchat room for further queries.If you still have a doubt, write a mail directly toall@einsteinpy.org.CitingIf you use EinsteinPy or EinsteinPy Geodesics in your project, pleasedrop us a line.You can also use the DOI to cite it in your publications. This is the latest
one:And this is an example citation format:Shreyas Bapat et al. (2019). EinsteinPy: einsteinpy 0.1.0. Zenodo. 10.5281/zenodo.2582388LicenseEinsteinPy and hence, EinsteinPy Geodesics, is released under the MIT license, hence allowing commercial
use of the library. Please refer toCOPYING.
Package: einsum
einsumExperimental implementation of torch/onnx einsumInstallpip3install-UeinsumOr develop locally:gitclonehttps://github.com/sorenlassen/einsum-experiment~/einsumcd~/einsum
python3setup.pydevelopUsageimporteinsumprint('TODO')TestsRuneinsum's test suite:pip3installpytest
pytestorpython3setup.pydevelop# enables the test file to import einsumpython3tests/test_einsum.pyType check with mypy:pip3installmypy
python3-mmypysrc/einsum/lib.pyReleaseTo publish a new release to pypi:pip3installpython-semantic-release# verify tests pass.pytest# bump the version number, add a git tag.semantic-releaseversion--patch# or --minor, or --major# push the new version number and tag to github.gitpush&&gitpush--tags# publish to pypi.poetrybuild
poetrypublishAboutpyproject.tomlwas generated withmkpylib.setup.pywas generated withpoetry-gen-setup-py.