Saravanan666/pypi-org huggingface dataset:
Package: reflexec
ReflexecReflexec is a utility to automate annoying save-and-run routines in terminal
environment. Reflexec watches file system and triggers command execution on
specified file event (e.g. file change).FeaturesWatch file system events (e.g. file change) using shell patterns.Execute command on file system event.Display summary of command execution (time spent, exit code).Support for different outputs (including standard logging, terminal output,
terminal titlebar and system notification).Quick configuration with command line arguments.Advanced configuration using config file.Config file generation from command line.Activity diagram.------------------------------------------------------------.
:                                                            :
:                  O                                         :
:                  |                                         :
:          .--------------.                                  :
:          |Parse CLI args|                                  :
:          ˋ--------------ˊ                                  :
:                  |                                         :
:          .---------------.                                 :
:          |(Re)load config| <--------------------.          :
:          ˋ---------------ˊ                      |          :
:                  |                              |          :
:          .---------------.                      |          :
:          |Execute command|                      |          :
:          ˋ---------------ˊ                      |          :
:                  |                              |          :
:          .--------------.                       |          :
:          |Report results|                       |          :
:          ˋ--------------ˊ                       |          :
:                  |                              |          :
:           .-------------.                       |          :
:           |Reload config|                       |          :
:           ˋ-------------ˊ                       |          :
:                  |                              |          :
:          .----------------.                     |          :
:          |Watch filesystem|                     |          :
:          ˋ----------------ˊ                     |          :
:                  |         Filesystem event /   |          :
:          .--------------.  SIGQUIT              |          :
:          |Register event| >---------------------ˊ          :
:          ˋ--------------ˊ                                  :
:                  |                                         :
:                  | Keyboargd interrupt ^C                  :
:                  |                                         :
:                  V                                         :
:                  O                                         :
:                                                            :
`------------------------------------------------------------'
Package: reflex-icons
Reflex-IconsThis library provides all icons of React-icons wrapped for ReFlex frameworkInstallationpip install reflex-iconsUpgradationpip install reflex-icons --upgradeAdd react-icons in rxconfig.pyconfig=rx.Config(...,frontend_packages=["react-icons",],)Useimportreflexasrxfromreflex_icons.BootStrapimportBsFill0CircleFilldefindex():returnrx.box(BsFill0CircleFill())📖 View all IconsAuthorName :Saurabh WadekarEmail :saurabhwadekar420@gmail.comCounty :🇮🇳INDIA🇮🇳❤️ THANK YOU ❤️If this library is useful to you, don't forget toStar ⭐it
Package: reflex-nexus
Note: This is a work in progress project. References made in the readmeand documentation are currently unfulfilled.RE:Flex Nexus - Universal Dance Pad UtilitiesRE:Flex Nexus aims to provide a comprehensive collection of PC software
utilities for dance pads. The interface specification is flexible, allowing
any dance pad to be quickly integrated and begin using available software
features.In addition, the project aims to provide a comprehensive set of user guides
for open-source dance pad design. The goal is to create a centralised
ecosystem for both software tools and documentation of dance pads. This
will hopefully inspire creativity/freedom, while letting dance gamers share
technology together.InstallationThe latest executable can be found on theReleasespageDownload the application for your respective operating systemDownload thenexus-resources.zippackage and extract to the location
you would like to store program dataOpen thereflex-nexusapplicationYou will be prompted to set up your program data folder, enter the directory
of the folder that you just extractedUsageFor details on usage, check out theDocumentation.ContributingInstall the latest version ofPythonandgit, use your terminal/command
prompt to navigate to the directory you would like to install this project to,
then run the following commands:# Clone and enter repository.gitclonehttps://github.com/ReflexCreations/Nexus.gitcdnexus# Get the build/environment manager.pipinstallpoetry# Set up virtual environment and install reflex_nexus as package.poetryinstallYou're all set up! You can now usePoetryto run the application scripts.# Build the executable.poetryrunbuild# Build the documentation HTML.poetryrundocs# Lint the project.poetryrunlint# Test the project for your Python version and operating system.poetryruntestTo synchronise your code editor with the virtual environment that Poetry
creates, you can usepoetry env info -p, copy the path, and supply that path
to your code editor for the Python interpreter location.AcknowledgementsThe following Python packages are used in this project, and are greatly
appreciated:Runtime dependencies:libusb-package- Container package for libusbPyQtDarkTheme- Dark/light theme for Python QT applicationsPySide6- Python bindings for QT GUI frameworkPyUSB- Python USB access moduleQtAwesome- FontAwesome/Elusive Icons for Python QT applicationsDevelopment dependencies:Poetry- Dependency, environment and packaging managerPyInstaller- Cross-platform executable generatorpytest- Project testingpytest-cov- Coverage integration for pytestRuff- Project lintingSphinx- Documentation generatorSphinx-Rtd-Theme- Read the Docs Sphinx themeRE:Flex Nexus is released under the MIT License, more details inLICENSEfile.
Package: reflex-supporter
reflex-supporterhttps://pypi.org/project/reflex-supporterpip install reflex-supporterInstall Node.js (npm) (Windows)https://nodejs.org/ko/download/https://nodejs.org/download/release/v13.9.0/Supported APIsimport reflex_supporter

reflex_supporter.components.color_picker
reflex_supporter.components.jumo_button
reflex_supporter.components.json_editor
reflex_supporter.components.webcamapp/rxconfig.pyimport reflex as rx

class AppConfig(rx.Config):
    pass

#from rxconfig import config
#config.app_name
config = AppConfig(
    app_name="app", #디폴트 app
    #db_url="sqlite:///pynecone.db", #디폴트 sqlite:///pynecone.db
    #api_url="http://localhost:8000", #디폴트 http://localhost:8000 #http://localhost:8000, http://automatethem.net:8000
    #port=3000, #디폴트 3000 #실제 서비스시 추가로 커멘드 라인에서 80 포트를 3000 포트로 포워딩 하기
    #backend_port=8000, #디폴트 8000
    #env=rx.Env.DEV, #디폴트 rx.Env.DEV #rx.Env.DEV, rx.Env.PROD
    #disable_bun=False, #디폴트 False
    frontend_packages=[ 
        #디폴트 없음 #"react-jsondata-editor" 
        "react-colorful", #
        "react-supporter", #
        "react-jsondata-editor" #
        "react-webcam" #
    ]
)Examples:https://github.com/automatethem/reflex-supporter/blob/main/examples/color_picker/app/app/app.pyhttps://github.com/automatethem/reflex-supporter/blob/main/examples/jumo_button/app/app/app.pyhttps://github.com/automatethem/reflex-supporter/blob/main/examples/json_editor/app/app/app.py
Package: refline.srccheck
This is a generic package that does some source checking/linting jobs.CHANGES1.0 (2018-02-06)Make sure to close open filesOfficial Python 3 support0.8.0 (2015-10-28)pep8/lint compliant ignores:
- “# srccheck_ignore_file”
- “# srccheck_ignore”
- “# ignore PyflakesChecker #”0.7.2 (2015-04-09)PyflakesChecker: fix: ignored ##srccheck_ignore0.7.1 (2015-02-26)changed checker.checker to accept a module or path0.7.0 (2015-02-26)Refactored checks0.6.0 (2013-03-27)Added support for Python 3.3.0.5.4 (2012-11-16)Support pyflakes 0.5.00.5.3 (2012-04-04)Fix: cleanup the madness in logging0.5.2 (2012-04-04)Fix unicode encoding issues in CSSChecker0.5.1 (2012-04-04)Added CSS checking via cssutilsAdded some more test files0.5.0 (2012-04-02)Initial release on Cheeseshop.
Package: reflink
Python reflinkPython wrapper around thereflinksystem calls.
Note: Python is implementing this natively upstream, cfr.https://bugs.python.org/issue37157.Free software: MIT licenseDocumentation:https://reflink.readthedocs.io.Documentation for master branch:https://rubdos.gitlab.io/pyreflink/docsFeaturesBtrfs, XFS, OCFS2reflinksupport. Btrfs is tested the most.Apple macOS APFSclonefilesupport. Little testing, be careful. It might eat data.A convenience method that checks support for reflinks within a specific directory.InstallationThis library is available onpypi:pip install reflinkQuick start exampleTo use Python reflink in a project:from reflink import reflink
# Reflink copy 'large_file.img' to 'copy_of_file.img'
reflink("large_file.img", "copy_of_file.img")Help wantedSomeone to implement aWindows/ReFS implementationSupportSupport onthe GitLab repository,
feel free to file an issue.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.2.0 (2018-03-09)New features:APFS/Darwin supportFilenames outside ascii are supported (thank you, Kriskras99)Bug fixes:Building on newer glibc (thank you, Frankie Dintino)Better error handling for ENOENTOther changes:Continuous integration for Windows (AppVeyor), integrated in the GitLab pipeline0.1.0 (2017-07-27)First release on PyPI.
Package: reflowrst
Installation>>> sudo pip install reflowrstUsageExample:>>> from reflowrst import reflow
>>> text = 'Here is a paragraph that is far too long and will need to wrap.'
>>> print(reflow(text, 47))
Here is a paragraph that is far too long and
will need to wrap.You can also get the longest possible form of the rst text by using 0
for the space. For example:>>> paragraph = '''Here is a paragraph that is far too long and
will need to wrap.'''
>>> print(reflow(paragraph, 0))
Here is a paragraph that is far too long and will need to wrap.Todo☑ Titles☑ Transitions☑ Paragraphs☑ Bullet Lists☑ Enumerated Lists☑ Definitions☑ Fields☑ Options☑ Literal Blocks☐ Quoted Literal Blocks☑ Line Blocks☑ Block Quotes☐ Doctest Blocks☑ Grid Tables☑ Simple Tables☑ Footnotes☑ Citations☑ Directives
Package: reflux
RefluxReflux is a third-party tool for creating and publishing site-wide style themes to Replit! Using Reflux, users can easily change Replit's default CSS variables, and share thier created themes with other users via themarketplace. Find the quickstart examplehere. Fork it and follow the guide to get started using Reflux and creating themes on Replit!ShowcaseInstallationManagerCommandpippip install refluxpoetrypython -m poetry add refluxreplitSearchrefluxin the Packages tab and+itDocumentationFind extensive documentation on Reflux and it useshere.ContributingFork the repository:ForkClone locally (git clone https://github.com/<username>/Reflux.git)Create your feature branch (git checkout -b my-new-feature)Commit your changes (git commit -a -m 'Add some feature')Push to the branch (git push origin my-new-feature)Create a new Pull Request! 🎉Local Developement:In order to properly test the Reflux package locally runbash bin/localin the project directory.bash bin/cleanwill delete the tarball and build directories.
Package: refman
RefManRefMan - A Simple python-based reference managerDemoHowRefManworksRefMancapitalises onSci-hubandcrossrefto
provide a very simple Python-based reference manager.The goal ofRefManis to prioritise getting bibliographic data and PDFs, wihtout having to worry about databases or manually downloading and maintaining references yourself.RefManmaintains:a BibTeX bibliography fileref.bib, anda directory ofpdf's in aREFMAN_DATA.RefMan's output is stored inrefman_datain the current working directory, or sourced from a
path listed under theREFMAN_DATAenvironment variable.How to useRefManAdding new papers torefman_datacan be achieved in three ways:With a DOI, using-d, --doi, orWith anarxivreference using-a, --arxiv, orAs a last-resort, with a BibTeX string using-b, --bibtex, alongside an optional PDF (url or local-path) using-p, --pdf.Installinggitclonehttps://https://github.com/adriancaruana/refmancdrefman
./installGetting Started# Make a directory to store referencesmkdir~/refman_data# Set the REFMAN_DATA environment variable. Add this to your `.bashrc` for persistence.exportREFMAN_DATA=$HOME/refman_data# Add a paper using a DOI:refmandoi10.1103/PHYSREVLETT.116.061102# Add a paper using an `arxiv` referencerefmanarxiv2103.16574# Add a paper using a bibtex string & pdf.refmanbibtex"@inproceedings{devlin2018bert,title="BERT:Pre-trainingofDeepBidirectionalTransformersforLanguageUnderstanding",author="Jacob{Devlin}andMing-Wei{Chang}andKenton{Lee}andKristinaN.{Toutanova}",booktitle="Proceedingsofthe2019ConferenceoftheNorthAmericanChapteroftheAssociationforComputationalLinguistics:HumanLanguageTechnologies,Volume1(LongandShortPapers)",pages="4171--4186",year="2018"}"-p"https://www.aclweb.org/anthology/N19-1423.pdf"Usage~ >>> refman --help
Usage: refman [OPTIONS] COMMAND [ARGS]...

  RefMan - A Simple python-based reference manager.

Options:
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.

  --help                          Show this message and exit.

Commands:
  arxiv   Gets the paper from an Arxiv reference string
  bibtex  Adds an entry to the database from a bibtex-string.
  doi     Tries to find and download the paper using the DOI.
  rekey   Modify the key of a paper.
  rm      Removes a paper from the disk and database.
Package: ref-man-py
* ref-man-pyPython Module for ~ref-man~ (See https://github.com/akshaybadola/ref-man).Network requests and xml parsing can be annoying in emacs, so ref-man uses aseparate python process for efficient (and sometimes parallel) fetching ofnetwork requests.* Features** Persistent Service with Flask- Can easily integrate with other applications- Parallel fetching of large number of entries from supported websites(DBLP, ArXiv etc.)** HTTP integration with Semantic Scholar API (https://www.semanticscholar.org/product/api)- Fetch with multiple IDs like arxiv, ACL etc.- Local files based cache to avoid redundant requests- +Fetches all metadata in one go (Will change soon as Semantic Scholar isupdating its API)+- Now uses the Semantic Scholar Graph API** Experimental (and undocumented) Semantic Scholar Search API- Mostly gleaned through analyzing network requests. Helpful for searchingarticles.** HTTP integration with DBLP and ArXiv- Supports multiple parallel requests for batch updates** Fetch PDF from a given URL- Easier to fetch using python than with Emacs's callbacks** Option for proxying requests- Particularly useful for PDFs if you're tunneling to your institution fromhome or some other location and the article you want is with institutional(IP based) access only.* Roadmap** More Tests- Coverage is low.- Need to remove some code which isn't used.- Some parts need to be rewritten.** Change to new Semantic Scholar API (*Done*)Semantic Scholar is changing its API. See https://www.semanticscholar.org/product/apiwe should migrate to new ~graph/v1/paper~ API.** Integrate ~common_pyutil.net.Get~It has support for progress tracking. Helpful when network is slow and whendownloading large files.** ASGI serverWith websockets for better Async integration.** Integrate more servicesThere're semi-working/broken functions for CrossRef and some other services in~ref-man~. They can be exported to python perhaps.* Wishlist** Serve Org files on the fly as htmlWill help in integrating a larger userbase. Perhaps also with a py-to-lisp(hy like maybe) interface so that elementary scripting on the org backend canbe done.** Ultimately integrate ~pndconf~ alsoA document preparation toolchain (See https://github.com/akshaybadola/pndconf),which is integrated with ~ref-man~.* LicenseAll the code in this repo except for external services and libraries arelicensed under AGPL 3.0 (or later). See LICENSE.md in this repo. To learn moreabout AGPL see https://www.gnu.org/licenses/agpl-3.0.en.html.
Package: reforge
ReForgeA 2D game engine written in Python using both SDL2 and PyGame.Getting StartedHow to install.pip install ReForgeExamplesCreating a window.importosos.environ["REFORGE_API"]="sdl2"importreforge,ctypesdefreforgeEntry(argc:int,argv:reforge.List[str])->int:context=reforge.Context()context.makeContextCurrent()window=reforge.Window(title="ReForge",width=1200,height=600)context.registerWindow(window)renderer=reforge.Renderer(window)scene=reforge.Scene()whilenotcontext.isTerminated():context.pollEvents()renderer.clear(reforge.Vector4(0.0,0.0,0.0,255.0))renderer.renderScene(scene)renderer.present()context.terminate()returnreforge.exitSuccessRendering a rect.importosos.environ["REFORGE_API"]="sdl2"importreforge,ctypesdefreforgeEntry(argc:int,argv:reforge.List[str])->int:context=reforge.Context()context.makeContextCurrent()window=reforge.Window(title="ReForge",width=1200,height=600)context.registerWindow(window)renderer=reforge.Renderer(window)scene=reforge.Scene()entity=scene.createEntity()entity.addComponent(reforge.RectComponent(fill=False,color=reforge.Vector4(0.0,128.0,128.0,255.0)))entity.getComponent(reforge.TransformComponent).scale=reforge.Vector2(200.0,200.0)entity.getComponent(reforge.TransformComponent).position=\window.size/2.0-entity.getComponent(reforge.TransformComponent).scale/2.0whilenotcontext.isTerminated():context.pollEvents()renderer.clear(reforge.Vector4(0.0,0.0,0.0,255.0))renderer.renderScene(scene)renderer.present()renderer.terminate()context.terminate()returnreforge.exitSuccessUsing the low-level API.importosos.environ["REFORGE_API"]="sdl2"importreforge,ctypesdefreforgeEntry(argc:int,argv:reforge.List[str])->int:context=reforge.api.Context()window=reforge.api.Window(title="ReForge",width=1200,height=600)renderer=reforge.api.Renderer(window)inputHandler=reforge.api.Input(window)eventHandler=reforge.api.EventHandler()event=reforge.api.Event()running=Truewhilerunning:whileeventHandler.pollEvents(event):ifevent.type==reforge.api.EventType.WindowClosed:running=FalseinputHandler.eventHandler(event)ifinputHandler.keyboard.keys[reforge.api.Key.Escape]:running=Falserenderer.clear(reforge.Vector4(0.0,0.0,0.0,255.0))renderer.present()eventHandler.terminate()inputHandler.terminate()renderer.terminate()window.terminate()context.terminate()returnreforge.exitSuccess
Package: reformat-money
Reformat Moneyreformat-moneyis a simple command line utility that will attempt to
reformat the usage ofpy-moneyedMoney within the application
into a standard string format.The driver behind this is that usage of money within an application needs to
be consistent and precise.  The main aim of this utility is to stop an
application defining money asfloat, which can lead to unpredictable errors.
In order to keep consistency, where possible all instances of money will have
the amount reformatted to a string.The following will be reformatted.Money(100.20, "USD") --> Money("100.20", "USD")
Money(200, "USD") --> Money("200.00", "USD")If it is not possible to reformat, the filename will be logged for the user to
inspect manually.It is advised that you have your code committed to version control before runningreformat-moneyto allow you to roll back changes that you are not happy with.InstallationInstallation is simple:pip install reformat-moneyUsageThis utility can be used by specifying either a single file or directory, for examplereformat-money package_name
Package: reformer
Simple and beautiful library for data formatting/convert/serializepip install reformerWhyThere are many great python libraries for validation, serialization and data formatting search as marshmallow, DRF  etc.
Usually they base on data validation.Otherwise reformer design only for data formatting, and in a schema you need to define type of transformation and data source.How to useTo define schema you need to create Reformer base class:from reformer import Reformer, Field, MapField, MethodField

class Schema(Reformer):
    _fields_ = ('name', 'surname')
    fullname = Field('name').replace('_', '-')  + ' ' + Field('surname')
    admin = Field('username').at(['admin', 'root'])
    welcome = MapField('username', {
        'admin': 'Hi bro',
        'root':  'God?'
    })
    posts_titles = Field('posts').iter(['title'])
    status = ('http://api.com/get_user_status/' + Field('id', to=str)).handle(requests.get)


target = {
    'id': 353,
    'name': 'John',
    'surname': 'Black',
    'username': 'admin',
    'posts': [
        {'title': 'New', 'id': 10},
        {'title': 'My first post', 'id': 11},
    ]
}

print(Schema.transform(target))
# OrderedDict([
#    ('name', 'John'),
#    ('surname', 'Black'),
#    ('fullname', 'John Black'),
#    ('admin', True),
#    ('welcome', 'Hi bro'),
#    ('posts_titles', ['New', 'My first post']),
#    ('status', 'INIT'),
# ])FUTUREerrors
Package: reformer-fastai
Reformer Reproducibility ExperimentsFastai community entry to2020 Reproducibility ChallengeInstallationSetupIf you don't already, its a good idea to install the package into a virtual environmentpython3 -m venv my_env

source ./my_env/bin/activateRun InstallThen you can install the package by running:pip install git+git://github.com/arampacha/reformer_fastai.gitProject LinksOlder repoRepo docsFastai forums threadGoogle docRC2020 Report Style TemplateResourcesAuthor's Code and ResourcesReformer PaperAuthors ICLR videoGoogle BlogAuthors code (TRAX)Reformer enwik8 model and training configMore Code@lucidrain’s Reformer codeHuggingFace: Reformer source codeReformer enwik8 configsReformer WMT14 en-de configsReformer Machine Translation example=SubwordTextEncoder tokenizer used for Machine TranslationHuggingFace: Reformer notebook exampleHuggingFace: long sequencesHuggingFace: PretrainingDataenwik8enwik8.zip, raw data, 100mbTensor2Tensor enwik8 data generator code, with train/dev/test split. File lengths:Train: 89,621,832Eval: 5,000,000Test: 5,000,000enwik8 notebook Tensor2TensorWMT14WMT on HuggingFace DatasetsReformer WMT14 vocabReformer.input_vocab_size = 33300, fromWMT14 model configTrain Test split: (guess) newstest2013 for validation and newstest2014 for test, in consistence with Vaswani et al. (2017) - fromhttps://arxiv.org/pdf/2009.02070.pdfTokenizer:Tensor2Tensor SubWordTextEncoderExplainersYannic K explainerHuggingFace blog postIllustrating the Reformer blog postReformer Deep DiveRelatedCoursera Attention Models in NLP course, with Reformer co-author@hallvagi Attention blogpostThe Transformer Family by @lilianwengA Family of Attention Mechanisms bu @lilianweng
Package: reformer-lm
Reformera Pytorch implementation of the Reformer Network (https://openreview.net/pdf?id=rkgNKkHtvB)Much of this code base is loosely translated from the jax implementation found here from Google:https://github.com/google/trax/blob/master/trax/models/research/reformer.pyHow to useAll of the hard work has been taken care of, all you need to do is instantiate the model!from reformer_lm.reformer_lm import ReformerLM
import torch

test = torch.rand((4, 4, 64))
model = ReformerLM(
    vocab_size=300000,
    d_in=test.shape[-2],
    d_out=test.shape[-1],
    n_layers=6,
    n_heads=1,
    attn_k=test.shape[-1],
    attn_v=test.shape[-1],
)

output = model(test)
print(output)This model is still in testing, and will therefore continue to see updates. PRs are welcomed! Feel free to take advantage of the Docker container for development. I have been working in notebooks to test code with the original paper, and then I refactor my code back into the package