Saravanan666/pypi-org huggingface dataset:
Package: rabbot
RabbotA utility for validating connections to RabbitMQ servers.Installing RabbotpipinstallrabbotDevelopmentThis project relies onPoetryfor development, packaging, and publishing. You will need to have this tool installed on your machine before you can properly develop against Rabbot.curl-sSLhttps://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py|pythonPlease see theinstallationguide for other options.ContributingSeeCONTRIBUTING.md.VersioningThis project uses semantic versioning (SemVer 2.0.0). Incrementing versions is managed bybumpversion.To ensure that the repo is properly versioned, you will need to installbumpversion.pipinstallbumpversionOnce installed, bump the version before pushing your code or created a pull request.# Examples# Bumping the major version to indicate a backwards incompatible changebumpversionmajor# Bumping the minor versionbumpversionminor# Bumping the subminor due to a hotfixbumpversionpatchNote: Bumpversion is configured to automatically create a commit when executed.
Package: rabe-cridlib
RaBe cridlib for PythonGenerateRaBe CRIDsbased on several data sources:Songticker for current CRIDarchiv.rabe.chfor past CRIDsLibreTime for future CRIDs (currently only data for the next 7 days and only available internally at RaBe)Installationpoetryaddrabe-cridlib# or on old setup style projectspip-minstallrabe-cridlibUsage>>>importcridlib>>>>>># parse an existing crid>>>crid=cridlib.parse("crid://rabe.ch/v1/klangbecken#t=clock=19930301T131200.00Z")>>>print(f"version:{crid.version}, show:{crid.show}, start:{crid.start}")version:v1,show:klangbecken,start:1993-03-0113:12:00>>># get crid for current show>>>crid=cridlib.get()>>>print(f"version:{crid.version}, show:{crid.show}")# doctest:+ELLIPSISversion:v1,show:...Development# setup a dev envpython-mvenvenv
.env/bin/activate# install a modern poetry versionpython-mpipinstallpoetry>=1.2.0# install deps and dev versionpoetryinstall# make changes, run testspytestRelease ManagementThe CI/CD setup uses semantic commit messages following theconventional commits standard.
There is a GitHub Actionsemantic-release.yamlin radiorabe/actionsthat usesgo-semantic-committo create new
releases.The commit message should be structured as follows:<type>[optional scope]: <description>

[optional body]

[optional footer(s)]The commit contains the following structural elements, to communicate intent to the consumers of your library:fix:a commit of the typefixpatches gets released with a PATCH version bumpfeat:a commit of the typefeatgets released as a MINOR version bumpBREAKING CHANGE:a commit that has a footerBREAKING CHANGE:gets released as a MAJOR version bumptypes other thanfix:andfeat:are allowed and don't trigger a releaseIf a commit does not contain a conventional commit style message you can fix
it during the squash and merge operation on the PR.Once a commit has landed on themainbranch a release will be created and automatically published topypiusing the GitHub Action in.github/workflows/release.yamlwhich usespoetryto publish the package to pypi.LicenseThis package is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.CopyrightCopyright (c) 2022Radio Bern RaBe
Package: rabifier
Rabifier is an automated bioinformatic pipeline for prediction and classification of Rab GTPases.
For more detailed description of the pipeline check the references.
If you prefer just to browse Rab GTPases in all sequenced Eukaryotic genomes visitrabdb.org.Rabifier is freely distributed under the GNU General Public License, check the LICENCE file for details.Please cite our papers if you use Rabifier in your projects.Rabifier2: an improved bioinformatic classifier of Rab GTPases. Surkont J, et al.Thousands of Rab GTPases for the Cell Biologist. Diekmann Y, et al. PLoS Comput Biol 7(10): e1002217.doi:10.1371/journal.pcbi.1002217InstallationTo install Rabifier simply runpipinstallrabifierPython requirements, third party packages and other dependenciesRabifier supports Python 2.7 and Python 3.4.
Rabifier was tested only on a GNU/Linux operating system, we are not planning to support other platforms.Rabifier depends on third-party Python libraries:biopython (>=1.66)numpy (>=1.10.1)scipy (>=0.16.1)Rabifier uses several bioinformatic tools, which are required for most of the classification stages.
Ensure that the following programs (or links pointing to them) are available in the system path.HMMER(3.1b1):phmmer,hmmbuild,hmmpress,hmmscanBLAST+(2.2.30):blastpMEME4(4.10.2):meme,mastSuperfamily(>=1.75):superfamily(NOTE: this is a folder containing several Superfamily database files and scripts, see below)If you have cloned this repository you need to compile the HMMs of Rab subfamilies usinghmmpress, i.e. runhmmpress rabifier/data/rab_subfamily.hmmRabifier requires a seed database for Rab classification. A precomputed database is a part of this repository.
You can also create the database usingrabifier-mkdbon the raw, manually curated data sets, available in
a seperate repositoryhttps://github.com/evocell/rabifier-data.
The build process requires additional software.CD-HIT(v4.6.4):cd-hitPRANK(v.150803):prankMAFFT(v7.221):mafftmatplotlib(>=1.4.3) (optional)To install Superfamily database follow the instructions below (based on theSuperfamily website).# Register at the Superfamily website to get your username and password# Download filesmkdirsuperfamilycdsuperfamilywget--http-userUSERNAME--http-passwordPASSWORD-r-np-nd-erobots=off\-R'index.html*''http://supfam.org/SUPERFAMILY/downloads/license/supfam-local-1.75/'wgethttp://scop.mrc-lmb.cam.ac.uk/scop/parse/dir.cla.scop.txt_1.75-Odir.cla.scop.txtwgethttp://scop.mrc-lmb.cam.ac.uk/scop/parse/dir.des.scop.txt_1.75-Odir.des.scop.txt# Uncompress filesgzip-d*.gzmvhmmlib_1.75hmmblib# Make Perl scripts executablechmodu+x*.pl# Build the HMM libraryhmmpresshmmlib# Create a symbolic link pointing to the database directory e.g. ln -s superfamily $HOME/bin/UsageTo run Rab prediction on protein sequences, save sequences in theFASTA formatand run:rabifiersequences.faFor more options controlling Rabifier behaviour type:rabifier-hBug reports and contributingPlease use theissue trackerto report bugs and suggest improvements.
Package: rabin
A simple Python library for generating Rabin signaturesUsageAs a Python moduleimportrabin# Generate prime pairseed=b'\x01'p,q=rabin.gen_prime_pair(seed)n=p*q# Sign messagemessage=bytes.fromhex('00112233445566778899aabbccddeeff')sig,pad=rabin.sign_rabin(p,q,message)# Verify signatureres=rabin.verify_rabin(n,message,sig,pad)From the command lineGenerate key pairs with a seed.>rabinG01generateprimes...n_rabin=0x4dd67a38e65c6d5d0877e892f1453fa09d27313f1431fcea6e703571fd56bf0b8bdd4788d94a7ec79c4232ead62eb34cd4f212e13fddaadf659ac6e45dc32c9Sign a message: get number of padding bytes and signature>rabinS00112233445566778899aabbccddeeffpadding=3digitalsignature=0x420818748a86065611c0e1be3c0bae9c22fe5e515a4a35601be8b4d8bc1049c75775e01e07e2257a689e916ea7751bdfc8b1eeb51d418e2714ae2fc8eadde1bVerify signature with results from step 2>rabinV00112233445566778899aabbccddeeff3420818748a86065611c0e1be3c0bae9c22fe5e515a4a35601be8b4d8bc1049c75775e01e07e2257a689e916ea7751bdfc8b1eeb51d418e2714ae2fc8eadde1b
resultofverification:True
Package: rabird.core
rabird.coreThe base library for rabird series modules.This library provided a series helper utilties for production, they are
disordered and grow up while other module needs, there are no plan and
just for production practice:License: Apache-2.0FeaturesAn advance ConfigParserC-style string manage functionsSome CPU related datetime functionsHtml related stuffsLogging functionsSome system related stuffsWindows fixes just like “fix console can’t output unicode string in
python 2.7”, etc .Miscellaneous …CreditsThis package was created withCookiecutterand thePyPackageTemplateproject template.History0.3.16 (2018-06-01)Fixed pypiwin32 not supported version below 3.5 in latest versions0.3.15 (2018-05-23)ConfigParser: Fixed issuesConfigParser: Added space_around_delimiters argument for write()0.3.9 (2015-12-02)Switch to pydgutils bootstrap0.3.5 (2015-12-02)Supported install pywin32 through pip by pypiwin32 package0.3.2 (2015-12-02)Can’t install from packaged zip file due to missing rabird_bootstrap.py0.3.0 (2015-08-27)Support UWBPEP on windowsSo that you need not install the pywin32 package manually if it does not installed.0.1.9 (2015-08-18)Initial release
Package: rabird.selenium
rabird.seleniumAn extension library for selenium.This library is an extension library build on top of selenium.It provided a bunch features that need in production enviroment but selenium
have not provide yet or won’t provided by design even in future:Added force_xxx() series functions to invoke the element directly even the
element be covered by other elements. Just as force_click(), force_focus(),
etc…Added force_get() method to webdriver, it will stop the page loading after
page loading timeout exception happen, so that the next script could just
run without break by that exception.Added ability to set element’s attributeProvided xpath_find(), xpath_find_all(), etc. For simply invoke xpath for
recursively find elements. it would iterate each frame and each window to
find your elements and do the actions without switch frame manually, that
could reduce a great lot jobs.Provided some advance UI class to wrap for some third-parties editors ( Just
like TinyMCE )License: Apache-2.0UsageSimple xpath_find_all() sample:import time
import rabird.selenium
rabird.selenium.monkey_patch()
from rabird.selenium import webdriver

driver = webdriver.Chrome()
webdriver.set_recommend_preferences(driver)

driver.force_get("http://www.bing.com")

elements = driver.xpath_find_all("//*[@id='sb_form_q']")

print(elements)

time.sleep(10)CreditsThis package was created withCookiecutterand thePyPackageTemplateproject template.History0.12.0 (2018-07-16)Dropped python 2.x supportsChanged modules organization, this break backward compatibilitySupport better test on travis-ci and appveyor0.11.0 (2018-02-8)Added dockerized webdriver support0.9.0 (2018-01-02)Make screenshot related functions works on all webdriver0.7.0 (2017-06-22)Fixed script freeze during long run0.4.1 (2015-08-18)Initial release
Package: rabisco
✏️ rabiscoInstalling$ pip install rabiscoHelpUsage: rabisco [OPTIONS] COMMAND [ARGS]...

  Rabisco

Options:
  --path TEXT
  --help       Show this message and exit.

Commands:
  cat   Read note content
  ls    List notes
  mk    Create a note
  open  Open a note to edition
  rm    Remove a noteChangelog0.2.0:Addrabiscocommand;
Package: rabit
RabitThis project implements a simple API of turtle to draw line, rectangle, circle, text and convert the process into gif.InstallInstall the package.pip3installrabitInstallpython-tk.UsageRabit splits the drawing board into grids x grids. To create a Rabit object, you should choose the grids (in a row/column) you want to split and the size(default is 600) of drawing board.importrabit# The first argument is the number of grids in a row/column.# The second argument is the size of the drawing board.rabit=rabit.Rabit(11,600)You can draw rectangle withdraw_rect(row, col, rows=1, cols=1, color="black").row: row of the left up corner of the rectanglecol: column of the left up corner of the rectanglerows: length of the rectanglecols: width of the rectanglecolor: line colorYou can paint rectangle withpaint_rect(row, col, rows=1, cols=1, color="black", cover=Flase).row: row of the left up corner of the rectanglecol: column of the left up corner of the rectanglerows: length of the rectanglecols: width of the rectanglecolor: line colorcover: if cover the text on itYou can clear rectangle withclear_rect(row, col, rows=1, cols=1, color="white").row: row of the left up corner of the rectanglecol: column of the left up corner of the rectanglerows: length of the rectanglecols: width of the rectanglecolor: line colorYou can draw text withdraw_text(row, col, text, color="black", font=("Times", 24)).row: row of the textcol: column of texttext: textcolor: text colorfont: text fontYou can draw line withdraw_line(from_row, from_col, to_row, to_col, color="black").from_row: row of start pointfrom_col: column of start pointto_row: row of end pointto_col: column of end pointcolor: line colorYou can convert the drawing process into gif withconvert2gif(func, fps_for_eps, fps_for_gif).The conversion can split into two steps:Capturing pictures at a certain rate while drawing.convert all pictures(.eps) into a gif at a certain FPS byimageio.importrabitdefyour_draw_function():...# The first argument is the name of your draw function.# The second argument is the FPS(or rate) of the capturing process.# The third argument is the FPS of the final gif.rabit.convert2gif(your_draw_function,10,5)There are other functions you can use:speed(speed): set the drawing speeddelay(time): set the delay time(ms)pensize(pensize): set the pensizebegin_hide(): hide the following drawing animationend_hide(): end of the hidinghold(): don't close the window after the drawingExamplesThere is an example in the example directory.The converted gif is:
Package: rabotaotzyvy-ru
Rabota Otzyvyrabotaotzyvy_ru scrubberFree software: MIT licenseDocumentation:https://rabotaotzyvy-ru.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-07-29)Fix russian month0.1.0 (2019-07-28)First release on PyPI.
Package: rabpro
rabprolongitudinal river profiles, global watershed delineation, watershed statsSetupSoftwarecondaenvcreate-fenvironment.ymlsourceactivaterabpro# set use-feature to silence deprecation warning# pip install --use-feature=in-tree-build .DataLocate the MERIT DEM "tile" of interest and runData/scripts/get_merit_dem.pywith username and password arguments.pythonData/scripts/get_merit_dem.pyn30w090<username><password>Download Hydrobasins levels 1 and 12 usingData/scripts/get_hydrobasins.pyUsagecommand linepythonrabpro/run_rabpro.pypythonimportgeopandasasgpdimportrabprofromrabproimportutilsfromrabpro.subbasin_statsimportDataset# verify pathing setup "works"# utils.get_rabpropath()# utils.get_datapaths()coords_file=gpd.read_file(r"tests/test_data/Big Blue River.geojson")rpo=rabpro.profiler(coords_file)rpo.delineate_basins()# requires hydrobasins levels 1 and 12# name = "test"# rpo.basins.to_file('Data/gaugebasin_shp/'+name+'.shp',driver='ESRI Shapefile')rpo.elev_profile()# requires merit-dem (this ex. requires n30w090 [elv, fdr, upa, wth])rpo.basin_stats([Dataset("JRC/GSW1_3/GlobalSurfaceWater","occurrence")])# requires Google Earth Engine access
Package: rabs
rabsRelative to absolute file namesConverts a string path that isrelative to the calling fileto an absolute path.Usage:function: real_to_abs_filenameArgs:
path: str
ret:  ret: Literal["string","path"] = "string"fromrabsimportreal_to_abs_filenamereal_to_abs_filename(".",ret="string")# the defaultreal_to_abs_filename("../siblingfolder/someotherfile.py")# orreal_to_abs_filename("./somefile.exe",ret="path")# returns a pathlib.Path object (python's built in library)Why:Python is inconsistent with respect to relative paths. This makes it as bulletproof as possible.
Package: rab_the_bit
A wrapper around Kombu to use RabbitMQ, specialy on docker imagesStarted on 2023-08-18Features (Optional)List some featuresFrom this repositoryInstallationTo install rab_the_bit, follow these steps:Clone the repository:git clonehttps://github.com/vliz-be-opsci/py-rabbit.gitNavigate to the project directory:cd rab_the_bitInstall the required dependencies:make init(Optional) Install additional dependencies for development:makeinit-devUsageHere’s an example of how to use rab_the_bit:importrab_the_bit# Implement a code exampleFor more detailed information on the usage of rab_the_bit, refer to theofficial documentation <https://open-science.vliz.be/rab_the_bit/>.ContributingWe welcome contributions from the community to enhance rab_the_bit. If you’d like to contribute, please follow these guidelines:Fork the repository and create a new branch for your feature or bug fix.Make your changes and ensure that the code adheres to the project’s coding style.Write unit tests to cover your changes and ensure they pass.Submit a pull request with a clear description of your changes and the problem they solve.For more information on contributing to Pykg2tbl, please refer to thecontribution guidelines </CONTRIBUTING.rst>.Getting StartedStart using this project with poetry$makeinit# install dependencies$makeinit-dev# includes the previous + adds dependencies for developersBuild Docs$makedocsDevelopersRun Tests$maketest# to run all tests$PYTEST_LOGCONF=debug-logconf.ymlpythontests/test_demo.py# to run a specific test with specific logging$maketest-coverage# to run all tests and check the test coverageCheck the code-style and syntax (flake8, black, isort)$makecheck
Package: rac-api-client
rac_api_clientA client to interact with the Rockefeller Archive Center's Collections API.DependenciesPython 3.6 or higherGetting Startedpip install rac_api_clientUsageIn order to use the client in your Python script, you first need to import it and create an instance.from rac_api_client import Client
client = Client()This client contains two methods to facilitate working with the RAC's Collections API.getsends a GET request for a single object. The URI for that object should be passed as the first argument.client.get("/collections/WY7fpswEV3oLhyjiArpHES")get_pagedreturns all results for paged content, for example a list of collections or search results.client.get_paged("/collections")For both of these methods, parameters can optionally be passed as a dictionary.client.get_paged("/objects", params={"online": True, "start_date__gte": "1950"})
client.get("/search", params={"query": "yellow fever"})DevelopmentThis repository contains a configuration file for gitpre-commithooks which help ensure that code is linted before it is checked into version control. It is strongly recommended that you install these hooks locally by installing pre-commit and runningpre-commit install.LicenseThis code is released under the MIT License. SeeLICENSE.mdfor more information.
Package: raccoon
Python DataFrame with fast insert and appendsDocumentationhttp://raccoon.readthedocs.io/en/latest/Source locationHosted on GitHub:https://github.com/rsheftel/raccoonOverviewRaccoon is a lightweight DataFrame and Series implementation inspired by the phenomenal Pandas package for the one use
case where Pandas is known to be sub-optimal: DataFrames and Series that grow in size by adding rows frequently in the code.
Additionally Raccoon DataFrames and Series can be parametrized to be sorted so that additions to the DataFrame keep the
index in sorted order to speed inserts and retrievals.A simple speed comparison of Raccoon vs Pandas for typical functionality is located in the documentation.InspirationPandas DataFrames and Series are excellent multi-purpose data structures for data management and analysis. One of the
use cases I had was to use DataFrames as a type of in-memory database table. The issue was that this required lots of
growing the number rows of the DataFrame, something that is known to be slow in Pandas. The reason it is slow in Pandas is that
the underlying data structure is numpy which does a complete copy of the data when the size of the array grows.FunctionalityRaccoon implements what is needed to use the DataFrame as an in memory store of index and column data structure
supporting simple and tuple indexes to mimic the hierarchical indexes of Pandas. The methods included are primarily
about setting values of the data frame, growing and appending the data frame and getting values from the data frame.
The raccoon DataFrame is not intended for math operations like pandas and only limited basic math methods are included.Underlying Data StructureRaccoon uses the standard built in lists as its default underlying data structure. There is an option on object
construction to use any other drop-in replacement for lists. For example the fast blist packagehttp://stutzbachenterprises.com/blist/could be used as a list replacement for the underlying data structure.Why Raccoon?According to wikipedia some scientists believe the panda is related to the raccoonContributingContribution in the form of pull requests are welcome. Use pytest to run the test suite. Be sure any new additions
come with accompanying tests.FutureThis package serves the needs it was originally created for. Any future additions by myself will be driven by my own
needs, but it is completely open source so I encourage anyone to add on and expand.My hope is that one day Pandas solves the speed problem with growing DataFrames and this package becomes obsolete.Python VersionRaccoon requires Python 3.4 or greater. Python 2.7 support was eliminated as of version 3.0. If you need to use raccoon
with Python 2.7 use any version less than 3.0Helper scriptsThere is helper function to generate these docs from the source code. On windows cd into the docs directory and
execute make_docs.bat from the command line. To run the test coverage report run the coverage.sh script.
Package: raccy
RACCYOVERVIEWRaccy is a multithreaded web scraping library based on selenium.
It can be used for web automation, web scraping, and
data mining.REQUIREMENTSPython 3.7+Works on Linux, Windows, and MacARCHITECTURE OVERVIEWUrlDownloaderWorker:resonsible for downloading item(s) to be scraped urls and enqueue(s) them in ItemUrlQueueItemUrlQueue:receives item urls from UrlDownloaderWorker and enqueues them
for feeding them to CrawlerWorkerCrawlerWorker:fetches item web pages and scrapes or extract data from them and enqueues the data in DatabaseQueueDatabaseQueue:receives scraped item data from CrawlerWorker(s) and enques them
for feeding them to DatabaseWorker.DatabaseWorker:receives scraped data from DatabaseQueue and stores it in a persistent database.INSTALLpipinstallraccyTUTORIALfromraccyimport(UrlDownloaderWorker,CrawlerWorker,DatabaseWorker,WorkersManager)importroasmodelfromseleniumimportwebdriverfromshutilimportwhichconfig=model.Config()config.DATABASE=model.SQLiteDatabase('quotes.sqlite3')classQuote(model.Model):quote_id=model.PrimaryKeyField()quote=model.TextField()author=model.CharField(max_length=100)classUrlDownloader(UrlDownloaderWorker):start_url='https://quotes.toscrape.com/page/1/'max_url_download=10defjob(self):url=self.driver.current_urlself.url_queue.put(url)self.follow(xpath="//a[contains(text(), 'Next')]",callback=self.job)classCrawler(CrawlerWorker):defparse(self,url):self.driver.get(url)quotes=self.driver.find_elements_by_xpath("//div[@class='quote']")forqinquotes:quote=q.find_element_by_xpath(".//span[@class='text']").textauthor=q.find_element_by_xpath(".//span/small").textdata={'quote':quote,'author':author}self.log.info(data)self.db_queue.put(data)classDb(DatabaseWorker):defsave(self,data):Quote.objects.create(**data)defget_driver():driver_path=which('.\\chromedriver.exe')options=webdriver.ChromeOptions()options.add_argument('--headless')options.add_argument("--start-maximized")driver=webdriver.Chrome(executable_path=driver_path,options=options)returndriverif__name__=='__main__':manager=WorkersManager()manager.add_driver(get_driver)manager.start()print('Done scraping...........')AuthorAfriyie DanielHope You Enjoy Using It !!!!