Saravanan666/pypi-org huggingface dataset:
Package: pyremto
Python Remote Tools (pyremto)The easy way of monitoring and controlling your Python scripts. We support the following use cases:Downtime Alert: Get notified if your script stops running / is not executing at the desired frequency. More details inexamples/DowntimeAlarm/README.md.Log values to your smartphone: Log values from your python script to be displayed in the pyremto app (with optional push notifications). More details inexamples/OnlineLogger/README.md.Remotely Control your python scripts: Send commands (Strings, integers or floats) from the pyremto app to your python script. More details inexamples/RemoteControl/README.md.Job Scheduling: Orchestrate jobs to be distributed on multiple computers / servers. The jobs are distributed from job to job, and thus there is no need to plan in advance on which server which task will be executed. This dynamically adapts the task distribution to the available computing resources, thus maximizing their use. More details inexamples/JobScheduling/GeneralJobScheduling/README.mdas well as in the distributed hyperparameter tuning exampleexamples/JobScheduling/DistributedHyperparameterSearch/README.md.Also check out ourhomepageand get the app in theGoogle Play Store.InstallationThe easiest way to install the package is to obtain it from PyPipython3 -m pip install pyremtoAlternatively, you can also install the package by cloning the repository and runningpython3 -m pip install -e .The "-e" flag makes the installation editable, which means you can pull updates without the need of reinstalling the package.TestingRun the unit tests (to check that everything works properly) withpython3 setup.py test(from the root of the package where the setup.py script lies).License and WarrantyYou may use the software only for non-commercial use. This excludes using our code or service in a commercial product, or using our code or service for developing a commercial product. However, you can use our code and service free of charge for your hobby projects, studies, or non-commercial research (for example as a PhD student).If you are interested in using our code or service in a commercial product, or for developing a commercial product, then please contact as viacontact@pyremto.com. We also offer services for customizing pyremto to your need. This includes, for example, hosting pyremto server instances in the intranet of your company, SMS based alerts (as extension to push notifications), and customizing the remote tools to your needs.This software and service is provided "as is", without warranty of any kind.
Package: pyrena
pyrenaAPI wrapper for interacting with Arena QMS.Pyrena is not associated with or approved by Arena Solutions or PTC.Installationpip install pyrenaDocsDocumentation generated by Pyrena self-introspecting its own code. This goes into more detail than this readme.importpyrenapyrena.docs()UsageCreate clientimportpyrenaclient=pyrena.Arena("username","password")Users on the government server should add the parameterarenagov=Trueduring client creation.Users on the Europe server should add the parametereurope=Trueduring client creation.Change usersclient.logout()client.login("different_username","different_password")SearchDefine an object type and search parameters to get a list of results. Functions equivalently to top bar search on Arena website; however searching based on custom attributes must use the custom attribute GUID. See Arena help documentation on app.bom.comsearch_results=client.Listing(client.QualityProcess,number="NCMR-*")Retrieve specific objectOption 1 - get object by object GUID, if knownmy_change_order=client.Change("object_guid")Option 2 - get object by its "user-friendly" ID (known asnumberin the API)my_capa=client.find(client.QualityProcess,number="CAPA-000001")
Package: py-rename
py-renamePython bulk rename packageUsageenterpy-rename -hfor help$py-rename-h

py-rename-Pythonrenametoolformultiplefiles

Usage:
py-rename[OPTIONS]COMMAND[COMMAND-OPTIONS]Positionalarguments:renamerenamefilesbasedonregexpatternmatchrenamefilesbasedonregexpatternprefixprefixfilenameswithprefixstringpostfixpostfixfilenameswithprefixstringlowerconvertfilenamestolowercasereplacereplacespacesinfilenamesto_camelcaseconvertfilenamestocamelcaseOptions:-h,--helpshowthishelpmessageandexit-V,--versionshowprogramversionnumberandexit-s,--silentdonotprintoutput(default:False)-n,--dryrunDryrun:printnamesoffilestoberenamed,butdonotrename(default:False)-f,--fullMatchonlyfullfilenameagainstpattern(default:False)Subcommandusageexample:
$py-renamerename-h

Positionalarguments:patternregexpatterntomatchfilenamesreplacementreplacementregexpatternforrenamedfiles

Options:-h,--helpshowthishelpmessageandexitInstallationpip3installpy-renameRequirements:Python 3.6 (or higher)ExamplesExample 1 - Renaming based on regexImagine you have some files awfully named like this:ab12+Red+(0000).txtab12+Red+(0001).txtab12+Red+(0002).txtand you want to rename all of them in manner01-Red.txt(extracting number from the end and put it at the beginning and shortening it to 2 digits).Step 1: Test matching patternRegex pattern to match those files and extract 2 digit number should be like this:.+\(00(\d{2})\).+$py-renamematch".+\(00(\d{2})\).+"('matched ab12+Red+(0000).txt',)('matched ab12+Red+(0001).txt',)('matched ab12+Red+(0002).txt',)('files matched: 3',)Step 2: Test replacement pattern using dryrun flag$py-rename-nrename".+\(00(\d{2})\).+""\1-Red.txt"PerformingDryRun:Noactionswillbetaken('renaming: ab12+Red+(0000).txt --> 00-Red.txt',)('renaming: ab12+Red+(0001).txt --> 01-Red.txt',)('renaming: ab12+Red+(0002).txt --> 02-Red.txt',)('files matched: 3',)Step 3: Actual renaming$py-renamerename".+\(00(\d{2})\).+""\1-Red.txt"('renaming: ab12+Red+(0000).txt --> 00-Red.txt',)('renaming: ab12+Red+(0001).txt --> 01-Red.txt',)('renaming: ab12+Red+(0002).txt --> 02-Red.txt',)('files matched: 3',)Example 2 - Add prefix string or postfix string to filesImagine you have some files named like this:00-Red.txt01-Red.txt02-Red.txtAdd prefix string:$py-renameprefix"test_"('renaming: 00-Red.txt --> test_00-Red.txt',)('renaming: 01-Red.txt --> test_01-Red.txt',)('renaming: 02-Red.txt --> test_02-Red.txt',)('files matched: 3',)Add postfix string:$py-renamepostfix"_test"('renaming: 00-Red.txt --> 00-Red_test.txt',)('renaming: 01-Red.txt --> 01-Red_test.txt',)('renaming: 02-Red.txt --> 02-Red_test.txt',)('files matched: 3',)
Package: pyrencode
pyrencodeis a python rewrite of the originalrencodeby aresch, avoiding  the cython dependency, so that it can be used with PyPy.In a nutshellInstallationThe easiest way is to usepoetryto manage your dependencies and addpyrencodeto them.[tool.poetry.dependencies]pyrencode="*"Usagepyrencodeprovides exactly the same interface asrencodeLinksDocumentationChangelog
Package: pyRenderdocApp
pyRenderdocAppA small wrapper for the renderdoc in-app api in python.This project wraps the methods exposed byrenderdoc_app.hwith the python ctypes API. It's designed to closely match
the official API, with the main difference being that the function and parameter names have been converted to snake case
(ie:GetAPIVersion()-->get_api_version()). The original doc comments fromrenderdoc_app.hhave also been ported
over (and modified where appropriate). For more information about using the Renderdoc in-app API, read the official
documentation:https://renderdoc.org/docs/in_application_api.htmlInstallingInstall withpip:pipinstallpyRenderdocAppThe package includes renderdoc binaries for Windows and Mac.ExampleHere's what the example from the RenderDoc documentation (link) would look like in python:frompyRenderdocAppimportload_render_doc# At init, load the renderdoc apirdoc_api=load_render_doc()# To start a frame capture, call StartFrameCapture.# You can specify None, None for the device to capture on if you have only one device and# either no windows at all or only one window, and it will capture from that device.# See the documentation for a longer explanationrdoc_api.start_frame_capture(None,None)# Your rendering should happen here# Stop the capturerdoc_api.end_frame_capture(None,None)BuildingBuild usingbuild:pipinstallbuildtwinehatchBuild the wheel:python-mbuildThen to upload the package to PyPI, do:twineuploaddist/pyrenderdocapp*
Package: pyrenfe
pyrenfeWhat it does.This script helps you to know when there is a train (Renfe, Spain) next
to leave the configured station. Also, you can query the timetable of an
specific route.Nothing more, nothing less… :DWhat I need.To usepyrenfe, you only need:python >= 2.7requests (python module)lxml (python module)How to install it.The package is uploaded to PyPI, so you just have to install the package
withpiporeasy_install.$sudopipinstallpyrenfeHow to useTo run it, you only need to execute the program with the proper
parameters. Here you have some examples:See the help of the program.$pyrenfe--helpCheck the next train between Atocha and Principe Pio (when it will leave
and when will it arrive).$pyrenfe--origin18000--destine10000Show the same information, but inside a formatted table.$pyrenfe-o18000-d10000-ptableCheck the timetable of all the trains between Atocha and Principe Pio
for today.$pyrenfe--origin18000--destine10000--timetableAs you can see the origin and the destine are provided with numbers.
Those numbers are the IDs of the stations. To take the IDs of your
choice you have to fill theofficial formand then check in the POST
which values are provided.In the future I hope to add this functionality to the script (pull
requests are accepted :D).AuthorJose Ignacio Galarza (igalarzab)
Package: pyrenko
pyrenkoThis is a class for calculating and visualizing a renko chart.AuthorCredit to theauthorfor source code of pyrenko.The only contribution fromdennislwmis made a package and upload it to PyPi.Installation$ pip install pyrenkoExample>>> import pyrenkoGetting Data>>> import yfinance
 >>> data = yfinance.download('SPY', start="2019-01-01", end="2019-12-31")Note: Variabledatais of type DataFrame that consists of columns ['Open', 'High', 'Low', 'Close'].Get optimal brick size based>>> optimal_brick = pyrenko.renko().set_brick_size(auto = True, HLC_history = data[["High", "Low", "Close"]])Build Renko>>> objRenko = pyrenko.renko()
 >>> print('Set brick size: ', objRenko.set_brick_size(auto = False, brick_size = optimal_brick))
 >>> objRenko.build_history(prices = data.Close)Renko data>>> print('Renko length:' , len(objRenko.get_renko_prices()))
 >>> print('Renko bar directions: ', objRenko.get_renko_directions())
 >>> print('Renko bar evaluation: ', objRenko.evaluate())Plot chart>>> objRenko.plot_renko()
Package: pyrenoweb
Python Wrapper for RenoWeb Garbage System APIA module to retrieve Garbage Collection data for Danish Municipalities that are using RenoWebYou need a Municipality ID and a Address ID to get the Sensor Data. In order to get this run the following:renoweb.py find <municipality name> <road name> <house number>- this will return the following, if the data is found:Municipalities NOT supportedSome Municipalities uses a totally different solution, than this Wrapper supports. Currently the following Municipalities are NOT supported:Fåborg-MidtfynKøbenhavnÅrhusID NUMBERS
**************************
MUNICIPALITY ID: XXX
ADDRESS ID: YYYYY
ADDRESS: Streetname number, ZipCode CityYou will need theMUNICIPALITY IDandADDRESS IDto retrieve your Pick-Up Schedule.Now you can test and validate the sensor data, by runningrenoweb.py data <Municipality ID> <Address ID>. This should output the data for your address.There is also the possibility to run some individual processes, that are all steps in thefindprocess above:renoweb.py municipality- Check if your Municipality is supported and get the ID if they are.renoweb.py road <municipality id> <road name>- Use the ID from step 1 and type the name of the road you live on. This returns a Road ID for use in step 3.renoweb.py address <municipality id> <road id> <house number>- Use ID from step 2 as road_id and type your House Number. Returns an Address ID, that you need for getting the sensor data.CREDITSThis module is solely based on the work done byJacob Henriksen,@esbenrand@AngelFreak, who did all the work in sniffing out the API and Keys. I took their work and just converted it in to a Home Assistant Integration.
Package: pyrent
This is Python Library which is used to get the Top seeded torrents at
any given time and get the entire movie details and ratings .Its also useful to search for any movie using different parameters and
obtain their magnet link or torrent file of any preferred quality.Features :Search for movie torrentsGet the details of any movie which includes :Torrent details of 720p,1080p,3D qualityTorrent Magnet links and hashes along with their size and seedsimdb_codeImdb Rating and MPA ratingYearRuntimeSummaryMovie DescriptionAll the above Details are obtained in the form of attributes of
Yify.movie object each object representing a movie.Get the Top Most Seeded Torrents listed in the Yify WebsiteDownload the torrent file of a corresponding torrent.Start the torrent download directly without having to download it from the user’s default torrent client.Installation :Python3pip install pyYifyorpip3 install pyYifyUsage :First import yify to use its functions.from pyYify import yifyThere are two classes in yify namely ‘movie’ and ‘torrent’.Search for movies.On searching , it returns a list of movies (movie objects) .movies_list = yify.search_movies(search_string , quality , minimum_rating , genre)The search_string for the movie can be ‘Movie Title,IMDb Code, Actor
Name, Director Name’. quality = ‘All’ , ‘720p’ , ‘1080p’ , ‘3D’.
minimum_rating is an imdb_rating. genre = Seehttps://www.imdb.com/genre/for a list of genres.Get the top seeded movies from Yifymovies_list  = yify.get_top_seeded_torrents() ;Returns a list of movies, each movie object only contains its Name and
Webpage unlike the searching method which has all the details in the
returned movies. To get the rest of the movie details use getinfo()
method.for movie in movies_list:
    movie.getinfo() ;Each movie Object has the following data :idurlimdb_codetitletitle_longslugyearratingruntimegenressummarydescriptionlanguagempa_ratingimage_linkstorrentsThe movie.torrents is a list of torrents each of which corresponds to
the torrent of same movie but of different quality. (‘720p’ , ‘1080p’ or
‘3D’ )Each torrent has the following data :nameurlmagnethashqualityseedspeerssizedate_uploadedmovie1 = movies_list[0]
torrent1 = movie1.torrents[0]

print("Magnet link = " , torrent1.magnet)Downloading the Torrent file of a movietorrent1.download_torrent_file( path , filename )Starting the download directly using magnet link without downloading the torrent file .This starts the default torrent client prompting the download dialog :torrent1.start_download()
Package: pyrep
This package provides a pythonic way to organize dumping and pulling python objects and other type of files to a folder or a directory that is called repository.
A Repository can be created in any directory or folder, it suffices to initialize a Repository instance in a directory to start dumping and pulling object into it. .
Any directory or a folder that contains a .pyrepinfo binary file in it, is theoretically a pyrep Repository.By default dump and pull methods use pickle to serialize storing python objects.
Practically any other methods can be used simply by providing the means and the required libraries in a simple form of string.
Package: pyreplace
usage: pyreplace [-h] [-d DIRECTORY] [-r] [-v] [-g EXPRESSION][-f FIND REPLACE] [-fi] [-c FIND REPLACE] [-ci]Recursively find and replace in file names and contents.optional arguments:-h, --help            show this help message and exit-d DIRECTORY, --directory DIRECTORYSet starting directory.-r, --dry-run         Dont make any changes, just list what would happen.-v, --verbose         Display changes made.-g EXPRESSION, --glob EXPRESSIONFind files with matching extension. Example: *.txt-f FIND REPLACE, --filename FIND REPLACESearch filename for FIND and replace with REPLACE.-fi, --filename-insensitiveIgnore capital/lowercase when searching filename.-c FIND REPLACE, --contents FIND REPLACESearch contents for FIND and replace with REPLACE.-ci, --contents-insensitiveIgnore capital/lowercase when searching contents.Usage Examples:Replace foo with bar in filenames matching *.txt:pyreplace -g *.txt -f foo barFind and replace foo with bar in files matching *.txt (Contents):pyreplace -g *.txt -c foo barAs above with all files in current directory:pyreplace -c foo barAs above with all files in another directory:pyreplace -d /home/foo -c foo bar
Package: py-replay-bg
PyReplayBGThe official Python porting of the ReplayBG software:https://github.com/gcappon/replay-bg/.ReplayBG is a digital twin-based methodology to assess new strategies for type 1 diabetes management.ReferenceG. Cappon, M. Vettoretti, G. Sparacino, S. Del Favero, A. Facchinetti, "ReplayBG: a digital twin-based methodology to identify a personalized model from type 1 diabetes data and simulate glucose concentrations to assess alternative therapies", IEEE Transactions on Biomedical Engineering, 2023, DOI: 10.1109/TBME.2023.3286856.
Package: pyrepo-mcda
pyrepo-mcdaThe Python 3 library for Multi-Criteria Decision Analysis.Installationpip install pyrepo-mcdaUsagepyrepo-mcdacan be used to rank alternatives after providing their performance values in the two-dimensional decision matrixmatrixwith alternatives in rows and criteria in columns, and criteria weightsweightsand typestypesin vectors.
All criteria weights must sum to 1. Criteria types are equal to 1 for profit criteria and -1 for cost criteria. The TOPSIS method returns a
vector with preference valuesprefassigned to alternatives. To rank alternatives according to TOPSIS preference values, we have to sort them
in descending order because, in the TOPSIS method, the best alternative has the highest preference value. The alternatives are ranked using
therank_preferencesmethod provided in theadditionsmodule of thepyrepo-mcdapackage. Parameterreverse = Truemeans that alternatives
are sorted in descending order. Here is an example of using the TOPSIS method:importnumpyasnpfrompyrepo_mcda.mcda_methodsimportTOPSISfrompyrepo_mcdaimportdistance_metricsasdistsfrompyrepo_mcdaimportnormalizationsasnormsfrompyrepo_mcda.additionsimportrank_preferencesmatrix=np.array([[256,8,41,1.6,1.77,7347.16],[256,8,32,1.0,1.8,6919.99],[256,8,53,1.6,1.9,8400],[256,8,41,1.0,1.75,6808.9],[512,8,35,1.6,1.7,8479.99],[256,4,35,1.6,1.7,7499.99]])weights=np.array([0.405,0.221,0.134,0.199,0.007,0.034])types=np.array([1,1,1,1,-1,-1])topsis=TOPSIS(normalization_method=norms.vector_normalization,distance_metric=dists.euclidean)pref=topsis(matrix,weights,types)rank=rank_preferences(pref,reverse=True)print(rank)Licensepyrepo-mcdawas created by Aleksandra Bączkiewicz. It is licensed under the terms of the MIT license.DocumentationDocumentation of this library with instruction for installation and usage is
providedhere
Package: py-repo-root
IntroductionThis package standardizes the handling of paths in a Python project by
allowing all paths to be relative to the project repo root.
The package discovers the project root
based on the location of a special (empty).py-repo-rootfile.
The project root indicator can be overriden with a custom one, if desired.This package was heavily inspired bypyprojroot.
This package allows custom root file indicators,
avoids recursive "/" is parent of "/" issue and can use
the current file location to start walking the directory tree.SetupInstallation:pip install py-repo-rootUsageGet project root, using the default list of project root indicatorsfrom pyreporoot import project_root

project_root_dir = project_root(__file__)Specify a custom project root indicator (not included in the list above)project_root_dir = project_root(__file__, root_files='.my-root-indicator')Another common usage pattern may be to add the project_root to PYTHONPATH for the purposes
of running some scripts.import sys
from pyreporoot import project_root

sys.path.insert(0, project_root(__file__))Getting a relative path from the project root for a file:from pathlib import Path
from projectroot import project_root

project_root_dir = project_root(__file__)
path_rel_to_project_root = Path(project_root_dir).joinpath('/path/to/file.txt')
Package: pyreport2to3
This package helps in generating better visualization report in python 2 to 3.InstallationYou can install directly after cloning:use the Python package:.. code-block:: bash$ pip install --user pyreport2to3Command line toolAfter installation, you should havepyreport2to3in your$PATH:UsagePython porting 2 to 3 report function:.. code-block:: python>>> from pyreport2to3 import get_HTMLreportCall the get_HTMLreport function passing command (2to3 or python-modernize) and parameter (python folder or files) :.. code-block:: python>>> get_HTMLreport("python-modernize", "./python_project")Python porting 2 to 3 HTML file pyreporting.html is generated in current location.LicenseMIT License.. code:: rst|MIT license|

.. image:: https://img.shields.io/badge/License-MIT-blue.svgAuthorsMaurya Allimuthu ( catchmaurya@gmail.com )
Jitendra Kumar ( gtu.delhi@gmail.com )
Abraham Robert ( abrahamrobert123@gmail.com )

ContactPlease submit an issue if you encounter a bug and please email any questions or requests to @authors
Package: pyreportgen
PyreportgenThis is a pyton library for creating reports and other content in the form of a pdf using python.Requirements.wkhtmltopdfExampleimportpyreportgenasrgimportpyreportgen.layoutaslayoutreport=rg.Report([rg.Header("Hello World"),rg.Text("This is a sample of how to use pyreportgen"),Layout.HBox([rg.Text("This is a paragraph in a box."),rg.Text("These will be placed next to each other"),rg.Text("All the boxes will have equal space regardless of content.")])])report.pdf("out.pdf")
Package: pyreportjasper
PyReportJasperThis package aims to be a solution to compile and process JasperReports
(.jrxml & .jasper files).Did you ever had to create a good looking Invoice with a lot of fields
for your great web app or desktop?I had to, and the solutions out there were not perfect. GeneratingHTML+CSSto make aPDF? WTF? That doesn’t make any sense! :)Then I foundJasperReportsthe best open source solution for
reporting.From their website:The JasperReports Library is the world’s most popular open source
reporting engine. It is entirely written in Java and it is able to
use data coming from any kind of data source and produce
pixel-perfect documents that can be viewed, printed or exported in a
variety of document formats including HTML, PDF, Excel, OpenOffice
and Word.Code:GitHubIssue tracker:GitHub IssuesDocumentation:Python DocsLicense:GNU GENERAL PUBLIC LICENSEBuild status:Version:
Package: pyreportxl
pyreportxlAn Excel reporting framework for python.Free software: MIT licenseDocumentation:https://pyreportxl.readthedocs.io.FeaturesLoad data from csv or xls[x] using pyexcelCreate internal databases dynamically using SQLAlchemyCreate OO excel reporting lines with minimal codingProduce reports in csv or xls[x]Provide a CLI framework for ingesting data and running reportsCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2017-03-19)First release on PyPI.
Package: pyrepositoryminer
pyrepositoryminerThe pyrepositoryminer aims to be aperformant,extendableandusefultool for analyzing (large) software repositories.InstallationInstall it fromPyPI:$pipinstallpyrepositoryminerRequirementsPython 3.9+, libgit2 (e.g.brew install libgit2on macOS).pyrepositoryminer builds on the work ofpygit2for the interaction with git repository objects,typerfor the CLI,radonfor Python-specific metrics, anduvloopfor an alternative event loop.ContributingInstallpoetry:$curl-sSLhttps://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py|python-Install the dependencies:$poetryinstallInstall thepre-commithooks:$pre-commitinstall