Saravanan666/pypi-org huggingface dataset:
Package: redwall
# RedditBrowserScrape subreddits and slideshow through images or posts with a timer.  Images are cached to the temp directory, and removed on close. (Check the temp directory to make sure images are deleted.)## Requirements- BeautifulSoup4## InstallRedwall is available on PyPi. Just run`pip install redwall`to get the latest version.Use cases:```bash# For the screensaver version that iterates through images on a time scheduleredwall_screensaver [--subreddit SUBREDDIT] [--previd previd][--score score] [--nsfwo] [--nsfw] [--title title][-i INTERVAL] [-v]# For manual control and more options, use this commandredwall_control [--subreddit SUBREDDIT] [--previd previd][--score score] [--nsfwo] [--nsfw] [--title title] [-v]```Each entry point is utilizes the reddit_scraper.RedditScraper iterable class to step through posts and images on the subreddit of your choice.  To use the RedditScraper class in your own project, simply import it with some settings:```pythonfrom redwall.reddit_scraper import RedditScraper# initialize the scraper with filtersscraper = RedditScraper(previd='', subreddit='wallpapers', title='', score=100, nsfw=False, sfw=True)# prescrape posts for speedscraper.getPosts(5)# get the next postpost = scraper.next()#update a filter and get the next postscraper.update('subreddit', 'wallpaperdump')post = scraper.next()# set wallpaper to the first image in the postfrom redwall.set_wallpaper import set_wallpaperimage = post.images[0]image.download()set_wallpaper(image.path)# iterate through imagesfor image in scraper.imageIter():# returns None when no more images can be loadedif image == None:breakprint("Image at %s" % image.url)```#### Windowed BranchThe windowed branch is an older version of redwall that runs in a PyQt window.  It is buggy and crashes on occassion, but is useful if you don't want to change your actual wallpaper.  Checkout the branch and run `python main.py` to see it work.
Package: redwing
#### Redwing: Python Type-Inference for CSV FilesThis script reads CSV file and infers data types.It does a few other things, too, like determining max length for character fields.It expects a CSV with a header row.Currently, it works like this:redwing csvfile.csv –tablename=tablenameOutput is a SQL creation script.CREATE TABLE tablename (
id INTEGER,
name VARCHAR(5)
)
Package: redwing-vector
Redwing Vector Python ClientOverviewRedwing Vector Python Client is a Python library designed to simplify interactions with the Redwing Vector gRPC API. It provides an easy-to-use interface for Python developers to integrate Redwing Vector capabilities into their applications.InstallationTo install the Redwing Vector Python Client, simply run:pip install redwing-vectorDocumentationFor more detailed documentation for running with a Sandbox environment, visithttps://docs.redwing.ai.LicenseThis project is licensed under the MIT License - see the LICENSE file for details.ContactFor support or queries, contact hello [at] redwing [dot] ai
Package: redys
redysA simple redis-like in pure python3, fully asyncio/thread/process compliant !on pypi/redysfeaturesasyncio compliantclient Sync (Client) & Async (AClient)100% tested on all platforms ("3.7", "3.8", "3.9", "3.10", "3.11" on  ubuntu-latest, macos-latest, windows-latest)NEWvery quickclassicscommands : get/set/delete/keys & incr/decrsetscommands : sadd/sremqueuecommands : rpush/lpush/rpop/lpoppubsubcommands : subscribe/unsubscribe/get_event & publishcachecommands : setexping()command ;-)KILL()command (so a client can kill the server)NEWexchange everything that is pickable (except None)raise real python exception in client sideminimal code sizeworks well on GAE Standard (2nd generation/py37)just in-memory !why ?Redis is great, but overbloated for my needs. Redys is simple, you can start
the server side in an asyncio loop, and clients can interact with a simple
in-memory db. Really useful when clients are in
async/threads/process(workers)/multi-hosts world, to share a unique source of truth.nbThe sync client (Client) use threads, so it can't live in the same loop as the server (Server). It's better to use it in another thread or process.The async client (AClient) can live in the same loop as the server (Server), but don't forget to await each methods (which are coroutines in async version)Not fully/concurrency tested. Use at own risk ;-)Seetestsfor examplesBTW, I use it in production since 2018: and no problems at all !!!! (it works as excepted)
Package: ree
ree (Red Eléctrica de España data)Library to query information of Spain  electric energy demand fromRed Eléctrica de España.Package install:pipinstallreeExample Code:fromreeimportCanaryIslandsgeneration=CanaryIslands().get()print(generation)Output:Response 2017-07-13T10:20:00+00:00 Demand 0.0 Diesel: 282.2 Gas: 159.4 Wind: 48.2 Combined: 338.3 Vapor: 329.5 Solar: 89.0 Hydraulic: -3.4
Package: reecapi
reecapiThis package provides a list of functions to facilitate access to the
data offered byRegistro Español de Estudios Clínicosin itsREST API.REEC does not offer any support for this library, which has been developed individually by the author from the documentation shown byREEC on its web site.InstallationYou can install the latest version of reecapi from Pypi with the
following command.# Install the PyPI version of the librarypipinstallreecapiUsageThe library has 4 functions to access the records of REEC:get_trials_list(from_date, to_date = None, format = "json"):Extract all the trials published in REec or those that meet the criteria defined in the search parameters with the function:from_date(str):  Date from which you want to start downloading data. Correct format: "dd-MM-yyyy"to_date(str, Optional): Date to which you want to download data. Correct format: "dd-MM-yyyy"format(str, Optional):  Type of response: "xml" or "json". Only "json" is implemented. Defaults to "json".# Get Clinical Trial Records from "01-01-2020" to "30-01-2020"get_trials_list(from_date="01-01-2020",to_date="30-01-2020")# Get Clinical Trial Records from "01-01-2020" until today.get_trials_list(from_date="01-01-2020")get_trial_details(trial_id, format = "json"):Extract all the trials published in REec or those that meet the criteria defined in the search parameters with the function:trial_id(str): Code that identifies the clinical trial from REec.format(str, Optional):  Type of response: "xml" or "json". Only "json" is implemented. Defaults to "json".# Get the Clinical Trial Record with id "2013-000491-14"get_trial_details(trial_id="2013-000491-14")get_hospital_list(hospital_id = None, format = "json"):Extract all the trials published in REec or those that meet the criteria defined in the search parameters with the function:hospital_id(numeric, Optional): Hospital code. Defaults to None.format(str, Optional):  Type of response: "xml" or "json". Only "json" is implemented. Defaults to "json".# Get the whole list of hospitals registered in the Ministry dictionary.get_hospital_list()# Get the list of hospitals registered in the Ministry dictionary with the hospital_id="25812"get_hospital_list(hospital_id=25812)get_primary_care_list(center_id = None, format = "json"):Extract all the trials published in REec or those that meet the criteria defined in the search parameters with the function:center_id(numeric, optional): Primary primary care center code. Defaults to None.format(str, Optional):  Type of response: "xml" or "json". Only "json" is implemented. Defaults to "json".# Get the whole list of primary care centers registered in the Ministry dictionary.get_primary_care_list()# Get the list of primary care centers registered in the Ministry dictionary with the center_id="25812"get_primary_care_list(center_id=25812)LicenseMIT LicenseYou may also like…Noytext- A web-based platform for annotating short-text documents to be used in applied     text-mining based research.ropenskyr- R library to get data from OpenSky Network API.luisgasco.es· GitHub:@luisgasco· Twitter:@luisgasco· Facebook:Luis Gascó
Sánchez
page
Package: reeco
component-id: reeco-python-library
name: "REECO Python Library"
description: "The Python library of the REECO framework."
project: reeco-framework
type: SoftwareLibrary
credits:Enrico Dagahttp://github.com/enridagaresource:https://pypi.org/project/reeco/REECO Python LibraryPython library for the REECO framework.SchemaTBDDevelopersEditing happens in thisSpreadsheet.The reference documentation is in folderschema/.To regenerate theyamlfiles in the schema directory:python3generate-schema.py&&gitaddschema/&&gitcommit-m"Update"&&gitpushValidatorTBD
Package: reeco-ml-preprocessing
Reeco ML Preprocessing LibraryModule for preprocessorPrerequisiteIt is recommended to use Python 3.9 64bit since it is the environment that we developed the package.InstallationUsingpip:$ pip install reeco_ml_preprocessingor$ py -m pip reeco_ml_preprocessingExampleimportnumpyasnpfromreeco_ml_preprocessingimportPreprocessPipelinefromreeco_ml_preprocessing.time_series.ts_imputerimportTimeSeriesImputerpipeline=PreprocessPipeline([TimeSeriesImputer(method='linear')])X=pd.DataFrame({"a":1,2,3,np.nan,5"b":0,1,np.nan,np.nan,4})pipeline.fit_transform(X)
Package: reed
reedSearch for jobs using the Reed API in python.This project was (heavily) inspired by the similar work on the Indeed API
which can be foundhere.
Getting a publisher number from Indeed was a pain so I looked for similar
API's and stumbled upon Reed.API CredentialsTo be able to interact with the Reed API you will need an API Key. This
key is passed into the reed client's constructor.fromreedimportReedClientclient=ReedClient(api_key=YOUR_API_KEY)You can sign up for an API keyhere.Performing a Job SearchfromreedimportReedClientclient=ReedClient(api_key)params={'keywords':"data scientist",'locationName':"London",'minimumSalary':30000}response=client.search(**params)Retrieving job detailsfromReedClientimportReedClientclient=ReedClient(api_key)result=client.job_details(job_id=job_id)API ParametersJob Searchkeywords-
This is the parameter for your search query. By default terms are ANDed.resultsToTake-
maximum number of results to return (the default is 100)employerId-
id of employer posting jobemployerProfileId-
profile id of employer posting joblocationName-
the location of the jobdistanceFromLocation-
distance from location name in miles (default is 10)permanent-
true/falsecontract-
true/falsetemp-
true/falsepartTime-
true/falsefullTime-
true/falseminimumSalary-
lowest possible salary e.g. 20000maximumSalary-
highest possible salary e.g. 30000postedByRecruitmentAgency-
true/falsepostedByDirectEmployer-
true/falsegraduate-
true/false
Package: reeds-shepp
# Reeds Shepp Path LibraryForked from the [repository](https://github.com/ghliu/pyReedsShepp) of [Guan-Horng Liu](https://github.com/ghliu>).Modified some places:Modify thepath_typefunction to get the length (>0 for forward, <0 for backward) and curvature (>0 for left, <0 for right) of each segment.## OverviewThe library implements the analytic Reeds Shepp path between two SE2 configurations.
Reeds Sheep path[^1] is defined as the shortest traveling path of the Reeds-Shepp Car, a car that can go both forward and backward with a constrained turning radius.
Reeds-Sheep path can be viewed as a generalized version of [Dubins path](http://planning.cs.uiuc.edu/node821.html).
The primary C++ source code comes from [Open Motion Planning Library](http://ompl.kavrakilab.org/ReedsSheppStateSpace_8cpp_source.html)(OMPL).
And the API of Python version (primarily a Cython wrapper) is similar to the [Dubins library](https://github.com/AndrewWalker/pydubins)  from Andrew Walker.
More descriptions can be referred to the [OMPL](http://ompl.kavrakilab.org/2012/03/18/geometric-planning-for-car-like-vehicles.html) and section 15.3.2 of the book [Planning Algorithms](http://planning.cs.uiuc.edu/node822.html).## Installation### PyPI`shell script $ pip installreeds-shepp`### from source`shell script $ sudo python setup.py install `## Demo`shell script $ python demos/demo.py `## APIpath_length(q0, q1, turning_radius)
- return total length of Reed Shepps curve from q0 to q1 with specified turning radiuspath_sample(q0, q1, turning_radius, step_size)return list of tuple (x,y,theta) uniformly sampled from corresponding Reed Shepps curvepath_type(q0, q1, turning_radius)return the tuple of path segment type andlengthfor the Reed Sheps curve from q0 to q1 with specified turning radius## References[^1]: Reeds, J., & Shepp, L. (1990). Optimal paths for a car that goes both forwards and backwards. Pacific journal of mathematics, 145(2), 367-393.
Package: reedwolf.entities
Reedwolf.Entities projectReedwolf.Entities is aPythonlibrary that extends
and enrich existing structured and unstructured data model with declarative
constraints and automatic evaluation logic.This is currently unfinished project.First feature complete and stable
release will include verbose explanation and documentation with examples.Reedwolf.entities is first published part of largerReedwolfproject which
aims solving common software design and implementation tasks in more-or-less
unique way.ComponentsBuilding blocksBuilding blocks are:CONTAINERS  - are top-level objecs, can contain components or same/lower
level containers.Entityis top object.EXTENSIONS  - specialized components used for one/many to one/many inner
data structures.COMPONENTS  - can be embedded into Container (contains)FIELDS      - can read/store data from/to storage. Check fields.py.FIELDGROUP  - logical groupihg and common functionality/dependency of other
componentsVALIDATIONS - data constraints based on field/validator expressions.
There are some predefined validators.EVALUATIONS - automatic data evaluations (computation) based on
field/evaluator expressions. There are some predefined
evaluations.NOTES:VALIDATIONS and EVALUATIONS are together defined as dataCLEANERSCardinalityValidators are special Validations category used in ExtensionsBindngBinding to existing data structures and functions is done on containers only with:MODELS      - are bound to containers and their fields to components'
fields.Internal objectsInternal objects are:VALUEEXPRESSIONS - expressions ...TODO:FUNCTIONS - functions that could be used in expressionsTYPEINFO - object that wraps around data tyus (python type hinting)CustomizationUser can add and use custom:validationsevaluationsfunctions
Package: reegis
The reegis repository provides tools to fetch, prepare and organise input data for heat and power models. At the moment the focus is on the territory of Germany but some tools can be used for european models as well.InstallationOn a Linux Debian system you can use the following command to solve all
requirements beforehand.sudo apt-get install python3-dev proj-bin libproj-dev libgeos-dev python3-tk libspatialindex-dev virtualenvFor other Linux systems you may have to adapt the package names. For Windows
systems you can just start pip install and fix occurring errors step by step.The reegis library is designed for Python 3 and tested on Python >= 3.6. We highly recommend to use virtual environments.
Please see theinstallation pageof the oemof documentation for complete instructions on how to install python and a virtual environment on your operating system.If you have a working Python 3 environment, use pypi to install the latest reegis version:pip install reegisDocumentationThereegis documentationis powered by readthedocs.Go to thedownload pageto download different versions and formats (pdf, html, epub) of the documentation.ContributingWe are warmly welcoming all who want to contribute to the reegis library. If
you frequently use one of the data sources you may contact me and help to
maintain the packages. Don’t be shy, even if you are a beginner.Citing reegisGo to theZenodo page of reegisto find the DOI of your version. To cite all reegis versions use:LicenseCopyright (c) 2019 Uwe Krien, nesnojPermission 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: reel
Async subprocess pipelines and stream transports:"""An example of using ``reel`` to play music."""
import trio

from reel import Reel
from reel.cmd import ffmpeg, sox


async def main():
    """Play some audio files through the speakers."""
    cornell77 = ''.join([
        'http://archive.org/download/',
        'gd1977-05-08.shure57.stevenson.29303',
        '.flac16/gd1977-05-08d02t{}.flac'
    ])

    tracks = [
        'http://allotropic.com/static/out000.wav',
        'http://allotropic.com/static/out001.wav',
        'http://allotropic.com/static/out002.wav',
        'http://allotropic.com/static/out003.wav',
        'http://allotropic.com/static/out004.wav',
        'http://allotropic.com/static/out005.wav',
        cornell77.format('04'),
        cornell77.format('05'),
        'http://ice1.somafm.com/groovesalad-256-mp3',
    ]

    playlist = Reel([ffmpeg.read(track) for track in tracks])
    speakers = sox.speakers()

    async with playlist | speakers as player:
        await player.play()

if __name__ == '__main__':
    trio.run(main)MotivationThis project is a simplified version of Python subprocess control with
pipes and asynchronous support.  It is being developed to supporttapedeck,
a music streaming package which uses ffmpeg and other shell commands to
get music from various sources to various destinations.
Package: reelib
reelib頻繁に利用する処理を集めたライブラリインストール方法pipinstallreelibライブラリの内容timestamp時刻文字列を扱うfromreelibimporttimestamp# 現在時刻のタイムスタンプを取得ts=timestamp.get_timestamp()# ex) 20191025164844890916# タイムスタンプをdatetimeに変換t=timestamp.conv_time_from_timestamp(ts)# ex) datetime.datetime(2019, 10, 25, 16, 48, 44, 890916, tzinfo=datetime.timezone(datetime.timedelta(0, 32400)))contjsonJSONを扱うfromreelibimportcontjson# ファイルからの読み込みjson_obj=load_from_file('test.json')# ファイルへの書き込みsave_to_file(json_obj,'test.json')# JSONを整形して標準出力print_json(json_obj)# str型文字列をJSONに変換json_obj=json_from_str('{"a":2, "b":3}')# JSONをstr型文字列に変換json_text=json_to_str(json_obj)contimg画像ファイルを扱うfromreelibimportcontimg# PIL型をOpenCV型に変換img_cv=contimg.pil2cv(img_pil)# OpenCV型をPIL型に変換img_pil=contimg.cv2pil(img_cv)# 画像のリサイズ (トリミング)resized=contimg.resize(img_cv,(画像のサイズ(x,yのtuple)),fill=False)# 画像のリサイズ (パディング)resized=contimg.resize(img_cv,(画像のサイズ(x,yのtuple)),fill=True)# 画像タイルの作成img_tile=contimg.get_imagetile((画像パスのリスト),(タイルのサイズ(x,yのtuple)),(タイルの数(x,yのtuple)))
Package: reelity
Bravo!  You have received a Mercantilism Diploma in "reelity" fromthe Simulated Parallel Science Universe Fictional Fantasy Orbital Convergence UniversityInternational Air and Water Embassy Naturalization Department of the Mango Planet
(the planet that is one ellipse closer to the Sun than Earth's ellipse).You are now officially certified to perform "reelity" operations in yoursimulated parallel science universe fictional fantasy practice!Encore! Encore! Encore! Encore!reelityfor motion picture use, etc.descriptionWelcome to reelity.obtain[xonsh] pip install reelity--tutorial[xonsh] reelity tutorialkey generationThis can be found in the tutorial at "modules/EEC_448_1/tutorial"
Package: reelog
reelog python log best practices>>>importreelog>>># root logger>>>logger=reelog.get_logger()>>>logger.info("hello world!")>>># reelog name logger>>>logger=reelog.get_logger("reelog")>>>logger.error("hello world!")>>># output to stdout and file>>>logger=reelog.get_logger("reelog",stdout=Ture,file=Ture)>>>logger.warning("hello world!")>>># output to stdout and rotate file>>>logger=reelog.get_logger("reelog",stdout=Ture,rotate_file=Ture)>>>logger.warning("hello world!")
Package: reepsy
⚰️ ReepsyReepsy - это библиотека для классификации изображений, построенная на базе PyTorch🛠️ Инструменты:PythonPyTorch🚀 Установка:pip install reepsyЗапускаем, не работет, ура! 🗿🚬📺 Демо:Пример использования -exampleДокументация -docs⚡ Немного дополнительной информации:P.S. Все баги и недочеты - это фичи
Package: reequirements
reequirementsreequirementsis a useful library for defining and checking for the status of (not necessarily Python) requirements needed for your Python project.UsageCreate someRequirementobjects. Specify a friendly name for the requirement, a command to be able to check that requirement, and if it should issue a warning or halt the program if it is missing.fromreequirementsimportRequirementREQUIREMENTS=[Requirement("docker",["docker","-v"],warn=False)Requirement("fortune",["fortune","-v"],warn=True)]Now, iterate through these requirements and check them.forrinREQUIREMENTS:r.check()RequirementMissingwill be raised ifdocker -vexits with exit code 127 (command not found), or the more genericRequirementErrorwill be raised if it exits with any other nonzero exit code.RequirementMissingWarningwill be warned iffortune -vexits with exit code 127 (command not found), or the more genericRequirementErrorWarningwill be warned if it exits with any other nonzero exit code.TipsMake sure your commands to check requirements end with the correct exit code! This often means using flags like-v,-hwhen it comes to command line toolsYou do not need to check for requirements right away; you can createRequirementat any time and check it whenever you want
Package: reesaurora
Rees-Sergienko-Ivanov Auroral modelRees-Sergienko-Ivanov model of excitation rates, relevant to auroral
optical emissions inspired/based upon Gustavsson / Brandstrom et alAIDA_ToolsModel designed for100 - 10,000 eV, and is essentially aparameter
fitto more advanced models, making for convenient computation in this
energy range with the PCs of the early 1990s. Today, much more advanced
physics-based models are tractable on a PC.Uses MSISE-00 to generate O, O2, N2densities, and models outcome of
primary electron precipitation on this neutral background.InstallRequires a Fortran compiler, such asgfortran.
Any Fortran compiler should work:pip install -e .ExampleReesSergienkoIvanov -t 2011-03-15T12:34:56 -c 65 -148-ospecify output file (HDF5)-cspecify geographic lat,lon
Package: reescritor
reescritorA Python module for Article Rewriter (spanish) withReescritor.com.How to InstallTo install using pip run:pip install reescritorHow to use this moduleThis module can be used to rewrite texts in Spanish.See following example:from reescritor import ReescritorRequestprovider = “reescritor.com”apikey = “YOUR_API”text_in = ‘’’Texto en español de entradaPuedes poner lo que quieras’’’protected = ‘’’one word per lineother word’’’r = ReescritorRequest.spinner(apikey, text_in, protected, provider)print(r[‘text’])print(r[‘text_nospintax’])Customer SupportSimply reach out to us viaTelegram GroupSign upto get a API keyLicenceThis software is licensed under the GNU General Public License (version 3) as published by the Free Software Foundation this licencehttp://www.gnu.org/licenses/. If you would want a different licence please contact me, on twitter@nicolasmarin.