Saravanan666/pypi-org huggingface dataset:
Package: rewrite
ReWriteReWrite is a Python package for generating PDF documents via LaTeX. The goal of this project is to allow instructors to recreate course documents that must change in routine ways every time the course is offered. My vision is for ReWrite to support the creating of randomizable math problems and assessments without extensive programming knowledge.AcknowledgmentsThe previous name of this package was ExamSage which was a tribute to  William Stein'sSageMathproject. Stein also developed theCoCalcplatform. Without Stein's contributions to the open source community, ReWrite may have never moved beyond a pure LaTeX solution.ReWrite interfaces with LaTeX via Jelte Fennema'sPyLaTeXlibrary. Many of the classes provided by ReWrite inherit from classes provided by PyLaTeX. Also, much of my documentation design choices are modeled on the PyLaTeX documentation.WarningThis is my second package and is intended as a learning exercise. In other words, expect nothing to work and everything to change.InstallationReWrite is being developed onCoCalcin Python 3.6.7 and it can be installed by running:pip3 install rewriteSupportIf you are having issues, please let me know atmbarnard10@ivytech.eduLicenseThe project is licensed under theMITlicense.
Package: rewrite-for-file
Lamel_graphПрограмма "Фиксации и измерения пузырей внутри жидкой среды"О проектеОснавная цель данного проекта - обработка информации, полученой со специальных датчиков, и её визуализация.
На данный момент программа логически разделенна на две части, чтение и перезапись файла из программы .vlt и обработка данных.Окончательный результатВыше представлен приммер результат работы. Явно выраженны границы пузырей, пик для каждого пузыря и скорость. Скорость, в частности,выводится как среднее значение, а не идвидуально для каждого пузыря. Так же выжно заметить, что на самом деле замеряется не скорость, а проекция скорости на плоскость, на которой расположенны датчики.Пример работыНа вход подаётся бинарный файл, записанный с помощью датчиков в некой среде, который передаётся на устройство.О средеGithubРепозиторий содержит несколько веток, для паралельной работы нескольких человек.С помощью giyactions добавленна проверка для PyQt программDockerНиже представленна сборка программы для docker.Создан контейнер для программы с графическим интерфейсом.Запуск программыНа данный момент не риализованн установщик для приложения. После объединения двух частей проетка в один будет, будет добавленн установщик. Сейчас запустить части программы можно через любой редактор кода, или через командную строку.
Package: rexam-item-editor
RExam Item EditorMaintaining and editing databases of RExam itemsFeature overviewValidations checksfile and folder naming and required meta-informationrequired subfolder structurejoining bilingual items in the database (Dutch, English)Convenience functions for item editingsupport for generating and naming new itemsauto-fix function for some violations of the conventions andRmarkdown syntaxmultiple choice items: correct answers can be indicated with an#(instead of*).exsolutionwill be set automatically.R markdown rendering check (experimental, requiresR)Released under the MIT LicenseOliver Lindemann, Erasmus University Rotterdam, NLDependenciesPython 3.7+ and the following libraries:PySimpleGUIappdirsOptional requirement:rpy2 >=3.4markdown >=3.0Rendering Rmd File (work in progress)To render Rmd files directly via theRExam-Item-Editor, you need
a functioning installation ofRincluding theR-packageexams.If you don't use the Windows executable, install the Python-packagerpy2(pip install rpy2).Windows user find two executable files forRExam-Item-Editor, one with
and one withoutRrendering support.RExam-Item-Editorwith
rendering does not work on computers  without aRinstallation.Note: TheItem Editorfor theShareStatsproject is based onRExam-item-Editor.
Package: rexdsb
DSBApiEine API für die DSBMobile Vertretungsplan-Lösung, welche viele Schulen benutzen.Python 3Funktioniert Stand 02.10.2020 (Jetzt via Android-API (nach Problemen in 0.0.3), seit 2015 stableAktuell in Version 0.0.14Aktuell stableUnits 2020 nicht vollständig unterstützt, PRs welcome, aber Kompatibilität berücksichtigen!Installation:pip3 install dsbapipyoder manuell vom Source Code.Datensatz:JSON Liste an Arrays. Ein Array sieht so aus:KeyValueNotiztypeVertretungArt des Eintragsclass5DKlasselesson12SchulstunderoomR404(Neuer) Raumnew_subjectM-GK1Neuer KurssubjectIF-LK4Ursprüngliches Fach / Kursnew_teacherNEUMNeuer LehrerteacherBIMMUrsprünglicher Lehrerdate01.01.2019DatumdayMontagWochentagupdated02.02.2019 12:13Letztes UpdateHinweise zum Key "class"Der key "class" wird speziell behandelt, indem der Inhalt der Schulklasse bei der Zeichenfolge "," geteilt wird.
Diese Teilung wird verwendet um bei kombinierten Klasseneinträgen, die Daten für jede Klasse einzeln aufzusplitten.Implementierung:Beispiel 1importdsbapidsbclient=dsbapi.DSBApi("username","password")entries=dsbclient.fetch_entries()# Rückgabe einer JSON Liste an Arraysprint(entries[0]["date"])# Datum des ersten EintragsBeispiel 2: Anderes TabellenformatSchulen sind relativ frei in der Gestaltung Ihrer Datensätze. Daher kann der oben beschriebene Standard wiefolgt überschrieben werden:importdsbapiownFields=['class','lesson','new_subject','room','subject','new_teacher','type','text']dsbclient=dsbapi.DSBApi("username","password",tablemapper=ownFields)entries=dsbclient.fetch_entries()# Rückgabe einer JSON Liste an Arraysprint(entries[0]["date"])# Datum des ersten Eintrags
Package: rexi
rexiis a simple yet powerful CLI tool designed for developers, data scientists, and anyone interested in working with regular expressions directly from the terminal.
Built with Python and leveraging thetextuallibrary,rexioffers a user-friendly terminal UI to interactively work with regular expressions.FeaturesInteractive UI:Built on top of thetextuallibrary, providing a clean and intuitive interface to work with.Regex Evaluation:Supports evaluating regular expressions using eithermatchorfinditermodes, allowing users to select the most suitable method for their needs.Real-time Feedback:Instantly see how your regular expression patterns match or find iterations over your input, enhancing learning and debugging experiences.Easy to Use:Get started quickly with a simple command.rexireads input directly from stdin, streamlining the process of testing regular expressions.InstallationpipinstallrexiUsagecat/etc/hosts|rexiOnce the UI is open, you can:Write a Regex Pattern:Enter your regex pattern in the designated input area.Choose a Mode:Select eithermatchorfinditerto apply your regex pattern.View Results:See the marked output based on your regex pattern and selected mode in real-time.ContributingWe welcome contributions from the community! Whether it's adding new features, fixing bugs, or improving documentation, your help is appreciated. Please see our contribution guidelines for more information on how to contribute torexi.rexiis here to make working with regular expressions in the terminal an easy and interactive experience. Try it out and see how it can streamline your regex testing and learning process!LicenseThis project is licensed under the terms of the MIT license.
Package: rex-plus
📦 rex-plus (for humans)Plus version of reInstallationpipinstall-ihttps://mirrors.aliyun.com/pypi/simple/--extra-index-urlhttps://pypi.org/simple/rex-plusExampleimportrex_plus# 正则替换# Partial replacement according to regular expressionrex_plus.sub('(限行)灯',['线型'],'卧室有一盏限行灯')# output: '卧室有一盏线型灯'rex_plus.sub('(我是).*(限行)灯',['卧室','线型'],'卧室有一盏限行灯')# output: 卧室有一盏线型灯rex_plus.sub('(?:卧室)的(限行)灯',['线型'],'卧室的限行灯')# output: 卧室的线型灯rex_plus.sub('(?:(我是)的)(限行)灯',['卧室','线型'],'卧室的限行灯')# output: 卧室的线型灯# 查询所有匹配项，并返回对应的index和textrex_plus.search_all(r"\d","__a1bb2ccc3")# output: [<rex_plus.Match object; span=(3, 4), text='1'>, <rex_plus.Match object; span=(6, 7), text='2'>, <rex_plus.Match object; span=(10, 11), text='3'>]To DoBe the best version of you.More Resourcesrex-pluson github.comOfficial Python Packaging User GuideThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.
Package: rexpression
Add Perl like regular expression syntax like:fromrexpressionimportregexprint("foo bar"==~regex("^foo"))# -> Trueprint("foo bar"==~regex("^boo"))# -> Falseprint("foo bar"!=~regex("^foo"))# -> Falseprint("foo bar"!=~regex("^boo"))# -> Trueprint("foo bar"==regex("foo"))# -> Falseprint("foo bar"==regex("boo"))# -> Falseprint("foo bar"==regex("foo bar"))# -> TrueDO NOT USE THIS MODULE EXCEPT FOR A PIECE OF CODE.
Basically, this is reallyBADidea in Python and you should prevent to use this kind of BAD syntax in productive code.InstallationUsepiplike:$ pip install rexpressionLicenseThe MIT License (MIT)Copyright (c) 2015 Alisue, hashnote.netPermission 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: rexpython
=========RexPython=========This is Reactive Extensions (Rx) for Python implementation mimicing RxJava2 API as far as it can.It is LINQ free btw. The goal to make it hackable on the go.https://github.com/chexov/rexpythonInstallation============pip install rexpython=====Usage=====import rexpython as rxdef on_subscribe(emitter):emitter.setDisposable(ActionDisposable(lambda: sys.stdout.write("disposed")))print ("subscribed")for i in xrange(1, 3):emitter.onNext(i)time.sleep(1)# emitter.onError(Exception("foo"))emitter.onComplete()frames = rx.Observable.create(lambda emitter: on_subscribe(emitter, video_url, 2))mat_img = frames.map(featureextractor.FeatureExtractor.preprocess_image)vect = mat_img.map(lambda img: fe.get_activations([img]))words = vect.map(lambda vec: d.getWordsForBatch(vec, 40)) \.flatMap(lambda wlist: rx.Observable.from_(wlist))words = words.doOnNext(lambda w: log.info("words=%s" % w)).doOnError(lambda err: log.error("ERRRORRR %s" % err))value = words.toList().blockingGet()
Package: rexsio-agent
REXS.IO AgentREXS.IO Agent is a lightweight process running on the host server (thenode) and facilitating connectivity between the node and REXS.IO's User Interface. It:Monitors the health of the node (CPU, Memory)Provides information about the node’s hardwareDeploys REXS.IO core services: Notaries and SecretariesMonitors the health of REXS.IO Core ServicesThe Agent is part of a larger REXS.IO Suite.What is REXS.IO?REXS.IO is a blockchain-based data notarization service that creates a shield of trust for any data, including IoT streams, live video feeds, documents, images and more.Data origin is guaranteed by preserving notary proofs on distributed ledgers. REXS.IO additionally enables full data acknowledgment and incontestability through end-to-end chains of trust with hardware security components.With our product, organizations can benefit from the security and immutability of the distributed ledgers without their inherent bottlenecks and prohibitive storage costs. REXS.IO’s core technology is scalable and affordable without compromising security.REXS.IO goes beyond data security and puts the user experience in the focus as well. It abstracts the technical complexities and nuances of the DLT ecosystem with intuitive user interfaces.By design, REXS.IO is technology-agnostic and privacy-centric. We provide a framework with the freedom to choose and deploy the most suitable stack, rather than forcing a user to utilize a particular blockchain or a storage solution.InstallationTypically you won't install an Agent without triggering the process from the User Interface. Visitapp.rexs.io, create anew nodepool and a newnodeusing the configuration tool. The setup process will walk you through the installaiton procedure.Find out more by visiting theAgent Instalator Git repository.Tutorial VideosIf you'd like to find out more about REXS.IO's architecture, inner-workings and installation process, see our YouTube playlist:
Package: rext
rexgit commitvx.x.xcleanpython setup.py sdistreleasepython setup.py upload --verboseinstallpip intall rextupgradepip install --upgrade rextupgrade 指定版本pip install --upgrade rext==0.1.22镜像会同步不及时，临时使用默认镜像更新pip install -ihttps://pypi.org/simple--upgrade rextlistpip listimportfrom rext import mstring as msuseprint(ms.remove_space_all("666 666"))
Package: re-y
release-engineers/yA tool like yq (and jq) but without their feature of completely cleaning up your YAML documents. yq and jq are great tools especially for making
changes to documents that are not intended to be human-readable. However, when you want to make changes programmatically to documents and still be
able to read them afterwards, they're probably not the best tools for the job.yaims to be a tool familiar for users of yq and jq while preserving your YAML's comments, block & flow style, key ordering, blank lines & more.Install theyCLI utility and Python package with;pipinstallre-yUsageycomes with an expression language similar to yq which can be used to select and edit parts of a YAML document. Here's examples for a
YAML document 'sample.yml';---a:b:# comments and whitespace are preserved# unless the object owning them is removed or replacedc:-d:1# replacing the array element `d: 1` above would remove this comment (and any potential whitespace around it)-e:2-f:3#!/usr/bin/env bash# modify a file in-placey--inplace--filedocs/sample.yml--'.a.b.c[0] = 123'#!/usr/bin/env bash# write to stdouty--filedocs/sample.yml--'.a.b.c[0] = 123'ExpressionsSelectorsDescriptionExample.Select the root of the expression contexty --file docs/sample.yml '.'.keySelect fieldkeywithin the contexty --file docs/sample.yml '.a.b.c'[index]Select element atindexwithin the contexty --file docs/sample.yml '.a.b.c[0]'$Select the root of the program context.y --file docs/sample.yml '$'OperatorsDescriptionExampleexpression = expressionAssign a value a given referencey --file docs/sample.yml '.a = .a.b'expression + expressionMathematical operators+,-,/,*,%and^y '.1 + 2 * 4'expression | expressionPipe operator; pass the output of the left-hand expression as context for the right-hand expression.y '2 | . * 2'(expression)Precedence operator; evaluate the expression within parentheses first.y '(2 | . * 2)':information_source: Regarding mathematical operators;^is evaluated first, then*,/and%are evaluated left-to-right, and finally+and-are evaluated left-to-right.:warning: Assigning precedence to mathematical operators with parentheses is not supported.:information_source: The pipe operator|modifies the expression context (.) of the right-hand expression to the output of the left-hand
expression, hence the availability of the$operator to select the root of the program context.ConstantsDescriptionExampletrueBoolean valuestrueandfalsey 'true'nullNull valuey 'null'123Numbersy '123'"abc"Stringsy '"abc"'ContributingThis is a Python Poetry project usingFire.
SeePoetryfor more information.Development requires:BashDockerPythonPoetryLinksThis project was created usingtemplate-poetry.
Package: reyline
Rey - Line Messaging API Python WrapperYet another asynchronous API wrapper designed to simplify the process of integratingLine Messaging APIinto your Python applications. With Rey, you can send and receive messages, manage user profiles, and leverage Line's rich multimedia messaging capabilities. Rey Is supposed to be a personal project of mine out of boredom and curiosity. Other Features would be implemented soon enough such as but not limited to:Full support of the messaging API (all endpoints).Webhook event with flask & ngrok support.FeaturesAsynchronous: Rey is built using theaiohttplibrary, allowing you to write non-blocking code for your Line Messaging applications.Ease of Use: Rey provides a simple and intuitive API for sending and receiving messages, managing users, and handling events.Customizable: You can customize and extend Rey to fit the specific requirements of your Line Messaging project.InstallationTo install Rey, simply use pip:pipinstallreyContributingContributions to Rey are welcome! If you find a bug or have a feature request, please open an issue on the GitHub repository. If you'd like to contribute code, feel free to fork the repository and submit a pull request.LicenseThis project is licensed under the MIT License - see the LICENSE file for details.AcknowledgmentsSpecial thanks to the Line Messaging API team for providing a powerful platform for building Line bots and applications.
Package: reze
RezeA Python client for easy use of the Reze recommendation API.If you don't have an account at Reze yet, you can create a free accounthereInstallationInstall the client with pip:pip install reze(use pip3 instead of pip if you use Python 3)Examples# importfromreze.api_clientimportRezeClientfromreze.api_requestsimportSalebotAddInteraction,SalebotBoughtTogether,SalebotItemsToItemapp_id="your_app_id"app_key="your_key"server_url="current_reze_api_server"client=RezeClient(app_id,app_key,server_url)# Send the data to Rezerequest_add_interaction=SalebotAddInteraction(1,"tag_content",1,"VIEW")print(client.send(request_add_interaction))# Get recommendationsrequest_bought_together=SalebotBoughtTogether("bô")recommended_bought_together=client.send(request_bought_together)print("Bought together items: ")fortaginrecommended_bought_together['data']:print(tag['tag'])# Get recommendationsrequest_items_to_item=SalebotItemsToItem("bô")recommended_items_to_item=client.send(request_items_to_item)print("Recommended items to item: ")fortaginrecommended_items_to_item['data']:print(tag['tag'])
Package: rezero
ReZero for Deep Neural NetworksReZero is All You Need: Fast Convergence at Large Depth;ArXiv, March 2020.Thomas Bachlechner*, Bodhisattwa Prasad Majumder*, Huanru Henry Mao*, Garrison W. Cottrell, Julian McAuley (* denotes equal contributions)This repository contains the ReZero-Transformer implementation from the paper. It matches Pytorch's Transformer and can be easily used as a drop-in replacement. See sections below for installation and usage.AbstractDeep networks have enabled significant performance gains across domains, but they often suffer from vanishing/exploding gradients. This is especially true for Transformer architectures where depth beyond 12 layers is difficult to train without large datasets and computational budgets. In general, we find that inefficient signal propagation impedes learning in deep networks. In Transformers, multi-head self-attention is the main cause of this poor signal propagation. To facilitate deep signal propagation, we proposeReZero, a simple change to the architecture that initializes an arbitrary layer as the identity map, using a single additional learned parameter per layer. We apply this technique to language modeling and find that we can easily train ReZero-Transformer networks over a hundred layers. When applied to 12 layer Transformers, ReZero converges 56% faster on enwiki8. ReZero applies beyond Transformers to other residual networks, enabling 1,500% faster convergence for deep fully connected networks and 32% faster convergence for a ResNet-56 trained on CIFAR 10.InstallationSimply install from pip:pip install rezeroPytorch 1.4 or greater is required.UsageWe provide custom ReZero Transformer layers (RZTX).For example, this will create a Transformer encoder:importtorchimporttorch.nnasnnfromrezero.transformerimportRZTXEncoderLayerencoder_layer=RZTXEncoderLayer(d_model=512,nhead=8)transformer_encoder=nn.TransformerEncoder(encoder_layer,num_layers=6)src=torch.rand(10,32,512)out=transformer_encoder(src)This will create a Transformer decoder:importtorchimporttorch.nnasnnfromrezero.transformerimportRZTXDecoderLayerdecoder_layer=RZTXDecoderLayer(d_model=512,nhead=8)transformer_decoder=nn.TransformerDecoder(decoder_layer,num_layers=6)memory=torch.rand(10,32,512)tgt=torch.rand(20,32,512)out=transformer_decoder(tgt,memory)Make surenormargument is left asNoneas to not useLayerNormin the Transformer.Seehttps://pytorch.org/docs/master/nn.html#torch.nn.Transformerfor details on how to integrate customer Transformer layers to Pytorch.
Package: rezkaAPI
rezkaAPIPython library for getting various information from the sitehdrezka.agand for interacting with it.InstallationUse the package managerpipto install rezkaAPI.pipinstallrezkaAPIUsagefromrezkaAPI.parserimportRezkamovie=Rezka("Interstellar")movie.search()# Allows you to search for content on the site# Returns a JSON object with search resultsresult_id=2movie.select_result(result_id)# Allows you to select a search result by id# Returns the movie/series name on successmovie.information()# Get detailed information about a movie/series as JSONmovie.get_links()# Get streaming links# Access to class fieldsmovie.search_requestmovie.namemovie.urlmovie.search_resultsmovie.infoContributingPull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: rezka-api-sdk
Rezka API SDKSDK for unofficial Rezka API.
Details about APIat Telegram.InstallationYou can installrezka_api_sdkusing pip:pipinstallrezka_api_sdkUsagefromrezka_api_sdkimportRezkaAPI,models# Init API clientrezka_api=RezkaAPI("<your API key>")# Get me, returns `models.UserModel`awaitrezka_api.get_me()# Search items, returns `list[SearchResultModel]`awaitrezka_api.search("Top Gun: Maverick")# Get short info about item and available translators, returns `tuple[ShortInfoModel, list[TranslatorInfoModel]]`awaitrezka_api.get_info_and_translators("Top Gun: Maverick")# Get direct urls# NOTE: allowed to pass item's ID or URL# Acceptable key arguments:## translator_id: int; required;# is_film: bool; required;# translator_additional_arguments: dict;  required; you can get it from `models.TranslatorInfoModel.additional_arguments`# For films:awaitrezka_api.get_direct_urls(id=47946,translator_id=56,is_film=True,translator_additional_arguments={})# For series:awaitrezka_api.get_direct_urls(id=646,# Breaking badtranslator_id=56,is_film=False,translator_additional_arguments={},season_id="1",episode_id="1")For user-friendly cli seecli.py.Stay updatedFor the latest news and updates, follow myTelegram Channel.
Package: rezparser
A pure Python library for parsing Macintosh Rez source files, which are used by the legacyRezandDeReztools to compile, modify and decompile Macintosh resource fork data.RequirementsPython 3.6 or later, as well asPLY(tested with version 3.10, but older and newer versions probably work too).Installationrezparseris availableon PyPIand can be installed usingpip:python3-mpipinstallrezparserAlternatively you can install a local copy:python3-mpipinstall-e.ChangelogVersion 1.0.0Initial release version