Saravanan666/pypi-org huggingface dataset:
Package: el-decko-backend-obs-ws
El Decko Backend OBS Studio WebsocketOBS Studio websocket based backend for El Decko.First runUpon running El Decko the first time with this backend installed it will create an empty default config to connect to
your local OBS Studio instance at:$XDG_CONFIG/eldecko/backend/obsws.json.Please update the generated default credentials with the actual port and password of what is shown inside your OBS
Studio Websocket Settings.Use this backendIn order to use this backend you need to supply thestreamdeck.jsongenerated
byEl Decko Corewith the followingkey_config:{
    "STREAM_DECK_SERIAL_NUMBER": {
        "brightness": 30,
        "key_config": {
            "0": {
            "backend": "edb_obs_ws",
            "event": "SET_CURRENT_PROGRAM_SCENE",
            "event_parameters": {"name":"S: Desktop"},
            "image_idle": null,
            "image_pressed": null
            }
        }
    }
}This will configure the very first key (0) to use this plugin (edb_obs_ws) and bind the eventSwitchSceneto it.The event will receive the parameter map defined byevent_parameters,namedefines the name of you scene within OBS
Studio.More supported websocket events will follow.Implemented websocket protocolsSetCurrentProgramSceneTells OBS Studio to change the currently visible Scene to any other available scene.Event name:SET_CURRENT_PROGRAM_SCENEParameters:name-> Name of your local OBS Studio SceneGetSceneListReturns a list with all available Scenes within OBS Studio.Event name:GET_SCENE_LISTParameters:NoneSetSceneItemEnabledSet the enabled state of an item inside a given sceneEvent name:SET_SCENE_ITEM_ENABLEDParameters:scene_name-> The name of the sceneitem_id-> The internal ID of the required item.You can find this inside your OBS Scene Settings JSON.enabled-> True or False to show/hide the item.Example JSON:"key_config": {
    "<key_number>": {
        "backend": "edb_obs_ws",
        "event": "SET_SCENE_ITEM_ENABLED",
        "event_parameters": {"scene_name":"S: Confeti", "item_id": 42, "enabled": false},
        "image_idle": "<some_image_path>",
        "image_pressed": null,
        "label": "Hide Video"
      },
}ToggleSceneItemEnabledSimilar to SetSceneItemEnabled does this event show/hide an item in a given scene.But additionally it queries the current item state and sets it to the opposite state.Event name:ToggleSceneItemEnabledParameters:scene_name-> The name of the sceneitem_id-> The internal ID of the required item.You can find this inside your OBS Scene Settings JSON.Example JSON:"key_config": {
    "<key_number>": {
        "backend": "edb_obs_ws",
        "event": "TOGGLE_SCENE_ITEM_ENABLED",
        "event_parameters": {"scene_name":"S: Confeti", "item_id": 2},
        "image_idle": "<some_image_path>",
        "image_pressed": null,
        "label": "Confetti!"
      },
}
Package: eldf
Usage:eldf.to_eldf(object, indent = 4)Returns string in ELDF corresponding to a given object.eldf.parse(str)Converts string in ELDF into object.Использование:eldf.to_eldf(object, indent = 4)Возвращает строку в формате ELDF соответствующую переданному объекту.eldf.parse(str)Конвертирует строку в формате ELDF в объект.
Package: eldonationtracker
ELDonation Tracker is both a Python interface to theExtra Life CharityAPI and a reference implementation, including a GUI, that can be used to provide on-screen donation information and updates when streaming a gaming video or recording a gaming video in OBS or XSplit. For a video explaining how to use the GUI reference implementation, visit:http://djotaku.github.io/ELDonationTracker/. You may also use the API to build your own applications that access the API. The modules are well documented, see the Module Index in the documentation.Documentation is available at the Read The Docs page at:https://eldonationtracker.readthedocs.io/en/latest/index.html
Package: eldpy
LangSciThis package provides tools for interfacing with endangered language archives.For the time being, only the download functionality is robust enough for general use.The package contains script for the analysis of ELAN files. These analyses are quantitative (duration, tiers, tokens) as well as qualitative (vernacular language, tranlations, glosses, semantic domains).The analyses are cached in JSON format and can be exported to RDF.Sample usage:download all ELAN files from the AILLA archives:from eldpy import download
download.bulk_download(archive='AILLA', filetype=1, username='janedoe', password='mypassword')analyze all downloaded ELAN filesfrom eldpy.bulk import *
bulk_populate(cache=False)cache for future usage: as above and addbulk_cache()read cached informationfrom eldpy.bulk import *
bulk_populate(cache=True)compute tokens and durationsfrom eldpy.bulk import *
bulk_populate()
bulk_statistics()analyze ELAN tier hierarchiesfrom eldpy.bulk import *
bulk_populate()
bulk_fingerprints()-export as rdffrom eldpy.bulk import *
bulk_populate()
bulk_rdf()
Package: ele
OverviewElement is an extremely lightweight package that defines
the elements of the periodic table and allows them to be accessed
by symbol, name, atomic number, or mass. It haszero dependenciesoutside of the Python Standard Library.WarningEleis still in early development (0.x releases). The API may
change unexpectedly.UsageEleonly supports a few modes of use. You can retrieve an element
from the symbol, the name, the atomic number, or the mass (in amu):importelena=ele.element_from_symbol("Na")na=ele.element_from_name("sodium")na=ele.element_from_atomic_number(11)na=ele.element_from_mass(22.990)The mass is rounded to a single decimal before comparison. If you wish to
retrieve the element with the mass closest to the specified value you
may use theexact=Falsekeyword.EachElementhas four attributes which can be accessed
(as demonstrated below forna):na.namena.symbolna.atomic_numberna.massThe elements can also be accessed by symbol as follows:importelena=ele.Elements.NaInstallationInstall viapip:pipinstalleleorconda:condainstall-cconda-forgeeleInstallation from source is also an option:gitclonegit@github.com/rsdefever/ele.gitcdelepipinstall.Data SourcesComplete details of the sources are providedhereCreditsDevelopment of Ele was supported by the National Science Foundation
under grant NSF Grant Number 1835874. Any opinions, findings, and conclusions or
recommendations expressed in this material are those of the author(s) and do
not necessarily reflect the views of the National Science Foundation.
Package: ele2364
ELE2364 (reinforcement learning) support packagePackage to support the deep reinforcement learning exercises of the
ELE2364 (reinforcement learning) course at PUC-Rio.Copyright (c) 2024 Wouter Caarls
Parts copyright (c) 2020 Gabriel Nogueira (Talendar)Permission 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.IntroductionThis package provides the environments and approximators used in the
ELE2364 (reinforcement learning) course at PUC-Rio.To install, run´´´
pip install ele2364
´´´EnvironmentsThe environments provided inele2364.environmentsare:Pendulum (Pendulum-v1 from Gymnasium)Lander (LunarLander-v2 from Gymnasium)FlappyBird (FlappyBird-v0 by Gabriel Nogueira (Talendar))NetworksThe networks provided inele2364.networksare:V (state-value network)DQ (state-action value network with discrete actions)CQ (state-action value network with continuous actions)Mu (deterministic policy network)Pi (stochastic policy network)
Package: eleanor
eleanor is a python package to extract target pixel files from
TESS Full Frame Images and produce systematics-corrected light curves
for any star observed by the TESS mission. In its simplest form, eleanor
takes a TIC ID, a Gaia source ID, or (RA, Dec) coordinates of a star
observed by TESS and returns, as a single object, a light curve and
accompanying target pixel data.
Read the documentation athttps://adina.feinste.in/eleanor
Package: eleanor-mamu
eleanor is a python package to extract target pixel files from
TESS Full Frame Images and produce systematics-corrected light curves
for any star observed by the TESS mission. In its simplest form, eleanor
takes a TIC ID, a Gaia source ID, or (RA, Dec) coordinates of a star
observed by TESS and returns, as a single object, a light curve and
accompanying target pixel data.
Read the documentation athttps://adina.feinste.in/eleanorChanges to v1.0.1 (2019-12-19):Ability to use local postcardsAddition of eleanor.Update() for automatic sector updatesSignificant speedups when TIC, Coords, and a Gaia ID are all providedOther bug fixesChanges to v1.0.0 (2020-01-14):Removed some package dependencies* Added clarifications in documentationAdded new features to visualization toolsOther bugfixes
Package: election-campaign
Election-Campaign-TPLPurpose of the PackageThis library serves as an extension of and for the election campaign API (https://research-questions-api.herokuapp.com/docs#/). It is intended to aid developers who decide to use the API in a python IDE for research work related to election campaign and governance.FeaturesCollection of Research Questions Focus Areasgeneral_trendsget_alltweets()get_limitedtweets()get_filteredtweets()politicians_reputationget_alltweets()count_alltwets()citizens_sentimentcomplaints_areasGetting StartedThe package can be found on pypi hence you can install it using pipInstallationpipinstallelection_campaignUsagepoliticians_reputation>>>fromelection_campaignimportgeneral_trends>>>>>>#Retrieve Nigeria centered-tweets using the general_trends.get_alltweets() function>>>alltweets=general_trends.get_alltweets(data_type='json')>>>>>>#Retrieve limited Nigeria centered-tweets using the general_trends.get_limitedtweets() function>>>limitedtweets=general_trends.get_limitedtweets(limit=10,data_type='pandas.dataframe')Example>>>fromelection_campaignimportpoliticians_reputation>>>>>>#Retrieve the number of tweets about a certain politician from Nigeria centered-tweets using the politicians_reputation.get_alltweets() function>>>tweetcount=politicians_reputation.count_alltweets(filter='Atiku Abubakar',data_type='json')>>>print(tweetcount)>>>>>>'{"count": 1049}'>>>>>>tweetcount=politicians_reputation.count_alltweets(filter='Peter Obi',data_type='json')>>>print(tweetcount)>>>>>>'{"count": 21261}'ContributionThis Project is open to contribution and collaboration.
Feel free to connect.AuthorMain Maintainer: Michael Dubem Igbomezie
Package: elections-lk-nuuuwan
elections_lkVarious data about Sri Lankan elections sourced from theElection Commision of  Sri Lankaand theDepartment of Census and Statistics of Sri Lanka.Setup and Installpip install elections_lk-nuuuwanSee alsohttps://pypi.org/project/elections-lk-nuuuwan/.Release History2.1.2 (CURRENT RELEASE)refactoring2.1.1fix: BUG in items_othered (returns proportion, instead of count)2.1.0Added ElectionLocalAuthoritytests & refactoring2.0.0Made some significant changes. Will break most code written in 1.x.x. #BREAKING
Package: elective
A CSS naming hierarchy enforcer.What is elective?electiveis a Python program configuration option loader, capable
of loading options from configuration files (TOML, JSON, YAML), the
environment, or the command line, all with the same names and formats.
There are many other fine options available, but none offered this
combination of formats, configurable precedence, clear code and
documentation, or adequate testing.  Most also still use the ini
format, whichelectivewill not.RoadmapImplement basic TOML configuration loading frompyproject.toml(bring in frompccc, target:  0.2.0).Consolidate TOML, JSON, and YAML loading (target:  0.2.0).Addargparser(target:  0.4.0).Implement and add environment variable processing (target:  0.5.0).Implement and add*.envfile processing (target:  0.6.0).Implement testing, build, documentation, and CI (complete:  0.1.0).InstallationInstall elective with:pip install elective
pip freeze > requirements.txtor with poetry:poetry add electiveUsageIn code:>>> import elective
>>> conf = elective.Config()See the source anddocumentationfor more information.Copyright and LicenseSPDX-License-Identifier:GPL-3.0-or-laterelective, a CSS naming hierarchy enforcer.
Copyright (C) 2021Jeremy A Gray.This program 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.This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.You should have received a copy of theGNU General Public Licensealong with this program.
If not, seehttps://www.gnu.org/licenses/.AuthorJeremy A Gray
Package: electivegroup
pyresparserA simple resume parser used for extracting information from resumesForked from Omkar Pathak (https://github.com/OmkarPathak/pyresparser)
Customised by [Chris Dixon](https://github.com/chris-wm)FeaturesExtract nameExtract emailExtract mobile numbersExtract skillsExtract total experienceExtract college nameExtract degreeExtract designationExtract company namesInstallationYou can install this package usingpipinstallpyresparserFor NLP operations we use spacy and nltk. Install them using below
commands:# spaCypython-mspacydownloaden_core_web_sm# nltkpython-mnltk.downloaderwordsDocumentationOfficial documentation is available at:https://www.omkarpathak.in/pyresparser/Supported File FormatsPDF and DOCx files are supported on all Operating SystemsIf you want to extract DOC files you can installtextractfor your OS (Linux, MacOS)Note: You just have to install textract (and nothing else) and doc
files will get parsed easilyUsageImport it in your Python projectfrompyresparserimportResumeParserdata=ResumeParser('/path/to/resume/file').get_extracted_data()CLIFor running the resume extractor you can also use thecliprovidedusage:pyresparser[-h][-fFILE][-dDIRECTORY][-rREMOTEFILE][-reCUSTOM_REGEX][-sfSKILLSFILE][-eEXPORT_FORMAT]optionalarguments:-h,--helpshowthishelpmessageandexit-fFILE,--fileFILEresumefiletobeextracted-dDIRECTORY,--directoryDIRECTORYdirectorycontainingalltheresumestobeextracted-rREMOTEFILE,--remotefileREMOTEFILEremotepathforresumefiletobeextracted-reCUSTOM_REGEX,--custom-regexCUSTOM_REGEXcustomregexforparsingmobilenumbers-sfSKILLSFILE,--skillsfileSKILLSFILEcustomskillsCSVfileagainstwhichskillsaresearchedfor-eEXPORT_FORMAT,--export-formatEXPORT_FORMATtheinformationexportformat(json)Notes:If you are running the app on windows, then you can only extract
.docs and .pdf filesResultThe module would return a list of dictionary objects with result as
follows:[
  {
    'college_name': ['Marathwada Mitra Mandal’s College of Engineering'],
    'company_names': None,
    'degree': ['B.E. IN COMPUTER ENGINEERING'],
    'designation': ['Manager',
                    'TECHNICAL CONTENT WRITER',
                    'DATA ENGINEER'],
    'email': 'omkarpathak27@gmail.com',
    'mobile_number': '8087996634',
    'name': 'Omkar Pathak',
    'no_of_pages': 3,
    'skills': ['Operating systems',
              'Linux',
              'Github',
              'Testing',
              'Content',
              'Automation',
              'Python',
              'Css',
              'Website',
              'Django',
              'Opencv',
              'Programming',
              'C',
              ...],
    'total_experience': 1.83
  }
]
Package: electivity
electivityEcological electivity and forage indicesDescriptionA compact scientific package for calculating electivity and forage preference indices including Ivlev E, Jacobs D, and Vanderploeg and Scavia E*.Designed to work seamlessly with Pandas dataframes.Installationpip install electivityUsageEveryelectivityfunctiontakes two parameters—a list of available resources and a list of consumed resources—and returns an equal-length Pandas Series of electivity values calculated element-wise. The easiest way to work withelectivityis using Pandas dataframes, but any list-like data input will work. If a list output is desired, the output can be cast usinglist( ... ).Exampleimportpandasaspdimportelectivity# Build a dataframe of resource datadata=pd.DataFrame({"available":[10,10,10],"consumed":[10,3,0]})# Calculate Ivlev electivity and assign it to a new columndata=data.assign(E=electivity.ivlev_electivity(data.available,data.consumed))Functions and indicesFunctionAlgorithmivlev_forage_ratioIvlev Forage Ratio E' (Ivlev 1961)ivlev_electivityIvlev Electivity E (Ivlev 1961)jacobs_electivityJacobs' Electivity D (Jacobs 1974)jacobs_forage_ratioJacobs' Forage Ratio Q (Jacobs 1974)strauss_linearStrauss' Linear Index L (Strauss 1979)chessons_alphaChesson's Alpha α (Chesson 1978)relativized_electivityRelativized Electivity Index E* (Vanderploeg & Scavia, 1979)CitationZuspan, A. 2021. electivity: Ecological electivity and forage indices, v1.0.0, Zenodo, doi:10.5281/zenodo.4567591ReferencesChesson, J. 1978. Measuring preference in selective predation. Ecology 59:211-215.Ivlev, V. S. 1961. Experimental ecology of the feeding of fishes. Yale Univ. Press, New Haven.Jacobs, J. 1974. Quantitative measurement of food selection. Oecologia (Berl) 14:413-417.Strauss, R. E. 1979. Reliability estimates for Ivlev's electivity index, the forage ratio, and a proposed linear index of food selection. Trans Am Fish Soc 108: 344-352.Vanderploeg H. A. and Scavia D. 1979. Calculation and use of selectivity coefficients of feeding: zooplankton grazing. Ecol Modelling 7:135-149.
Package: electoral-system-analysis
Electoral Systems AnalysisConjunto de funciones asociadas al reparto de representantes de un sistema electoral, dentro del marco implementado por la constitución española de 1978.Cómo comenzarLas funciones que contiene este paquete están desarroladas utilizandoPython 3.8.RequirementsLos paquetes que utiliza estas funciones son:PandasInstalaciónpip install electoral-system-analysisContenidoLas funciones dentro del paqueteelectoral-systems-analysisse dividen en tres grupos.Limpia de datosDentro declean_electoral_data.pyse pueden encontrar las diferentes funciones usadas para limpiar los datos de las elecciones generales sacados delministerio de interior.Cada proceso electoral tiene su función propia debido a que cada proceso tiene una estructura de datos distinta. Además en muchos casos se ha tenido que hacer un preprocesamiento manual posterior a los resultados de la limpia.2023 Julio:https://docs.google.com/spreadsheets/d/1caYOQNjlfU5ygxCR9EK3ZSCCrGlS7mJxNXMVLWhybzg/edit#gid=12604963202019 Noviembre:https://docs.google.com/spreadsheets/d/16hnM4m8h453KBpRzQB0FYljixHatGQsvJxLzrKHt16c/edit#gid=838017858Distribución de escaños por regionEndistribution_regions.pyencontramos diferentes maneras de repartir los escaños entre las regiones. Por defecto el sistema utiliza la metodología deLOREG.Distribución de escaños por partídoEndistribution_formulaspodemos encontrar diferentes fórmulas de reparto de escaños entre partidos como:Ley de D'Hondtdhondt:https://es.wikipedia.org/wiki/Sistema_D%27HondtSainte-Laguësainte_lagueysainte_lague_modificado:https://es.wikipedia.org/wiki/M%C3%A9todo_Sainte-Lagu%C3%ABCociente de Harehare:https://es.wikipedia.org/wiki/Cociente_HareCociente de Droopdroop:https://es.wikipedia.org/wiki/Cociente_DroopCociente de Imperialiimperiali:https://es.wikipedia.org/wiki/Cuota_ImperialiCociente de Hagenbach-Bischoffhagenbach:https://es.wikipedia.org/wiki/Cuota_Hagenbach-BischoffPodemos acceder a los diferentes métodos a traves de la funciónget_distribution_formulamediante las keys que aparecen arriba.Score de ProporcionalidadPara medir la proporcionalidad del sistema se ha creado una función que suma el valor absoluto de la diferencia del porcentaje de votos de cada partido y su porcentaje de representantes. Esta suma se la resta a 1, de tal manera que un sistema en el que coincida el porcentaje de votos y de escaños obtendrá una porporcionalidad del 100%.score_proportionality = 1 - SUM(ABS(votes_percent - representatives_percents))Este score sirve para poder comparar y detectar aquellos sistemas electorales en donde haya menos relación entre el porcentaje de representantes con los de votos.AutorSantiago Arran Sanz(santhiperbolico)
Package: electre-methods
ELECTRE METHODSWe present a new methodology that offers flexibility in constructing ELECTRE multiple criteria
decision-aiding methods. We provide a broad spectrum of elementary ELECTRE-based modules that can be joined together in many different combinations and used via a user-friendly
Python library. In constructing an outranking relation, we consider a diversity of procedures
for executing concordance as well as (non-)discordance tests, computing the valued outranking
relation interpreted as a degree of credibility and transforming it into a crisp relation to examine
if the outranking holds. In the process of outranking exploration, we relate to three types of
algorithmic problems: choice, ranking, and sorting. By combining together the ELECTRE-based
construction and outranking exploration procedures, a user can reconstruct the existing method
or develop a new ELECTRE without any programming skills. To achieve that, a user needs to
join provided modules to create one of several hundred paths that are introduced in this thesis.
We facilitate the selection of an appropriate method, i.e., the right combination of modules, by
providing questions and answers related to the characteristics of decision-making problems. The
proposed solution is demonstrated in case studies for each considered type of outranking exploration.
Package: electricalcalc
electricalcalcThis is the package that houses various functions which can be used to calculate values for problems involving circuit design , value of the components which are needed to construct the circuit and so onDevelopment Status:Under Development (Early release)Developed by:Vishal Balaji SivaramanVigneshwar RavichandarSanjay RajavelInstallation:Use the package managerpipto install electronicscalc.pipinstallelectricalcalcTo import electronicscalc:importelectricalcalcLicense:MIT
Package: electricalsim-opf-quadratic
electricalsim-opf-quadraticExtension for solving the Optimal Power Flow calculation (OPF) with quadratic costs for theElectrical Grid Simulator (EGS).This extension uses thepandapowercapabilities for OPF through thePYPOWERsolver, according to therunopp()andrundcopp()functions (AC OPF and DC OPF). For more details, see thepandapowerdocumentationhere.Intallation & updatesUsingpip:pipinstallelectricalsim-opf-quadratic-UOn MS Windows you may prefer:python-mpipinstallelectricalsim-opf-quadratic-U