Saravanan666/pypi-org huggingface dataset:
Package: pyenv_mirror
IntroductionHelp building a pyenv local mirror!Installpip install pyenv-mirrorUsage$ pyenv-mirror-download --help
Usage:
    pyenv-mirror create-mirror
    pyenv-mirror download-package <pkg-name> [<python-build-path>]create-mirror$ ls
$ pyenv-mirror create-mirror
$ ls
pyenv-local-mirrorCreate a directory namedpyenv-local-mirrorin current working
directory. The structure ofpyenv-local-mirroris almost identical
toyyuu/yyuu.github.com,
except that all the so-called “packages” located inpyenv-local-mirror/pythonswere removed.download-packagepyenv-mirrordownload-packagedownloads all related files of a
package to current working directory.pyenv-mirrordownload-package<pkg-name>[<python-build-path>]:<pkg-name>, same as the arguement followingpyenv install.<python-build-path>, the path ofpython-builddirectory. If you installedpyenvthrough homebrew, you might
need to pass the path of above directory explicitly. If omitted, the
path is default to$PYENV_ROOT/plugins/python-build/share/python-build.$ pyenv-mirror download-package 2.7 '/usr/local/Cellar/pyenv/20160310/plugins/python-build/share/python-build'
Downloading https://www.openssl.org/source/openssl-1.0.2g.tar.gz#b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33
Downloading http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43
Downloading http://www.python.org/ftp/python/2.7/Python-2.7.tgz#5670dd6c0c93b0b529781d070852f7b51ce6855615b16afcd318341af2910fb5
$ ls
Python-2.7.tgz        openssl-1.0.2g.tar.gz readline-6.3.tar.gzStart The Mirrorcdpyenv-local-mirror.Define yourPYTHON_BUILD_MIRROR_URLin./pythons/install-pyenv.sh.Customize HTTP port by changingPORTof./pythons/run-http-server.sh. By
default,PORTequals to8999.Execute script./pythons/run-http-server.sh.
Package: pyenvnoise
Environmental noise analysis in PythonThe library contains:utils.*: comprehensive sets of functions for pre- and post-signal processinginstallInstall latest version:pip install pyenvnoise==0.1.1Latest development version from git:pip install poetry # if not already installed
pip install git+https://github.com/ducphucnguyen/PyEnvNoise.gitRead *.pti filesA fastest method to read acoustic files with *.pti extensionimportpyenvnoisefrompyenvnoise.utilsimportptiread# read .pti files# output:# signal: array(lengh samples, numbers of channels)# fs: sampling frequency# t: time of files# d: date of filesignal,fs,t,d=ptiread('Recording-1.1.pti')
Package: pyenvs
Highly Minimalistic .env File WrapperSample:Suppose you have the following .env file:ACCESS_KEY=jriofesdjxifocjewsayiofdlcjParsing it may look something like this:>>>importos>>>frompyenvsimportload_dotenv>>>load_dotenv()>>>os.environ["ACCESS_KEY"]jriofesdjxifocjewsayiofdlcj
Package: pyenvsync
PyEnvSyncPyEnvSync assists with synchronizing and validating Python workspaces across users and devices, ensuring seamless collaboration and consistent setups.Key FeaturesVerifies Your Python VersionEnsures the Correct Dependencies Exist in Your EnvironmentValidates that the Required Environment Variables Exist on Your SystemInstallationpip install pyenvsyncCreating the Configuration FileThis packages utilizes a configuration file namedpyenvsync.ini. This file contains the following 3 sections:versionSetpythonequal to the version of Python required.requirementsSet paths to your requirements file(s). Typically there is only one but sometimes projects have multiple.NOTE: For this section, the name of each entry does not matter. I often usemainanddevbut you can use whatever makes sense.variablesSet each environment variable equal to a description explaining what that variable is.NOTE: Capitalization matters for environment variables.Examplepyenvsync.iniconfiguration file:[version]python=0.0.0[requirements]main=requirements.txtdev=requirements-dev.txt[variables]VAR_NAME_1=Variable DescriptionVAR_NAME_2=Variable DescriptionExample UsageIn terminal from the directory containing thepyenvsync.inifile, run the following command and view the results:pyenvsyncORpython -m pyenvsyncExample SuccessExample with WarningsCommunityAll future work items are tracked in the "PyEnvSync To-Do" Project. Please submit requests, create issues, or utilize discussions.
Package: pyenvtool
PyEnv ToolA convienience wrapper for common pyenv operations.This tool is designed for Python developers who primarily use pyenv to keep
a complete array of up-to-date Python executables installed. This tool should
be considered porcelain to pyenv's plumbing, but NOT as a complete interface
replacement. Many pyenv operations will still need to be perfomed via pyenv's
interface.Operational Goalpyenvtoolis built around the concept of a "main" version which is composed
of a major and minor version, but ignores any bugfix, prerelease, or build
information. That is,3.11.0,3.11-dev, and3.11.2are all the same
"main" version of3.11.pyenvtooloperates with the goal that any existing main version of Python
should be left on the system, but updated if possible, and any supported main
versions of Python should be installed if absent.For every main version that issupportedandnot presenton the system:The latest bugfix version is installedFor every main version that issupportedandpresenton the system:The latest bugfix version is installed if not already presentBugfix versionspriorto the latest are uninstalled, unless the--keep-bugfixoption is providedFor every main version that isunsupportedandpresenton the system:The latest bugfix version is installed if not already present, unless the--remove-minoroption is providedBugfix versionspriorto the latest are uninstalled, unless the--keep-bugfixoption is providedUsageComplete help documentation can be found by runningpyenvtool --help, the
following is only a quick-start introduction.The primary usage will be thepyenvtool upgradecommand, which will perform
whatever pyenv operations are required to leave the system with a complete
array of up-to-date Python executables. By default, this command will:Scrape python.org to determine which Python versions are currently supportedUpdate pyenv with the latest list of available versions (and possibly also
update the pyenv tool itself).Update any installed Python versions to the latest bugfix version (by
installing the new version and uninstalling any old versions)Install any supported Python versions, at the latest bugfix, which are not
currently installedUninstall any unsupported Python versions EXCEPT for the latest bugfixThis behavior can be changed with the following command arguments:--keep-bugfix/-kKeep any existing python versions even if a newer bugfix is available.--remove-minor/-rRemove ALL unsupported python versions, including the latest bugfix.--no-updateDo not update the pyenv tool or the list of available versions--dry-run/-nCheck the system and determine the necessary changes, but do not execute
them.InstallationTo installpyenvtool, run the following command.python3should point to
whatever Python binary you want to install it under, version 3.8 or later.python3 -m pip install pyenvtoolPrerequisitesThis tool requirespyenvto be installed and available in the path. Thepyenvproject can be found athttps://github.com/pyenv/pyenvalong with
documentation and installation instructions.CreditsThis package was created withCookiecutterand thezanfar/cookiecutter-pypackageproject template.
Package: pyenvtools
pyenvtoolsSimple tool for environment variablesFeaturesDumping environmentsJoining .env files to one stringGenerating environment activation scripts from .env filesInstallationpipinstallpyenvtoolsUsage# Dump environmentpython-mpyenvtoolsdump# Dump environment to filepython-mpyenvtoolsdump.env# Join .env filepython-mpyenvtoolsjoin.env# Generate scriptpython-mpyenvtoolsscript.env
Package: pyenv-validator
Pyenv ValidatorThis package validates.envvariables. You can configure validation rules by
adding the appropriate comments to the.env.examplefile.InstallationInstall the package in the desired environment:pip install pyenv-validatorAdd the package to yourrequirements.txtfile:pyenv_validator~=0.2.0In your pipeline, add:frompyenv_validatorimportPyenvValidatorPyenvValidator.check()UpdatingSimply run:pip install pyenv-validator --updateConfiguring env variableIn your.env.examplefile, you can add comments to tell PyenvValidator how to validate the variable:MY_REQUIRED_VAR=value #required
THIS_IS_AN_OPTIONAL_INT=123 #format=int
THIS_IS_A_REQUIRED_EMAIL=123 #required,format=emailFormatsstrorstringorString(accepts anything)email(checks value against/[\w@]+@[\w@]+\.[\w@]+/)url(checks value against/https?:\/\/.+/)boolorbooleanorBoolean(checks value againsttrueorfalse, case sensitive)uuidorUUID(checks value against/\A[\da-f]{32}\z/ior/\A[\da-f]{8}-([\da-f]{4}-){3}[\da-f]{12}\z/i)
Package: pyEOCharging
pyEOChargingPython Library For interacting with EO Home EV Chargers.This has only been tested with a EO Mini Pro 2.Example usage:importeochargingconn=eocharging.connection("email_address","password")devices=conn.get_devices()#Get list of devices on accountprint(devices)sessions=devices[0].get_sessions()print(sessions)#Print list of sessions from all time from first device on accountdevices[0].disable()#Disable/lock the chargerdevices[0].enable()#Enable/unlock the chargercurrentChargeOpt=devices[0].get_chargeOpts()#get charger current settingsprint(currentChargeOpt.__dict__)#show charger current settingsNotethatamongotherthings,get_chargeOptsreturnsacpidwhichisneededtoamendoptions(seeset_chargeOpts)newChargeOpts=eocharging.Device.chargeOpts(cpid=currentChargeOpt.cpid,opMode=newOpMode)#Construct new charger options - for full list, see those returned from get_chargeOpts()devices[0].set_chargeOpts(newChargeOpts)#Set charger options. cpid is mandatory, plus at least one option to change.currentChargeOpt=devices[0].get_chargeOpts()#Check new option was applied successfully
Package: py-eodms-rapi
EODMS RAPI ClientOverviewEODMS RAPI Client is a Python3 package used to access the REST API service provided by theEarth Observation Data Management System (EODMS)from Natural Resources Canada.InstallationThe package can be installed using pip:pipinstallpy-eodms-rapi-UBasic UsageHere are a few examples on how to use the EODMS RAPI Client (EODMSRAPI). For full documentation, visithttps://py-eodms-rapi.readthedocs.io/en/latest/Search for Imagesfromeodms_rapiimportEODMSRAPI# Create the EODMSRAPI objectrapi=EODMSRAPI('eodms-username','eodms-password')# Add a point to the searchfeat=[('intersects',"POINT (-96.47 62.4)")]# Create a dictionary of query filters for the searchfilters={'Beam Mnemonic':('=',['16M11','16M13']),'Incidence Angle':('>=','35')}# Set a date range for the searchdates=[{"start":"20200513_120000","end":"20200613_150000"}]# Submit the search to the EODMSRAPI, specifying the Collectionrapi.search("RCMImageProducts",filters=filters,features=feat,dates=dates)# Get the results from the searchres=rapi.get_results('full')# Print resultsrapi.print_results()Order and Download ImagesUsing the results from the previous example:# Submit an order using resultsorder_res=rapi.order(res)# Specify a folder location to download the imagesdest="C:\\temp\\py_eodms_rapi"# Download the images from the orderdn_res=rapi.download(order_res,dest)AcknowledgementsSome code in this package is based off theEODMS API Clientdesigned by Mike Brady.ContactIf you have any questions or require support, please contact the EODMS Support Team ateodms-sgdot@nrcan-rncan.gc.ca.LicenseMIT License
Package: pyEOF
pyEOF is aPythonpackage forEOF and Rotated EOF Analysis. It takes advantage ofsklearn.decomposition.PCA(for EOF)Advanced Priniciple Component Analysis(for varimax rotation //  varimax rotated EOF // REOF)InstallationStep 1: create an environment:$ conda create -n pyEOF python=3.7
$ conda activate pyEOF
$ conda install -c conda-forge numpy pandas scipy scikit-learn rpy2Step 2: install using pip:$ pip install pyEOF(optional) for jupyter notebook tutorial:$ conda install -c conda-forge numpy pandas scipy scikit-learn rpy2 xarray matplotlib jupyter eofs(optional) install from source:$ git clone https://github.com/zzheng93/pyEOF.git
$ cd pyEOF
$ python setup.py install
Package: pyeos-client
pyeos_clientThis is a non official python library build around the eosd Chain & Wallet RPC API.
This library will allow you to easily interact with EOSIO node through REST API.Installationpip install pyeos-clientGetting Startedfrompyeos_client.NodeosConnectimportRequestHandlerAPIfrompyeos_client.EOSChainApiimportChainAPIconnection=RequestHandlerAPI(base_url='http://nodeos-server:8888',headers={"Accept":"application/json"})chainapi=ChainAPI(connection)print(chainapi.get_info().json())results{"server_version":"b2eb1667","head_block_num":259590,"last_irreversible_block_num":259573,"head_block_id":"0003f60677f3707f0704f16177bf5f007ebd45eb6efbb749fb1c468747f72046","head_block_time":"2017-12-10T17:05:36","head_block_producer":"initp","recent_slots":"1111111111111111111111111111111111111111111111111111111111111111","participation_rate":"1.00000000000000000"}Authors@Merouane_BenthLicenseThis project is licensed under the MIT License - see the LICENSE file for detailsOfficial documentationRPC Interface EOSLibrary documentationContributingFork it (https://github.com/EvaCoop/pyeos_client.git)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: pyeoskit
Python Toolkit for EOSInstallationOn Linux platformpython3-mpipinstall-Upip
python3-mpipinstallpyeoskitOn Windows platform:python-mpipinstall-Upip
python-mpipinstallpyeoskitOn Apple M1 hardwarepyeoskit does not have pre-built versions available for ARM chips. in order to build it from source code, you need to installcmake,go,scikit-build,cython.brewinstallgo
brewinstallcython
xcode-select--install
python3-mpipinstall-Upip
python3-mpipinstallcmake
python3-mpipinstallscikit-build
python3-mpipinstallpyeoskitCode ExamplesExample1importosfrompyeoskitimporteosapi,wallet#import your account private key herewallet.import_key('mywallet','5K463ynhZoCDDa4RDcr63cUwWLTnKqmdcoTKTHBjqoKfv4u5V7p')eosapi.set_node('https://eos.greymass.com')info=eosapi.get_info()print(info)args={'from':'test1','to':'test2','quantity':'1.0000 EOS','memo':'hello,world'}eosapi.push_action('eosio.token','transfer',args,{'test1':'active'})Async Exampleimportosimportasynciofrompyeoskitimportwalletfrompyeoskit.chainapiimportChainApiAsync#import your account private key herewallet.import_key('mywallet','5K463ynhZoCDDa4RDcr63cUwWLTnKqmdcoTKTHBjqoKfv4u5V7p')asyncdeftest():eosapi=ChainApiAsync('https://eos.greymass.com')info=awaiteosapi.get_info()print(info)args={'from':'test1','to':'test2','quantity':'1.0000 EOS','memo':'hello,world'}r=awaiteosapi.push_action('eosio.token','transfer',args,{'test1':'active'})print(r)asyncio.run(test())Sign With Ledger Hardware Wallet Exampleimportosfrompyeoskitimporteosapieosapi.set_node('https://eos.greymass.com')args={'from':'test1','to':'test2','quantity':'1.0000 EOS','memo':'hello,world'}#indices is an array of ledger signing key indiceseosapi.push_action('eosio.token','transfer',args,{'test1':'active'},indices=[0])DocsBuilding from Source CodeInstalling Prerequisitespython3 -m pip install scikit-build
python3 -m pip install cythonFor Windows platformpython -m pip install scikit-build
python -m pip install cythonDownload and Install gcc compiler fromtdm-gccInstall Go compiler fromdownloadInstall cmake fromdownloadInstall python3 fromdownloadsPress Win+R to open Run Dialog, input the following commandcmd -k /path/to/gcc/mingwvars.batDownloading Source Codegit clone https://www.github.com/learnforpractice/pyeoskit
cd pyeoskit
git submodule update --init --recursiveBuild./build.shFor Windows platform, in the cmd dialog, enter the following command:python setup.py sdist bdist_wheelInstallation./install.shFor Windows platformpython -m pip uninstall pyeoskit -y;python -m pip install .\dist\pyeoskit-[SUFFIX].whlLicenseMIT
Package: pyEp
pyEp*******************Introduction===============pyEp is a python library that allows for the EnergyPlus ExternalInterface to be used in Python. Additionally, it provides an EnergyPlus-OPC bridge service that exposes EnergyPlus simulation variables as an OPC tree tag structure.Key Components===============pyEp""""""""""""""""""ep_process is the base class, representing an EnergyPlus process. See example.py for an example of how to create and run a simulation.EnergyPlus-OPC Bridge"""""""""""""""""""""""The EnergyPlus-OPC bridge is a process which presents EnergyPlus ExternalInterface tags as OPC tags in a Simulated Server. The Bridge works out of the box with the `MatrikonOPC Simulation Server  <https://www.matrikonopc.com/products/opc-desktop-tools/index.aspx>`_. Controlling the Bridge requires another process, a "controller" that determines which inputs to provide to EnergyPlus. Two controllers are included, an example controller which implements a fixed set point schedule in the Python code, and another which implements a fixed set point schedule from a csv file.Requirements===============The pyEp core module is compatible for 2.7 and 3.5. EnergyPlus versions 8.1 and 8.4 have been tested, although it is likely that it works with any 8.x version. The EnergyPlus-OPC Bridge uses OpenOPC and Pyro3 for communications and requires 2.7.Keywords: EnergyPlus simulationPlatform: UNKNOWNClassifier: Development Status :: 4 - BetaClassifier: Intended Audience :: Science/ResearchClassifier: License :: OSI Approved :: MIT LicenseClassifier: Programming Language :: Python :: 2.7Classifier: Programming Language :: Python :: 3.5
Package: pyepbd
epbdcalc - Cálculo de la eficiencia energética según ISO/DIS 52000-1:2015Descripción y usoepbdcalces un programa para el cálculo de la eficiencia energética siguiendo la metodología de la norma ISO/DIS 52000-1:2015 (anterior CEN prEN15603).La ejecución del programa solamente requiere la indicación de un archivo de datos de entrada cuyo formato se detalla en el manual en formato PDF que se distribuye con la aplicación.$ epbdcalc ./pyepbd/examples/ejemplo1_base.csvPara información más detallada de uso consulte elManual de usoen formato PDF que se encuentra en el directorio de instalación.epbdcalcis an application to calculate energy efficiency indicators following the ISO/DIS 52000-1:2015 standard (former CEN prEN 15603).Instalación y código fuenteLa herramienta funciona en sistemas GNU/Linux y MS-Windows.En la página del proyecto se proporciona un instalador para sistemas MS-Windows, así como un manual de usuario.Créditos y licenciaCopyright (c) 2015 Ministerio de Fomento, Instituto de Ciencias de la Construcción Eduardo Torroja (IETcc-CSIC)epbdcalces un programa desarrollado por Daniel Jiménez González y Rafael Villar Burke, del Instituto Eduardo Torroja de Ciencias de la Construcción (IETcc-CSIC) en el ámbito del convenio de colaboración entre el CSIC y el Ministerio de Fomento para el desarrollo de tareas relacionadas con el Código Técnico de la Edificación y se publica bajo una licencia libre.Se puede consultar la licencia completa en el archivoLICENSE_ES.txtyLICENSE.txtdistribuidos con el código fuente.epbdcalcse distribuye con la esperanza de que resulte útil, pero SIN NINGUNA GARANTÍA, ni garantía MERCANTIL implícita ni la CONVENIENCIA PARA UN PROPÓSITO PARTICULAR.News6.015-sep-2016Elimina dependencias (numpy y pandas)5.012-sep-2016Cambio de krdel y kepx a 0.04.14-jul-2016Exportación de la variable FACTORESDEPASO (lista de factores)Mejora formato de salida en archivos y consolaActualiza documentación4.024-jun-2016Factores de paso a energía primaria por defecto iguales a los definidos
en el Documento Reconocido del RITESalida de indicadores con repercusión de superficie (parámetro –area, -A)3.x9-may-2016Factores de paso corregidos en cogeneración (más realistas)Renombrado de SUMINISTRO a CONSUMOIncorporación de CONSUMOS de RED1 y RED2 para soporte de redes de distrito2.x27-abr-2016Balance automático de consumos para combustiblesBalance automático de consumos para fuentes renovablesExportación de funciones de entrada/salidaExportación de datos en JSONSoporte simultáneo de Python 3 y Python 21.04-feb-2016Cambio a esquema de versiones estándarRefactorizaciónDocumentación en inglés10.20159-oct-2015Versión inicial
Package: py-epc-qr
Create QR codes for wire transfersSick of copy-and-pasting IBANs to forms?
Why not just scan a QR code and have your favorite banking app take care of the rest?Why not be generous and support wikipedia with EUR10?
Grab your phone, open your banking app, select the QR scanner and scan the image below which was created with this tool.The created QR code complies with the European Payments Council (EPC) Quick Response (QR) code guidelines.1st Disclaimer: The author of this code has no affiliation with the EPC whatsoever.
Henceforth, you are welcome to use the code at your own dispense, but any use is at your own (commercial) risk.2nd Disclaimer: Currently, the EPC specifications are implemented only to work with IBAN-based consumer wire transfers within the European Economic Area (EEA), i.e. using the following pieces of information:RecipientIBANAmountUnstructured remittance (aka reason for transfer)Of course, any helping hand is welcome to extend the core functionality to more generic transactions.InstallationTo use the code as a standalone command line interface (CLI) tool, then usepipxas followspipxinstallpy-epc-qrYou may verify the installation by callingepcqr version.
The output should be identical to whatpipxprinted.If you intend to use the code instead directly in your own Python projects, then install the package usingpippipinstallpy-epc-qrUsageYou may use the package as a standalone command line interface (CLI) or as part of your own code.CLIHaving installed the package withpipx(seeabove), you may verify the installation upon calling>>epcqr--help
Usage:epcqr[OPTIONS]COMMAND[ARGS]...CreateEPC-compliantQRcodesforwiretransfers.

Options:--install-completion[bash|zsh|fish|powershell|pwsh]Installcompletionforthespecifiedshell.--show-completion[bash|zsh|fish|powershell|pwsh]Showcompletionforthespecifiedshell,tocopyitorcustomizetheinstallation.--helpShowthismessageandexit.

Commands:createCreateEPC-compliantQRcodeforIBAN-basedwiretransfer...versionShowversionandexit.The last lines show the available commands.The core functionality lies behindcreate, for which you can call again thehelp.epcqrcreate--helpUsage:epcqrcreate[OPTIONS]CreateEPC-compliantQRcodeforIBAN-basedwiretransferwithinEuropeaneconomicarea.

Options:--outTEXTnameofgeneratedqrpngfile[default:qr.png]--from-yamlTEXTspecifyyamlfilefromwhichtocreateqr--helpShowthismessageandexit.From interactionIf you call thecreatecommand without any options, it is started in an interactive mode.
You are asked to input all relevant information.
If your input is correct, an image will be created in your current directory.From templateAlternatively, you can create the QR code from ayamltemplate,for which the repository contains an example.CodeIf you intend to use the source code in your own Python projects, then a minimal working example looks as follows:frompy_epc_qr.transactionimportconsumer_epc_qrepc_qr=consumer_epc_qr(beneficiary="Wikimedia Foerdergesellschaft",iban="DE33100205000001194700",amount=123.45,remittance="Spende fuer Wikipedia")epc_qr.to_qr()The relevant functions are gathered intransaction.py