Saravanan666/pypi-org huggingface dataset:
Package: rootwater
Info: rootwater is developed with Python >= 3.7AbstractThis is a small toolbox for root-water-uptake (RWU) calculation from changes in soil moisture in the rhizosphere. The approach is described in Jackisch et al. (submitted to Biogeosciences). The general concept is an evaluation of observed diurnal soil moisture decrease and nocturnal stagnation or capillary-driven redistribution.For referencing to sap velocity measurements, a collection of conversion tools to estimate sap flow in the active sapwood is included.Getting startedThe documentation can be found at:http://rootwater.readthedocs.ioThis toolbox is written as a Python module.
You can install it through pip:pipinstallrootwaterHow to citeIf you use this package, please see and cite the research behind it:Jackisch, C., Knoblauch, S., Blume, T., Zehe, E. and Hassler, S.K. (in review): Estimates of tree root water uptake from soil moisture profile dynamics. Biogeosciences Discuss., in review,https://doi.org/10.5194/bg-2019-466
Package: rope
OverviewRopeis the world’s most advanced open source Python refactoring library
(yes, I totally stole that tagline from Postgres).Most Python syntax up to Python 3.10 is supported. Please file bugs and contribute
patches if you encounter gaps.Since version 1.0.0, rope no longer support running on Python 2.
If you need Python 2 support, then check out thepython2branch or the 0.x.x
releases.Getting StartedDocumentationHow to use Rope in my IDE or Text editor?ConfigurationList of featuresOverview of some of rope’s featuresUsing as a libraryContributingWhy use Rope?Rope aims to provide powerful and safe refactoringRope is light on dependency, Rope only depends on Python itselfUnlike PyRight or PyLance, Rope does not depend on Node.jsUnlike PyLance or PyCharm, Rope is open source.Unlike PyRight and PyLance, Rope is written in Python itself, so if you experience problems, you would be able to debug and hack it yourself in a language that you are already familiar withIn comparison to Jedi, Rope is focused on refactoring. While Jedi provides some basic refactoring capabilities, Rope supports many more advanced refactoring operations and options that Jedi does not.Bug ReportsSend your bug reports and feature requests atpython-rope’s issue trackerin GitHub.MaintainersCurrent active maintainer of Rope is Lie Ryan (@lieryan).Special ThanksMany thanks the following people:Ali Gholami Rudi (@aligrudi) for initially creating the initial Rope project and most of Rope’s codeMatej Cepl (@mcepl) as former long-time Rope maintainerNick Smith <nicks@fastmail.fm> (@soupytwist) as former Rope maintainerall of our current and former contributorsall authors of editor integrationsall maintainers of distro/package managersPackaging StatusLicenseThis program is under the terms of LGPL v3+ (GNU Lesser General Public License).
Have a look atCOPYINGfor more information.
Package: ropee
ropeeis a customized branch I maintain that is based off the python
refactoring library,rope. All related documentation can be found in its
repository.The difference will usually be the more immediate availability of features I’m
personally interested in. PRs will most likely also be made upstream.Artifacts are also uploaded topypifor those who want bleeding edge.Note that I’m piggy backing off of the latest version that is provided by rope,
but they do not correspond to each other in any way.
Package: ropeide
OverviewRopeideis a python refactoring IDE.  It usesropelibrary to
provide features like refactoring, code assist, and auto-completion.
It is written in python.  The IDE usesTkinterlibrary.You should installropelibrary before using this IDE.New Featuresadded usefunction refactoringindent/deindent linesnot using a deprecated templates in codeassistbetter help files findingindenter module was improved
Package: ropemacs
Note:Please note that this project has been moved toGitHub python-rope / ropemacsropemacs, rope in emacsRopemacs is an emacs mode that usesropelibrary to provide features
like python refactorings and code-assists.  You should installropelibrary andpymacsbefore using ropemacs.New Featuresrope-find-occurrencessetsnext-error-function.  That means
compilation mode keys likeC-x\`work for occurrences buffer,
too.Also there is a bug in pymacs 23 and 24-beta1 that makes python reach
maximum recursion after interrupting a pymacs command; a patch is
included in the docs folder.
Package: ropemacs_py3k
Note:Please note that this project has been moved toGitHub python-rope / ropemacsropemacs, rope in emacsRopemacs is an emacs mode that usesropelibrary to provide features
like python refactorings and code-assists.  You should installropelibrary andpymacsbefore using ropemacs.New Featuresrope-find-occurrencessetsnext-error-function.  That means
compilation mode keys likeC-x\`work for occurrences buffer,
too.Also there is a bug in pymacs 23 and 24-beta1 that makes python reach
maximum recursion after interrupting a pymacs command; a patch is
included in the docs folder.
Package: ropemode
Library for common functionality betweenropevimandropemacs.
See alsorope.Users should not install this package directly, but eitherropevimorropemacsinstead.ContributingThe following sets up a development environment and run the tests:pipinstall-e.pipinstall-rtest_requirements.txtpytestSpecial ThanksMany thanks the following people:Ali Gholami Rudi (@aligrudi) for initially creating the initial rope,
ropemode project and most of Rope’s code
Package: roper
A CLI refactoring tool using theropelibrary.InstallTo install for the current user, do:$ pip install --user roperDevelopTo prepare for development, do:$ git clone https://github.com/beat-no/roper.git
$ cd roper
$ mkvirtualenv roperReleasing new versions of the package is handled bysykel. To install, do:$ pip install --user sykelTo preapre a release, do:$ sykel version.bump
$ sykel package.clean package.build
$ sykel package.publishAlternativesIDEsPyCharm -https://www.jetbrains.com/help/pycharm/refactoring-source-code.htmlEditor pluginsvim -https://github.com/python-rope/ropevimemacs -https://github.com/python-rope/ropemacsLibrariesbowler -https://pybowler.io/libcst -https://libcst.readthedocs.io/en/latest/undebt -https://github.com/Yelp/undebtredbaron -http://redbaron.pycqa.org/en/latest/Resourceshttps://github.com/python-rope/ropehttps://realpython.com/python-refactoring/
Package: roPerf
ContentsSupportDocumentationInstallationSee AlsoUnISOS Sub-LayerBISOSroPerf Namespace: Remote Operation Performers (roPerf) name base for a
collection of libraries and command modules for webServices.SupportFor support, ideas, suggestions, criticism, comments and questions;
please contact the author/maintainerMohsen Bananat:http://mohsen.1.banan.byname.net/contactDocumentationPart of ByStar Digital Ecosystemhttp://www.by-star.net.This module’s primary documentation is inhttp://www.by-star.net/PLPC/180047Installationpip install roPerfSee AlsoUnISOS Sub-Layerunisos unisos.ucf unisos.icm unisos.commonBISOSbisos bisos.common bisos.bases
Package: roPerf2
ContentsSupportDocumentationInstallationSee AlsoUnISOS Sub-LayerBISOSroPerf Namespace: Remote Operation Performers (roPerf) name base for a
collection of libraries and command modules for webServices.SupportFor support, ideas, suggestions, criticism, comments and questions;
please contact the author/maintainerMohsen Bananat:http://mohsen.1.banan.byname.net/contactDocumentationPart of ByStar Digital Ecosystemhttp://www.by-star.net.This module’s primary documentation is inhttp://www.by-star.net/PLPC/180047Installationpip install roPerfSee AlsoUnISOS Sub-Layerunisos unisos.ucf unisos.icm unisos.commonBISOSbisos bisos.common bisos.bases
Package: roPerf2.bearerTokenExample
ContentsSupportDocumentationExample UsageTODO ListBearer Token Example Web ServicesSupportFor support, criticism, comments and questions; please contact the
author/maintainerMohsen Bananat:http://mohsen.1.banan.byname.net/contactDocumentationPart of ByStar Digital Ecosystemhttp://www.by-star.net.This module’s primary documentation is inhttp://www.by-star.net/PLPC/180051Example Usagefrom  roPerf import bearerTokenExampleTODO ListIn documentation, refer to plpc-180056 (mmwsIcm BCP) and plpc-180057
(Testing Framework)Convert ./bin/roPerf-bearerTokenExample.sh to a python ICM aware of
pkgBasesGet Port number from
./roPerf/bearerTokenExample-config/svcInfo/portNuGet ./roPerf/bearerTokenExample-config/pkgInfo/fp/icmsPkgVarBaseDir/
and build and run in thereReflect the recuirements.txt of generated code in ./setup.py
dependncies. so that it is not needed.Deal with automation of java swagger code generator – perhaps a dummy
pkg, …Understand BCP for flask productizationMake this be a starting point for other servicesAttach the controller to mmwsIcm.bearer token.Create a scenario tester for bearerTokenExample.Test pure out of the box “just runs” experience.Start transitioning this example to become a wsIcm. unisos.icm needs
to become py3 first.
Package: roPerf.bearerTokenExample
ContentsSupportDocumentationExample UsageTODO ListBearer Token Example Web ServicesSupportFor support, criticism, comments and questions; please contact the
author/maintainerMohsen Bananat:http://mohsen.1.banan.byname.net/contactDocumentationPart of ByStar Digital Ecosystemhttp://www.by-star.net.This module’s primary documentation is inhttp://www.by-star.net/PLPC/180051Example Usagefrom  roPerf import bearerTokenExampleTODO ListIn documentation, refer to plpc-180056 (mmwsIcm BCP) and plpc-180057
(Testing Framework)Convert ./bin/roPerf-bearerTokenExample.sh to a python ICM aware of
pkgBasesGet Port number from
./roPerf/bearerTokenExample-config/svcInfo/portNuGet ./roPerf/bearerTokenExample-config/pkgInfo/fp/icmsPkgVarBaseDir/
and build and run in thereReflect the recuirements.txt of generated code in ./setup.py
dependncies. so that it is not needed.Deal with automation of java swagger code generator – perhaps a dummy
pkg, …Understand BCP for flask productizationMake this be a starting point for other servicesAttach the controller to mmwsIcm.bearer token.Create a scenario tester for bearerTokenExample.Test pure out of the box “just runs” experience.Start transitioning this example to become a wsIcm. unisos.icm needs
to become py3 first.
Package: ropes
Early implementation of a Rope data structure in Python.About ropesRopes are an mutable alternative to strings.  The string is represented as a
binary tree, and modifications to the string are achieved by either replacing
existing substring branches or by inserting new substrings into the tree
structure.This is a preliminary version which supports the basic operations, such as
concatentation, indexing, slices, and strides.Implementation of some features is currently poor, particularly the slicing
operations.  No effort is made to balance the tree or otherwise optimise the
data structure.UsageTo convert a string into a rope, use theRopeclass constructor.r=Rope('abcdefg')A pre-definedRopetree can be constructed using a list of strings.r=Rope(['abc','def','g'])Printing the rope returns a string.>>>r=Rope(['abc','defg'])>>>r(Rope('abcd')+Rope('efg'))>>>print(r)abcdefgStrings can be inserted between existing ropes.>>>r,s=Rope('abc'),Rope('def')>>>u='123'>>>r+u+s((Rope('abc')+Rope('123'))+Rope('def'))>>>print(r+u+s)abc123def>>>Current usage is very basic, but will hopefully improve in the future.
Package: ropevim
Note:Please note that this project has been moved toGitHub python-rope / ropevimropevim, rope in vimOverviewRopevim is a vim mode that usesropelibrary to provide features like
python refactorings and code-assists.  You should installropelibrary before using ropevim.New Featuresworks only with python3 ATM (python2 is not supported anymore)improved support of multibyte sourcesimplementedextended completefeature (disabled by default)ropemode is not the part of distribution now
Package: ropey
PyRopeyPython bindings for Rust'sRopeylibrary.From Ropey's repository:Ropey is a utf8 text rope for Rust, designed to be the backing text-buffer for applications such as text editors. Ropey is fast, robust, and can handle huge texts and memory-incoherent edits with ease.PyRopey aims to provide the performance and accessible interface of Rope into Python's world.InstallingPyRopeyis available in any platform and can be installed withpip:pip install ropeyNote: PyRopey is currently in pre-release status and major changes are to be expected.Example UsageAdapted from Ropey's example.fromropeyimportRope# Load a text file.lettext=Rope.from_file("my_great_book.txt")# Print the 516th line (zero-indexed).print(text.line(515))# Not implemented yet# Get the start/end char indices of the line.letstart_idx=text.line_to_char(515)# Not implemented yetletend_idx=text.line_to_char(516)# Remove the line...text.remove(slice(start_idx,end_idx))# ...and replace it with something better.text.insert(start_idx,"The flowers are... so... dunno.\n")# Print the changes, along with the previous few lines for context.letstart_idx=text.line_to_char(511)letend_idx=text.line_to_char(516)print(text.slice(slice(start_idx,end_idx)))# Not implemented yet# Write the file back out to disk.text.write_to_file("my_great_book.txt")PyRopey's philosophy is to provide an API that is as close as possible to the original methods in Ropey. This is why we recommend using theirdocumentationfor more details.ContributingContributions are more than welcome! Here are a few objectives:Implement (almost) every methods fromropey::RopeWrite Python tests for every methodWrite stubs for every methodDocument every methodCreate docs, hosted on ReadTheDocsBuild automated benchmarks to comparedropeywith builtin alternatives
Package: ropts
roptsDeveloper GuideSetup# create conda environment$mambaenvcreate-fenv.yml# update conda environment$mambaenvupdate-nropts--fileenv.ymlInstallpipinstall-e.# install from pypipipinstallroptsnbdev# activate conda environment$condaactivateropts# make sure the ropts package is installed in development mode$pipinstall-e.# make changes under nbs/ directory# ...# compile to have changes apply to the ropts package$nbdev_preparePublishing# publish to pypi$nbdev_pypi# publish to conda$nbdev_conda--build_args'-c conda-forge'$nbdev_conda--mambabuild--build_args'-c conda-forge -c dsm-72'UsageInstallationInstall latest from the GitHubrepository:$pipinstallgit+https://github.com/dsm-72/ropts.gitor fromconda$condainstall-cdsm-72roptsor frompypi$pipinstallroptsDocumentationDocumentation can be found hosted on GitHubrepositorypages. Additionally you can find
package manager specific guidelines oncondaandpypirespectively.opts=['a','b','c']vals=dict(a=1,bs=2,c=3)(ropts(opts),(ropts(opts).get(**vals),ropts.getval(opts=opts,**vals),ropts(opts).idx('b'),),ropts(opts).rnk('c',**vals),(ropts(opts).rnk(0,**vals),ropts(opts).rnk(1,**vals),ropts(opts).rnk(2,**vals),),)(ropts('a', 'b', 'c'), (1, 1, 1), 3, (1, None, 3))
Package: rormula
RormulaRormula is a Python package that parses the Wilkinson notation to create model matrices useful in design of experiments.
Additionally, it can be used for column arithmetics similar todf.evalwheredfis a Pandas dataframe. Rormula is significantly faster for small matrices thandf.evalorFormulaic, does not allow arbitrary code execution but only pre-defined operators,
and still a not well tested prototype.More information can be found underhttps://github.com/basf/rormula.
Package: roroaring64
Deserialize 64 bitroaring bitmapsinto a Python set of integers.roroaring64is a lightweight Python binding on top of theCRoaringlibrary.Note:roroaring64has only been testing on Linux, so OSX and Windows users, your mileage may vary.Motivationbrotchie@built this library to deserialized the 64 bit roaring bitmapsturbo-gethuses in its database model.APITheroroaring64module exposes a single method:defdeserialize(serialized:bytes)->Set[int]:...deserializetakes the byte representation of a 64 bit roaring bitmap serialized from the Go, Java, or C++ reference roaring bitmap implementations. It returns a Python set of all 64 bit integers contained within the input bitmap.Example Usage>>>importroroaring64>>>hex_bitmap="0100000000000000000000003a300000010000004700040010000000e64ee84ee94eea4eeb4e">>>values=roroaring64.deserialize(bytes.fromhex(hex_bitmap))>>>print(values){4673254,4673256,4673257,4673258,4673259}Installation$pipinstallroroaring64Tests$pythontest.pyManual Compilation$pythonsetup.pybuild_ext-iCreditsThanks to theauthorsofCRoaringand toezibenroc@, the author ofPyRoaringBitmap, whose project I looked at to work out Cython packaging.LicenseMIT License
Package: roro_ioc
RORO IOCAs inroll on roll
off, is a dependency
injection framework. It is contextual and high performance.Examplefromattrimportattrs,attribfromroro_iocimportINJECTED,create_ioc_container,inject@attrsclassApplicationContext(object):my_data_set=attrib()APP_CONTEXT_IOC_CONTAINER=create_ioc_container(ApplicationContext)@inject(APP_CONTEXT_IOC_CONTAINER)defget_data(my_data_set=INJECTED):print('Copying data from{}'.format(my_data_set))my_context=ApplicationContext(my_data_set='s3://bucket/data')withAPP_CONTEXT_IOC_CONTAINER.arm(my_context):get_data()# prints: "Copying data from s3://bucket/data"LicenseCopyright (c) 2018 Twiggle Ltd.Permission 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: rorolite
rorolite is a command-line tool to deploy ML applications written in Python to your own server with a single command. It is an open-source tool licensed under Apache license.The interface ofroroliteis based on the interface ofrorodata platform. Whileroroliteis limited to running programs on already created server, the [rorodata platform][rorodata] allows allocating compute resources on demand and provides more tools to streamline data science.Currentlyroroliteis limited to deploying one project per server.Seehttps://github.com/rorodata/rorolitefor more details.
Package: rororo
Implementaiohttp.webOpenAPI 3server applications with schema first
approach.As well as bunch other utilities to build effective server applications withPython3 &aiohttp.web.Works onPython3.7+Works withaiohttp.web3.8.1+BSD licensedSource, issues, and pull requestson GitHubQuick Startrorororelies on valid OpenAPI 3 schema file (both JSON or YAML formats
supported).Example below, illustrates on how to handle operationhello_worldfromopenapi.yamlschema file.frompathlibimportPathfromtypingimportListfromaiohttpimportwebfromrororoimport(openapi_context,OperationTableDef,setup_openapi,)operations=OperationTableDef()@operations.registerasyncdefhello_world(request:web.Request)->web.Response:withopenapi_context(request)ascontext:name=context.parameters.query.get("name","world")email=context.parameters.query.get("email","world@example.com")returnweb.json_response({"message":f"Hello,{name}!","email":email})defcreate_app(argv:List[str]=None)->web.Application:returnsetup_openapi(web.Application(),Path(__file__).parent/"openapi.yaml",operations,server_url="/api",)Schema First ApproachUnlike other popular Python OpenAPI 3 solutions, such asDjango REST Framework,FastAPI,flask-apispec, oraiohttp-apispecrorororequiresyou to provide validOpenAPI 3schema first. This
makesrororosimilar toconnexion,pyramid_openapi3and other schema
first libraries.Class Based Viewsrororosupportsclass based viewsas well.Todo-Backendexample
illustrates how to use class based views for OpenAPI 3 servers.In snippet below,rororoexpects that OpenAPI 3 schema contains operation IDUserView.get,@operations.registerclassUserView(web.View):asyncdefget(self)->web.Response:...More ExamplesCheckexamplesfolder to see other examples on how to build aiohttp.web
OpenAPI 3 server applications.
Package: rory
RoryLearn Piano using MIDI files and a MIDI KeyboardInstallationpipinstallroryUsagerorypath/to/midi.mid[-tsteps_to_transpose]The song will only scroll upon hitting the correct key combinations.indicatorsred: 'wrong note'green: 'correct note', but there are others neededorange: 'correct note' but you need to release and press again.Controls'q': Quit'h': Bring up help window'j': Next State'k': Previous state'[': set loop start']': set loop end'/': stop looping[number] 'i': ignore channel [number][number] 'p': jump to state [number]NotesTerminal needs to be 106+ characters wide.I've generated some scale excercises in scales/*.mid
Package: roryutils
pypi templateA minimal template for creating a pypi packageUse this template to more easily create a project project to submit to pypi and conda.How to use the template:Click hereto create a new repo (you need to be logged in to GitHub for this link to work), and follow the instructions to create a new repo from this templategit cloneyour new repoEditsettings.iniand fill out all the requested information (you can ignore parts starting with%)Installfastrelease,twine, andconda-buildRegister atpypiandAnacondaCreate a file called~/.pypircwith your pypi login details, as follows:[pypi]
username = your_pypi_username
password = your_pypi_passwordWrite your Python library!Add any package requirements to therequirementsline insettings.iniRunmake releasein the root of your repo. This will automatically:Publish to pypiPublish to AnacondaIncrement your version number