Saravanan666/pypi-org huggingface dataset:
Package: epiwrap
EpiWrapThis is a wrapper for the epitech intranet 'api'installationpipinstallepiwrapYou can see here some examples:fromepiwrapimportintraclient=intra.EpiWrap(token="your token"orautolog="autolog link")user=client.get_profile()print("Name: "+user.fullname+"\nCredits: "+str(user.credits))Go check thewikifor more informationsHow to get your token ?(token are limited in time but not autolog link so it's better to use autolog)You must be connected to theintranetNow with the network tool (firefox "ctrl + shift + e", chrome "ctrl + shift + i" and then go in the network tab)
Click on the/requestNow go on thecookies taband copy your user token (it should look like this)Now you have your token, (don't forget that the cookie resets, so you have to change it when it's reset. Unfortunately I can't do anything to correct this)
Package: epkeeperlib
epkeeperlib通用包common通用模块utils通用工具divide除法函数。可指定小数点位数，可生成占比、增减比例的百分值print_df打印pd.DataFrame。可直接复制进excelcreate_path若不存在该路径，则创建该路径bill电费账单相关工具ep_calc电能计算工具get_ele_use根据输入的电能值的时间序列（pd.Series），输出用电量monitor_bill监控电费账单计算工具get_unit_price根据输入的电价参数匹配到相应的电价信息（pd.DataFrame）get_pf_adjust_rate功率因数调整比例计算函数tou分时段工具TOU_HOUR每个省份的分时段参数get_season_code获取电价的季节码（夏季、非夏季）get_tou_hour获取分时段小时db数据库工具mysql_poolMySQL工具MysqlPoolMySQL连接类mysql_fetch_dataMySQL数据获取函数mysql_executeMySQL执行函数mysql_insert_df插入pd.DataFrame至MySQL数据库fetch_monitor监控数据获取工具get_oa_monitor_data获取OA监控数据库函数sql_faraday法拉第数据库SQL语句FARADAY_BILL_SQL账单SQLFARADAY_TARIFF_SQL电价表SQLFARADAY_TIME_OF_USE_SQL分时段表SQLFARADAY_INSPECT_RECORD_SQL巡检记录SQLFARADAY_DEFECT_RECORD_SQL缺陷记录SQLsql_oaOA数据库SQL语句OA_USER_INFO_SQL用户基本信息SQLOA_USER_ELECTRICITY_SQL用户电气信息SQLOA_INSPECT_RECORD_SQL巡检记录SQLOA_MONITOR_INFO_SQL监控信息SQLOA_MONITOR_ALERT_SQL监控告警记录SQLOA_MAINTENANCE_SQL工程维护信息SQLOA_DEFECT_RECORD_SQL缺陷记录SQLmicrogrid微电网相关工具epk自建微电网模型PVWattsAPIPVWatts 光伏数据接口nrelREopt_Lite_API接口get_api_resultsFunction for posting job and polling results end-point版本日志Ver 1.0.20fix bugVer 1.0.19add microgrid.epk.PVWattsAPIVer 1.0.18add common.exceptionsVer 1.0.16-17add nrel_apiVer 1.0.13-15fix MysqlPool.insert_dfVer 1.0.10-12fix bugVer 1.0.9add TOU_HOUR codeVer 1.0.8加入README和HISTORY
Package: epl
epl(pronounced ‘epple’) provides enhanced package logisticseplstrives to be anewtype of manager for virtual environments and
packages. It will also attempt to incorporate several recent additions to the
Python Standard Library in order to take advantage of all the wonder that is
Python 3.Noteepl will only run onPython >= 3.6BackgroundWhen I first started developing with Python, the latest version was 3.4, which
is what I used. I’ve never had any reason to to go back and learn much about
Python2. Over the years now, my Python skills have (I hope) improved, as has
the Python language itself.One of the mostdifficultthings I’ve had to master as a Python developer is
dealing with Packaging and Dependency Management. In addition, although I’ve
been a big fan ofvirtualenvandvirtualenvwrapper,
as of Python 3.3, the Standard Library includes its ownvenvmodule and I
would like to explore the possibilities with that.eplis an exploration for me at this point. If things goreally, really well, it could be thenext big thing😜.
On the other hand, it could die a horrible death next month, as
I throw up my hands and run screaming for the exits…🤯NoteThis project is in its embryonic stage and I am uploading it
to PyPi more as a formality at this point. I have not yet granted access
to the source code repo - I would like to get a few ideas down more
concretely before I open this project to the world.
I have every intention of doing so - stay tuned…Objectiveseplis inspired bypipandPipenvbut yearns to be somehthing a little bit more - and also a little bit less.No backwwards compatibility with Python 2Avoid as many external dependencies as possibleExplore the possibility of a ‘core’ install capability that can be used to
bootstrap the initial install ofeplSubclass thevenv.EnvBuilderclass in the Standard Library
to implement virtual environmentsImplementTDDandBDDright from the startImplement type hints, using the newtypingmodule, introduced in Python 3.5Implement Pipfile and Pipfile.lock, rather than requirements.txt.See the Pipfile project on GitHubImplement checks of signed code usingGPGProvide the ability to completely package and deploy the recursive set of
dependencies in addition to the target package, for installation of packages
when there is no network availabilitySpecify Build System dependencies usingpyproject.toml, as described inPEP 518InstallingInstall and update usingpip:pipinstall-UeplLinksWebsite:Documentation:License:https://www.gnu.org/licenses/agpl.htmlReleases:https://pypi.org/project/epl/Code:Issue tracker:Test status:Test coverage:
Package: eplan-parser
EnergyPLAN Output Parser/ConverterSince EnergyPLAN's output is the opposite of "easy to parse" for a program, I have created this script to convert it to a handy JSON file. You can use it both as a standalone program to convert the output file to JSON, or import it as a library in your python program and get the data as a standard Python dictionary. In the future, I might also add a CSV output format - although I think it's much less suited for such a structured output.Installation$pipinstalleplan_parserUsage as a Standalone Script$eplan_parsereplan_output.txtparsed_output.json✓-Read8889linesfrom"eplan_output.txt"✓-ParsedCO2section✓-ParsedRESSharesection✓-ParsedFuelConsumptionsection✓-ParsedAnnualCostssection✓-ParsedYearlyTotalssection✓-ParsedHourlyTotalssection!-Costsoverviewparsingnotyetimplemented!-Fuelbalanceparsingnotyetimplemented✓-ExportedJSONdatasetto"parsed_output.json"-6.6Mb(6928567bytes)writtenUsage as a Helper Libraryimporteplan_parser# [...]# Run EnergyPLAN & whatever# [...]data=load_dataset("eplan_output.txt")co2_emission=data['CO2 Emissions']['total']print(co2_emission)CompatibilityTested on EnergyPLAN versions:16.2If you've used this script and found it useful, please let me know if you got any errors or had good compatibility, especially if you're using a different version of EnergyPLAN.
Package: eplines
eplinesHeatmaps of empirical and exceedance probability of many (time-)series.This package is at alpha stage and experimental.Requirementsnumpy
matplotlibInstallationpip install eplinesExamplesSee \examples folder for example applications ofeplinesTemperature time series ECDF\examples\example_temperature_timeseries.pyDischarge time series exceedance probability (aka flow-duration curve)\examples\example_usgs_discharge.pyMIT LicenseCopyright (c) 2022 Reinert Huseby KarlsenPermission 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: epm
Enterprise package manager for C/C++ development base onconananddocker.check website for detailsepmall.github.io/epm.IntroductionEPM is an enterprise package manager base onConanandDocker, intended for C/C++ development team, and it extends many utilities to manage build, test, document and continuous integration to improve team development efficiency and quality.EPM , is inspired bynpm(Node.JSpackage manager),  uses meta-information manifest ( package.yml) to manipulate development activities of the package.EPM can be use to :create project skeleton.all conan features (building, cache, publish package ...)run built program in sandbox no need to set dependent dynamic libraries pathsa command to generate CI configure file to avoid complicated configure.collaborate with Gitlab (via .gitlab-ci.yml) to easy continuous integrationmanage versioning document of Markdown by underlyingMKdocs.Setupplease readinstallation guide.Your first EPM projectIf  EPM installed successfully, type following command to verify your installation$epm--version
EPM0.1.0Now let's make your epm project step by step.Create package projectLet create an application program with name HelloWorld.C:\>mkdirHello

C:\>cdHello

C:\Hello>epminit--nameHelloWorld
apppackage<HelloWorld>projectcreatedsuccessfully.
Tobuildproject,runcommand:epm-cvs2019buildAfter creation, you can find some folders and files under this directory. Opensource/main.cyou will see#include<stdio.h>intmain(intargc,char**argv){printf("HelloWorld 0.0.1\n");return0;}Build packageC:\Hello>epm-cvs2019build[configure......]Configuration:[settings]arch=x86_64arch_build=x86_64build_type=Releasecompiler=VisualStudio
compiler.runtime=MD
compiler.version=16os=Windowsos_build=Windows[build......]Usinglockfile:'C:\Hello\.epm\vs2019\build/conan.lock'Usingcachedprofilefromlockfile
conanfile.py(HelloWorld/0.0.1@epm-public/dev):Runningbuild()--SelectingWindowsSDKversion10.0.17763.0totargetWindows10.0.18362.
--TheCcompileridentificationisMSVC19.23.28106.4main.cHelloWorld.vcxproj->C:\Hello\.epm\vs2019\build\bin\HelloWorld.exeBuildingCustomRuleC:/Hello/CMakeLists.txtCMakedoesnotneedtore-runbecause[install......]--Installconfiguration:"Release"--Installing:C:/Hello/.epm/vs2019/package/bin/HelloWorld.exe[packagetesting......]Usinglayoutfile:C:\Hello\.epm\vs2019\conan.layout

HelloWorld/0.0.1@epm-public/dev(testpackage):Installingpackage
RequirementsHelloWorld/0.0.1@epm-public/devfromuserfolder-Editable
PackagesHelloWorld/0.0.1@epm-public/dev:3fb49604f9c2f729b85ba3115852006824e72cab-Editable

HelloWorld/0.0.1@epm-public/dev(testpackage):Runningbuild()HelloWorld/0.0.1@epm-public/dev(testpackage):Runningtest()Run the built packageC:\Hello>epm-cvs2019sandboxHelloWorld
HelloWorld0.0.1ContributionLicenseproject base on conan, license also adhere to it.MIT License
Package: epmatools
Welcome to EPMAtoolsPython module to manipulate EPMA analysesInstallationThe Python packageepmatoolscan be installed from PyPI:python -m pip install epmatoolsInstallation of master version using conda/mambaYou can also use the provided conda/mamba environment file to install it. Download the package and unzip. Open terminal in unpacked folder and create environment:conda env create -f environment.ymlthen activate newly created environment:mamba activate epmatoolsand installepmatoolspackage using pip:# pip install .Development installationIf you want to contribute to the development ofepmatools, we recommend
the editable installation from this repository:python -m pip install --editable .[tests]Having done so, the test suite can be run usingpytest:python -m pytestUsageCheck example in the followingjupyter notebookAcknowledgmentsThis repository was set up using theSSC Cookiecutter for Python Packages.
Package: epmodel
epmodelepmodel is a pydantic (V2) data model for EnergyPlus modeling.
The data model code itself is automatically generated from the EnergyPlus
JSON schema using thedatamodel-code-generatorpackage.UsageDue to the size of the official EnergyPlus JSON schema, we reduce the data model scope
down the a few commonly used ones. The name of these data models are list in thekeys.txtfile, which is also used to generate the data model code.Expanding the scope of data modelWe can add object to the data model by adding names directly to thekeys.txtfile.Generate the source codeTo generate the source code, run the following command inside thecodegendirectory:pythoncodegen.pyAs a result, asrc/epmodel/model.pyfile will be a generated with the data model code.Using the data modelUsing the data model object is as simple as:importjsonfromepmodelimportEnergyPlusModelwithopen("model.epJSON","r")asf:data=json.load(f)model=EnergyPlusModel.model_validate(data)The code above loads in the EnergyPlus epJSON model and validate it against the data model.
If the mode is valid, aEnergyPlusModelobject will be returned, otherwise, anValidationErrorwill be raised.One of the benefits of having such data model, beyond data validation, is that we can use
autocomplete in IDE to help use write the code.DependenciespydanticDependency for code generationdatamodel-code-generator
Package: epmwebapi
epmwebapiA bibliotecaEpmwebapidesenvolvida pelaElipse Software, permite a interação com os dados da sua plataformaElipse Plant Manager(EPM). Possibilitando flexibilidade para buscar, organizar, analisar, compartilhar e monitorar os dados de processo industrial.Seu uso típico, mas não exclusivo, é a geração de indicadores, análises de dados, estatística e inteligência de processo voltados para sistemas industriais como Indústria Química, Petroquímica, Papel e Celulose, Siderúrgica, Energia, Saneamento, Data Centers, Prédios Inteligentes, entre outros.Mais informações sobre oEPMpodem ser encontradas no sitehttps://www.elipse.com.br/produto/elipse-plant-manager/Requisitos:EPM Webserver 3.06 (para acesso aos dados do EPM Server, não precisa estar instalado na mesma máquina da epmwebapi).Python 3.6 x64 ou superiorInstalação:Online(Recomendado):Após instalar o Python, digite no prompt de comando ou terminal:pip install epmwebapi. O instalador se encarregará de baixar e instalar a biblioteca e suas dependências.Offline:Faça do download do pacote através do site daElipse.Faça a descompactação da pastaepmwebapie copie para o diretóriosite-packagesda instalação do Python.Instale as dependências: Bibliotecas Numpy, Requests e Python-dateutil.Exemplos:Exemplo básico- Exemplos de leituras e escritas de dados e anotações.Matplotlib- Utilizando essa biblioteca para gerar gráficos.Pandas- Use Pandas para manipular dados tabulares.Pandas e dataviz- Utilizando essas bibliotecar para manipular dados e gerar visualizções gráficas.Numpy- Numpy é uma biblioteca essecial para trabalhar com cálculos de dados em matrizes.Regressão por árvore de decisão- Veja como utilizar a biblioteca Scikit-learn para fazer uma regressão.Utilizando Concorrência- Usando concorrência para alta performance de consultas ao EPM Server.Buscando em um webserver e escrevendo no EPM Server- Lendo dados de temperatura do Webserver do INPE e escrevendo em uma variável do EPM Server.Machine Learning- Noções e exemplos de uso dessa técnica cada vez mais utilizada em dados de processo.Análise de temperatura e conforto térmico- Análises de dados reais de temperaturas das salas da Elipse.Criando mapas- Trabalhando com dados de geolocalização e mapas interativos.Acessando informações do EPM Server- Acessando informações como versão, chave de produto, diagnósticos dos Interface Servers, etc.
Package: epnel
epnelA simple esoteric and lispy programming language without parentheses.descriptionoperatorsEach operator takes two arguments: (expression, expression).
They work the way you would expect.+- addition-- subtraction*- multiplication/- division<- comparison (lower than)>- comparison (bigger than)|- alternation (or)^- disjunction (xor)&- conjunction (and)=- equation (is equal to?)Comparison operators return boolean types.Logical operators work either on number's bits or booleans.conditionalsConditional takes three arguments: (test, then, else).
If "test" evaluates to True, then the "then" branch is executed. Otherwise the "else" branch is executed.?- conditionalassignmentsThe first argument for each assignment operator is a name.
Names are also expressions and will be evaluated before assignment.
The only restriction is that you can't bind to any reserved keywords..- variable assignment,- function assignment:- number reassignmentThe variable assignment takes two arguments: (name, expression).
"Expression" is evaluated and it's value is bound to the name.The function assignment takes three arguments: (name, definition, expression).
"Definition" is an expression, which isn't evaluated until the "name" is called.
Whenever a call to "name" appears it will evaluate the function definition expression and return it's new value.
"Expression" is the return value of the function assignment.Assignments bind values or expressions to names. This means you can also change the behaviour of numbers.Number reassignment takes only one argument and returns a value of it's argument's value. Similar functionality is attributed to "dereference" in some languages. The argument is interpreted as if it's value was typed straight in place of this assignment.Number reassignment reassigns to itself a number corresponding to the value of it's name.booleansYou can produce booleans using comparison operators. True is equal to 1 and False is equal to 0.
The boolean primitive evaluates to False (and is immutable).!- boolean (false)numbersor as some would say: literalsdecimalsDecimal numbers are composed of digits or passed around as variables.
The default value for any variable is zero: 0 or False.namesThe variable name can be anything which is not a language keyword.
If name is an expression it is evaluated and the result is used as a literal name.
You can use the assignment to bind names with values.expressionsExpressions are evaluated either to numbers or booleans. Everything is an expression.inspirationPolish Notationwas the inspiration to write this language, therefore I named the language "epnel".E - Esoteric
P - Polish
N - Notation
E - Evaluation
L - LanguageinstallationYou can simply use:$ pip install .wishlistSome things that might be nice to have:compiler to ClicenseGNU GPLv3
Package: epoa-tools
epoa-tools: WA EPOA pay transparency toolsWashington state's Equal Pay and Opportunities Actrequires pay
ranges to be included on job ads (RCW 49.58.110). WA L&I provides aPDF
complaint formfor violations.epoa-toolsautomates some
of the toil around this form, such as filling out basic information, checking
the right boxes, and optionally including additional PDF files as evidence (e.g.
the related job posting without pay range information).The output is a single PDF which can be dropped intoWA L&I's secure file
upload.Prerequisitesepoa-toolsdepends onpdftkfor filling out forms and joining pages.On Debian / Ubuntu, install with:sudoaptinstallpdftk-javaInstallationepoa-tools is available on PyPI:pip install epoa-toolsUsageSave a PDF file with evidence of the violation (e.g. job ad or recruiter email).
Browsers can print or save web pages as PDFs.Then, useepoa-job-adto complete the complaint form, attaching your evidence
file:epoa-job-ad\--name"John Q. Public"--emailjohn.q.public@example.com\"ACME Anti-Pay Ranges, Inc."\saved_job_ad.pdfTo file anonymously, omit the--nameargument. The complainant name on the
form will be listed asAnonymousand the signature line will containAnonymous (your.email.address@example.com):epoa-job-ad\--emailanon.e.mouse@example.com\"ACME Anti-Pay Ranges, Inc."\saved_job_ad.pdfOptionally include additional information text about your complaint with the-i/--addinfo/--additional-informationoption:epoa-job-ad\--emailanon.e.mouse@example.com\"ACME Anti-Pay Ranges, Inc."\saved_job_ad.pdf\-i"This job ad is public, contains specific job requirements for a job in WA, but lists no pay range"Word(s) can be redacted from evidence file attachments on a best effort basis:epoa-job-ad\--emailanon.e.mouse@example.com\"ACME Anti-Pay Ranges, Inc."\saved_job_ad.pdf\-rremove_this_word-ralso_remove_this_wordEach of these examples creates a file such asjohn-q-public-acme-anti-pay-ranges-inc-20230101-pay-transparency-complaint.pdfwhich can then beuploaded to WA L&I.DevelopmentPoetryinstallationViapipx:pip install pipxpipx install poetrypipx inject poetry poetry-dynamic-versioning poetry-pre-commit-pluginViapip:pip install poetrypoetry self add poetry-dynamic-versioning poetry-pre-commit-pluginDevelopment tasksSetup:poetry installRun static checks:poetry run poe lintorpoetry run pre-commit run --all-filesRun static checks and tests:poetry run poe testCreated fromsmkent/cookie-pythonusingcookiecutter
Package: epochis
epochisA CLI to convert offsets from epoch to human readable datesUsage$epochis--help
Usageepochis{date}{unit}Exampleepochis604m
SupportedUnitsm:monthssinceepochd:dayssinceepochs:secondssinceepochms:millisecondssinceepochExamples# months since epoch$epochis604m2020-05# days since epoch$epochis18409d2020-05-26# seconds since epoch$epochis1590537600s2020-05-2600:00:00# milliseconds since epoch$epochis1590537600ms2020-05-2600:00:00.000Timezone supportAll dates are in UTC. Timezone support may be added in the future.Why doesn't this use third-party libraries?There are plenty of libraries to choose from for functionality such as CLI args parsing so why didn't I use them?
This project is just for fun so why not? I like to practice by writing functionality from scratch.Dev NotesTo install locally as standalone CLIpython setup.py installTo upload to pypipython setup.py sdist
twine upload dist/*To run unit testspython -m unittest
Package: epochs
epochsPython package to handle configuration files specifying values changing over timeFree software: BSD licenseDocumentation:https://epochs.readthedocs.io.FeaturesThe main features of epochs are:Parse date-based configuration files and retrieve values based on datetime.Validate configuration files, both normal and epoch date-based ones, against a specification.For example, for a configuration file,epochs.cfg, such as:[2019-04-09 20:27:15]
value   : 3

[2019-04-09 22:31:01]
value   : 5The dates can be anything parsed bydateutil.parser.parse. Then, epochs can retrieve the correct value from the config file corresponding to a given date:>>>importepochs>>>ep=epochs.parse('epochs.cfg')>>>value=ep.get('value',datetime='2019-04-09 21:55:45')>>>print(value)3>>>value=ep.get('value',datetime='2019-04-09 23:15:40')>>>print(value)5The “correct” value is the one specified in the earliest section of the configuration file with a date on or before the given date.Below is an example specification for a configuration file:[city]
name    : required=True, type=str
streets : required=True, type=List[str]
temp    : required=False, type=float, default=0.0And an example configuration file following this specification:[city]
name    : Boulder
streets : [Broadway, Baseline, Valmont]Then to parse the configuration file with its specification:>>>importepochs>>>cf=epochs.parse('example.cfg',spec='spec.cfg')>>>name=cf.get('name',section='city')>>>print(name)Boulder>>>streets=cf.get('streets',section='city')>>>print(steets)['Broadway','Baseline','Valmont']>>>temp=cf.get('temp',section='city')>>>print(temp,type(temp))0.0<class'float'>CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-04-12)initial creation0.1.1 (2019-04-19)basic config parser with specification file0.1.2 (2019-04-19)better repr and str representations0.2.0 (2019-04-22)basic epoch parser
Package: epomodoro
Easy Pomodoro CLITable of ContentsAboutGetting StartedUsageTestAboutSmall CLI application that implements the Pomodoro routineGetting StartedThe default pomodoros are 4 with a time range of 20 minutes each one.
After countdown there will be a chill out time to relax.To install from PyPIpip install epomodoroTo install manually cloning the repositorypip install --editable .Usageepomodoro startChange default parametersepomodoro start --length 20 --pomodoros 2 --chill 10epomodoro start -l 20 -p 2 -c 10You can get the statistics of your pomodoros from last week if there is dataepomodoro statisticTo clean the data store in~/.config/epomodoroepomodoro cleanAutocomplete for CLITo add autocomplete in Bash shell_EPOMODORO_COMPLETE=bash_source epomodoro > ~/.epomodoro-complete.bash
. ~/.epomodoro-complete.bashTo add autocomplete to CLI when press Tab for ZSH shell_EPOMODORO_COMPLETE=zsh_source epomodoro > ~/.epomodoro-complete.zsh
. ~/.epomodoro-complete.zshTestSee Makefile definitionTo run testmake test