Saravanan666/pypi-org huggingface dataset:
Package: ellipsisAI
This package is meant to help you run models on Ellipsis Drive content. It should be used in combination with the ellipsis package.InstallpipinstallellipsisAIExampleimportellipsisAIasaiimportellipsisaselpathId='170aadad-8eaa-4509-9c0e-c1536d58a1fe'timestampId="633b4b9f-d939-4c4a-8d90-0e9fceb64b83"targetPathId="066458f4-f018-4f49-a1f0-dedfa71b3368"tempFolder='YOUR_PATH'#login to get a authentication tokentoken=el.account.logIn('YOUR_USERNAME','YOUR_PASSWORD')#retrieve the zoom and bounds of the capture you wish to classifyclassificationZoom=ai.getReccomendedClassificationZoom(pathId=pathId,timestampId=timestampId,token=token)bounds=el.path.raster.timestamp.getBounds(pathId,timestampId,token)#we create a dummy model. We use the identity function mapping an image to itself. We use the getTleData function to retirve the image for the given input tile ofthe model.defmodel(tile):result=ai.getTileData(pathId=pathId,timestampId=timestampId,tile=tile,token=token)ifresult['status']==204:output=np.zeros((1,256,256))else:r=result['result']output=r[0:1,:,:]*2return(output)#apply the model on the given bounds on the given zoomlevelai.applyModel(model,bounds,targetPathId,classificationZoom,token,tempFolder)FunctionsapplyModelapplyModel(model,bounds,targetPathId,classificationZoom,token,tempFolder,modelNoDataValue=-1,targetFromDate=None,targetToDate=None)This function applies the given model on all tiles of zoomlevel classificationZoom withing the specified bounds. The results will be written in a new capture of the specified target block.NameDescriptionmodelA function mapping given bounds to a 3D numpy array.boundsA shapely polygon or multipolygon indicating the region you wish to classifytargetPathIdThe id of the path to write the result toclassificationZoomThe zoomlevel of the tiles you wish to use for the model input as integer.tokenYour tokentempFolderA path where temporary files can be writtenmodelNoDataValueWhich number of the model output to interpret as transparenttargetDateDictionary with keys from and to, both must be of type datetime. Defaults to current dategetTilesgetTiles(bounds,classificationZoom)This function covers a given bounds with tiles of the given zoomlevel. You can use the result to get tile arguments for the getTileData functionNameDescriptionboundsA shapely polygon or multipolygonclassificationZoomThe zoomlevel of the tiles to cover with as intgetTileDatagetTileData(pathId,timestampId,tile,token=None)This function retrieves raster data for a certain tile.NameDescriptionPathIdId of the layer to retrieve the raster fortimestampIdId of the timestamp to retrieve the raster fortileA dictionary with tileX, tileY and zoom as integerstokenYour token (optional)getReccomendedClassificationZoomgetReccomendedClassificationZoom(pathId,timestampId,token=None)This function retrieves raster data for a certain tile.NameDescriptionPathIdId of the layer to retrieve the raster fortimestampIdId of the timestamp to retrieve the raster fortokenYour token (optional)
Package: ellipsis-AI
This package is meant to help you run models on Ellipsis Drive content.applyModel(model, blockId, captureId, targetBlockId, targetCaptureId, visualizationId, inputWidth, token)model must be a function mapping a (inputWidth,inputWidth,b) numpy array to an (inputWidth,inputWidth) numpy array.model: a function mapping a inputWidth by inputWidth by bands numpy array to a 3 dimensional numpy array. The resulting numpy array should always have the same shape.
blockId: the id of the block to classify
captureId: the id of the capture to classify
targetBlockId: the id of the block to write the classifications to
targetCaptureId: the id of the capture to write the classifications to
inputWidth: the size of the input array. Must be a number divisible by 256
visualizationId: id of the visualization to use as input. If not specified the original raster is used.
token: your token
Package: ellipt2d
ELLIPT2D: a general purpose 2-D finite element solver=====================================================A. Pletzer and J.C. Mollis (pletzer@pppl.gov)Version: 1.4 Wed Jun 25 15:18:19 EDT 2003Prerequisites:- Python 2.2 or later- Tkinter- A C/C++ compiler (except for .exe Windows installer)- jython with Java/Java3D (optional)1. Summary----------ELLIPT2D is a Python programming environment for solving 2-D elliptic equationsof the form - div F . grad v + g v = s where F=((fxx,fxy),(fyx,fyy)), g and sare user supplied, possibly complex, functions. Boundary conditions can be ofDirichlet (v=B), Neumann (n . F . grad v = B) or Robbins type(n . F . grad v + A v = B). The trial basis functions are linear overtriangles with full support for unstructured meshes.2. Installation and settings----------------------------2.1 Minimal installation........................ELLIPT2D is a collection of python scripts. Python must be installed on yourplatform with Tkinter activated. Python is free and can be obtained athttp://www.python.org. Check the installations to find out how to activateTkinter (python is automatically distributed with Tkinter on Win32).Note that if you have to compile shared libraries (see 2.3) then you willalso need the Python source distribution (i.e. have access to Python.h andother headers).The scripts can be accessed anywhere provided the PYTHONPATH environmentvariable is properly set (see below). Alternatively, you can move the scriptsby hand to /usr/local/lib/python2.2/site-packages, or equivalent. UnderWindows the installation directory is often C:\Python22\Lib\site-packages.2.2 Triangulation and fast solver.................................Typepython setup.py installThis will also build shared objects (dll on Windows) of- triangle: A robust triangulation routine fromhttp://www.cs.cmu.edu/~quake/triangle.html.- superlu: A linear sparse matrix solver from http://www.nersc.gov/~xiaoye/SuperLU/.3. Tests--------Type the following command (under UNIX or Cygwin)test.shThis will exercize all the scripts.4. Graphics-----------Simple Tk graphics routines are provided. For high quality visualization,download openDX from http://www.opendx.org, which is also free, as Ellipt2dgenerates results in the DX format. As an alternative, Ellipt2d alsogenerates output in the UCD format of Avs/Express (http://www.avs.com).Avs/Express is a commercial product.5. User guide-------------All ellipt2d classes and functions are documented in HTMLdoc. To check thecontent of a python file, run doc.py [-a] <file>.py.Examples of ELLIPT2D scripts can be found under Demos.Enjoy,Alex.
Package: ellipticbn
ElliptiCBn - an automated command line tool for visualizing and measuring ellipticity of cucurbituril host/guest structuresHow to installIn a terminal, the command for installation is a simplepip install ElliptiCBnIf you would rather not use pip and prefer installing source, the installation of the package can be done by the following:Clone this git repository to your local machineIn the cloned repository, install ElliptiCBn throughpython -m pip install . vvNext, install the required dependencies by runningpip install -r requirements.txtHow to run the analysisThe ElliptiCBn package takes a single command line argument: an xyz file containing atom coordinates, or a folder of xyz files containing atom coordinatesTo run the analysis package on a single file, navigate to the directory with the ElliptiCBn script and execute it:(NOTE: if there are spaces in your file name, you will need quotes around the file name)The same convention can be used to execute the package on a folder of xyz filesHow the package worksBelow is a diagram of the analysis steps the software completes on any given file1. In a given XYZ file, extract the coordinates of all carbon atoms (and oxygen atoms used later on in the analysis).2. Identify strongly connected components to differentiate between host and guest structures.3. Remove the guest structure since we only care about calculating ellipticity of the host.4. Using proximity to oxygen atoms, remove the top and bottom rings of the hosts for accurate ellipticity calculation.5 & 6. Using a Principal Components Analysis, calculate the variance along both major axes of the host ring. The ellipticity is thus (Vax1-Vax2)/Vax1 where Vax1 is the variance on the longest axis (length) and Vax2 is the variance on the second-longest axis (width).7. Output graphs of both the single ring hosts and the full host-guest structures, as well as a spreadsheet with the calculated ellipticity for each structure.How to interpret the outputEach xyz file analyzed with this package will produce at least 3 pieces of data:1 interactive 3D scatter plot with all carbons in the CBn structures visualized1 interactive 3D scatter plot with only the central carbon ring of the CBn structures visualized1 spreadsheet with all of the carbons, their positions, distance to the centroid of the structure, and the measured ellipticityIn the case of host CBn structures with an internally situated guest structure, an additional 3D graph will be produced with the guests visualized in the structures (see below)To see the interactive version of this plot that gets generated from the script,Click HereThe user can visually see the ellipticity in the structues and compare them to the measured values in the spreadsheets:CB7 structures from above with guests removedCalculated ellipticity for each structure on a scale of circular (0) to linear (1)CB10 wide structures with guests removedCalculated ellipticity for each structure on a scale of circular (0) to linear (1)
Package: elliptic-curve
Elliptic CurveУчебный проект реализующий сложение точек на эллептической кривой и
произведение точки на скаляр.Все операции проводятся на двумя типами полей:Конечное поле с характеристикой 2Кольцо вычетов по модулюУстановкаИз исходников:cd project_path
pip3 install -e '.'С помощью wheel:cd wheel_dir_path
pip3 install elliptic_curve-0.0.1-py3-none-any.whlNOTE: Версия может отличаться от примера в READMEКак пользоваться:После установки в консоле станет доступна командаelliptic-curveДля получения справки:elliptic-curve --helpДля запуска скрипта:elliptic-curve --src <input_dir> --dst <output_dir>Также можно определить систему счисления для всех выходных файлов с помощью опции--base:elliptic-curve --src <input_dir> --dst <output_dir> --base 2Доступны следующие системы счисления: 2, 8, 10. 16Формат входного файлаNOTE: формат описывает значенияпо-строчноКольцо вычетов по модулюZ_p
p  # порядок поля
a  # параметр эллиптической кривой
b  # параметр эллиптической кривой
a (x1, y1) (x2, y2)  # сложение двух точек
m <scalar> (x1, y1)  # умножение точки на числоКонечно полеGF(2^m)
p | m: <степень>  # порядок - неприводимый многочлен или степень неприводимого многочлена
a1  # параметр эллиптической кривой
a2  # параметр эллиптической кривой
a3  # параметр эллиптической кривой
a4  # параметр эллиптической кривой
a5  # параметр эллиптической кривой
a (x1, y1) (x2, y2)  # сложение двух точек
m <scalar> (x1, y1)  # умножение точки на числоДля конечно поля порядок - неприводимый многочлен, также можно его не указывать,
а задать лишь степень, тогда скрипт сам возьмет нужный неприводимый многочленФорматы чиселВсе числа могут быть заданы с разной системой счисления. Для указания системы счисления
необходимо указать ее с помощью префикса:0x- 16-ная0b- 2-ная0o- 8-наябез префикса - 10-наяПримерыСмотреть в папке examplesФормат выходного файлаВыходной файл будет содержать результаты на строки-задания (например,a (1, 2) (2, 1))
из входного файлаДля сложения выходная строка будет:(x1, y1) + (x2, y2) = (x3, y3)Для умножения выходная строка будет:<scalar> * (x2, y2) = (x3, y3)NOTE: система счисления выходного файла может быть определена с помошью опции--base.
Если опция не будет указана, то система счисления подберется на основе входного файла по
принципу наиболее часто встречаемой системы счисления входа
Package: elliptic-curves
This package implements elliptic curves over various fields.ContentsTheelliptic.curvesmodule implements elliptic curves. An interface for fields is specified in theelliptic.abcmodule. This package provides several field implementations:elliptic.mod: modular fieldselliptic.fin: Galois fieldselliptic.inf: infinite fieldsThe implementation is not concerned with cryptographic safety. It cares for results being correct, but not secure.LicenseThis package is free software: you can redistribute it and/or modify it under the terms of theGNU General Public Licenseas published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.Copyright © 2023 Nicolas Canceill
Package: ellipticipy
EllipticiPyA python package for the calculation of ellipticity corrections for seismic phases in elliptical planetary models.Authors:Stuart RussellJohn F. RudgeJessica C. E. IrvingSanne CottaarThe workings of this package are described in the main paper:Russell, S., Rudge, J., Irving, J. and Cottaar, S., 2022. A re-examination of ellipticity corrections for seismic phases. Geophysical Journal International, 231(3), pp.2095-2101.https://doi.org/10.1093/gji/ggac315Please cite this publication when publishing work that has made use of this package.InstallationThe package can be installed using pip, the same as many python packages:pip install ellipticipyThis package depends on ObsPy. For information regarding ObsPy please see the relevant documentation:https://docs.obspy.org/UsageThis package is intended to be used in Python:>>> from obspy.taup import TauPyModel
>>> from ellipticipy import ellipticity_correction
>>> model = TauPyModel('prem')
>>> arrivals = model.get_ray_paths(source_depth_in_km = 124,
    distance_in_degree = 65, phase_list = ['pPKiKP'])
>>> ellipticity_correction(arrivals, azimuth = 39, source_latitude = 45)
[-0.7731978967098823]For users that do not wish to directly interact with Python, there is a command line wrapper for calculating ellipticity corrections insrc/ellip. The Python package must be installed before the wrapper can be used.> ./ellip -d 134 -deg 64 -az 15 -sl 23 -ph P,PcP,PKiKP -mod ak135
    
Model: ak135
Distance   Depth   Phase        Ray Param   Spherical   Ellipticity   Elliptical
  (deg)     (km)   Name         p (s/deg)   Travel      Correction    Travel    
                                            Time (s)        (s)       Time (s)  
--------------------------------------------------------------------------------
   64.00   134.0   P                6.536     619.05        -0.45       618.60
   64.00   134.0   PcP              4.110     653.31        -0.48       652.83
   64.00   134.0   PKiKP            1.307    1020.55        -0.75      1019.80ExamplesFurther examples of code usage in Jupyter Notebook format can be found insrc/. The first of these demonstrates the main usage case.src/example_corrections.ipynbsrc/example_coefficients.ipynbsrc/ellipticity_of_figure.ipynbLicenseThis package is licenced under the GNU Lesser General Public License v3.0.
Package: ellipticpy
Elliptic-pyFast elliptic-curve cryptography in pure Python implementation. This is a port to elliptic js in python. However, it has the ability to do more than what elliptic js does.NOTE: Please take a look athttp://safecurves.cr.yp.to/before choosing a curve
for your cryptography operations.IncentiveECC is much slower than regular RSA cryptography, the pythonic implementations are
even slower.APIYou can read the docshereSupported curvesFollowing curve 'presets' are embedded into the library:secp256k1p192p224p256p384p521AcknowledgementsThis project is heavily inspired by the javascript implementation of elliptic . you can find ithere. Also, the naming conventions and references have also been taken fromhere. The ellitpic curve details can be foundhere.
Package: elliptic-python
Elliptic SDK for PythonInstallationThe SDK is available on PyPI:python-mpipinstallelliptic-pythonThis package requires Python 3.7 or greaterUsageThe SDK provides an instance of the popularRequests
package, adding the
necessary steps to authenticate each request using your Elliptic API key
and secret.fromellipticimportAMLaml=AML(key="YOUR_ELLIPTIC_API_KEY",secret="YOUR_ELLIPTIC_API_SECRET")# aml.client is an instance of a requests sessionresponse=aml.client.get("/v2/analyses")API DocumentationDocumentation for Elliptic APIs can be found at theElliptic Developer CenterLicenseThis SDK is distributed under the Apache License, Version 2.0, see LICENSE and NOTICE for more information.
Package: elm
Python Extreme Learning Machine (ELM) is a machine learning technique used for classification/regression tasks.Free software: BSD licenseDocumentation:https://elm.readthedocs.org.FeaturesELM KernelELM Random NeuronsMLToolsHistory0.1.0 (2015-02-03)First release on PyPI.0.1.1 (2015-02-10)Fixed some package issues.Added Python 2.7 supportAdded extra parameter to search_param method.0.1.2 (2017-09-19)Fixed a bug when using search_param.Optunity solver is available when using search_param.
Package: elma-verifier
ELMA-verifierThis Python module allows users to verify whether an organization number is valid and is set up to receive invoices through the EHF format.InstallationTo install theelma-verifierpackage, simply usepip:pipinstallelma-verifierUsageHere's how you can use the elma-verifier:fromelma_verifierimportverifierresult=verify.verify_org_number("YOUR_ORG_NUMBER_HERE")print(result)# Returns True if organization number is registered to receive EHF invoices, otherwise FalseIssues & ContributionsIf you come across any issues or would like to contribute to the improvement of this package, please open an issue or submit a pull request.Acknowledgements and DependenciesSelenium: This package usesSeleniumwhich is licensed under theApache 2.0 license.LicenseThis package is distributed under the MIT License.Copyright 2023 Mathias S. MjømenPermission 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: elmax
Python Elmax Cloud clientAsynchronous Python API client for interacting with the Elmax Cloud services.This module is not official, developed, supported or endorsed by Elmax.
For questions and other inquiries, use the issue tracker in this repo please.InstallationThe package is available in thePython Package Index.$pip3installelmax--userFor Nix or NixOS users is a package available. Keep in mind that the lastest
releases might only be present in theunstablechannel.$nix-env-iAnixos.python38Packages.elmaxUsageFor details about the usage please check theexamples.pyfile.LicenseThis project is licensed under ASL 2, for more details check LICENSE.
Package: elmax-api
Python Elmax API clientAsynchronous Python API client for interacting with the Elmax Cloud services, via HTTP apis.InstallationUse the package manager pip to install Python Elmax API client:$pip3installelmax-api--useror, to install it globally, use the following command$pip3installelmax-apiUsageimportasynciofromelmax_api.httpimportElmaxfromelmax_api.model.commandimportSwitchCommandMY_USERNAME='TYPE_HERE_YOUR_ELMAX_EMAIL'MY_PASSWORD='TYPE_HERE_YOUR_ELMAX_PASSWORD'asyncdefmain():# Instantiate the Elmax API clientclient=Elmax(username=MY_USERNAME,password=MY_PASSWORD)# List panels for your userpanels=awaitclient.list_control_panels()print(f"Found{len(panels)}panels for user{client.get_authenticated_username()}")# Get online panels onlyonline_panels=[]forpinpanels:status='ONLINE'ifp.onlineelse'OFFLINE'print(f"+{p.hash}:{status}")ifp.online:online_panels.append(p)iflen(online_panels)==0:print("Sorry, no panel to work with. Exiting.")exit(0)# Fetch status of first panelp=online_panels[0]panel_status=awaitclient.get_panel_status(control_panel_id=p.hash)# Print some zone statusforzinpanel_status.zones:print(f"Zone '{z.name}' open:{z.opened}")# Toggle some actuatoractuator=panel_status.actuators[0]old_status=actuator.openedprint(f"Actuator{actuator.name}was{'ON'ifold_statuselse'OFF'}")print(f"Switching{'OFF'ifold_statuselse'ON'}actuator{actuator.name}")awaitclient.execute_command(endpoint_id=actuator.endpoint_id,command=SwitchCommand.TURN_ONifnotold_statuselseSwitchCommand.TURN_OFF)print("Waiting a bit...")awaitasyncio.sleep(5)print("Reverting back original actuator status")awaitclient.execute_command(endpoint_id=actuator.endpoint_id,command=SwitchCommand.TURN_ONifold_statuselseSwitchCommand.TURN_OFF)print("Done!")if__name__=='__main__':asyncio.run(main())DocumentationFull API documentation is available on GitHub pages,here.
Package: elmer-circuitbuilder
elmer_circuitbuilderPython module for creating the circuit simulation definitions for Elmer FEM. The circuit definitions enable easy setup of coils (e.g. massive, stranded, and foil) in 2D and 3D for magnetodynamics applications.Free software: GNU Lesser General Public License v3Documentation:https://github.com/ElmerCSC/elmer_circuitbuilder.Use Examples:https://github.com/ElmerCSC/elmer-elmag/tree/main/CircuitBuilderFeaturesAssembles stiffness and damping matrices of electrical circuit networksAvailable electrical components: Resistors, Capacitors, Inductors, Ideal Current Source, Ideal Voltage SourceEnables coupling to ElmerFEM to perform circuit-field simulations by setting up coils (massive, stranded, foil) in 2D and 3DCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.1 (2021-10-27)First release on PyPI.
Package: elm-format
The Elm Format InstallerWe have a way to usenpm installelm-format, however it is often hard to use.
This is an attempt to create a pypi installer so that we can use:pip installelm-formatinstead.Install$pipinstallelm-format--no-cache-dir$elm-format--help|head-n1elm-format 0.8.1ChangelogThis document describes changes in the installer between each past release.0.8.1.1 (2019-04-04)Create a setup.py that allow for install.ContributorsRémy Hubscher <remy@chefclub.tv>
Package: elm-framework-helpers
Helpers for the ELM framework scriptsLoggingPrefer dict based config.HTTPThehttpmodule contains a Uvicorn server which can be run outside of the main thread.JsonThejsonmodule contains an implementation ofdumpswhich handles Decimal (turns into string)Outputnever_ending_observerReturns anOnNextonly observer which logs an error tologgerif it ever completes or errors.