Saravanan666/pypi-org huggingface dataset:
Package: ruqqus-api
ruqqus-apiThis is a shitty, patched-together, unoffical API for the website ruqqus.com. This library uses 3 "different" apis. Create a RuqqusAPI object like so:from ruqqus import RuqqusAPI

ruqqus = RuqqusAPI("username", "password")If the login is a success, you shouldn't see any message. I'm usingrequests.Session()to save cookies and stuff, so thats accessable atruqqus.sessionif you wanna mess around. Technically the Official v1 api methods don't need authentication, and neither do some other functons.Official v1This uses their official v1 json api. All of these (very limited) functions work.guild(boardname) - returns json info about the specified boarduser(username) - returns json info about the specified userpost(pid) - returns json info about the specified post referred to by its id (eg: "wmi")comment(cid) - returns json info about specified comment by idUnofficial v1These were written from me studying theruqqus source code. As of now, none of them work, all returning server errors. The only reason i called them unofficial v1 was because the request url begins with /api/v1 and they use the @api wrapper.post_pid_comment_cid(pid, cid)delete_comment(cid)board_listing(boardname)user_listing(username)unofficialA lot of these routes begin with /api, some dont. I think they all mostly work with various levels of success.feeds_public(sort="hot") - returns atoma listing (no clue what this is, but it works). seems to work only the first time, probably because its somewhat RSS-likeapi_comment(submission, parent_fullname, body) - I haven't gotten this to work, mainly because in the source code it mentions it requires a verified form value or whatever, also because i dunno what submission and parent_fullname refer toboard_available(name) - checks if boardname is available. works every time, 80% of the timesubscribe_board(boardname) and unsubscribe_board(boardname) - you can guess what these do. they workname_available(username) - checks if username is available. i think this works when the name is not available?follow_user(username) and unfollow_user(username) - havent tested this but it probably worksagree_tos - agrees to the terms of service, presumablyuser_profile_pic(username) - you can also get this info through the official api v1userfunctionvote_post(post_id, x="1") and vote_comment(comment_id, x="1") - these dont work, idk why, it seems like x should be either -1. 0, or 1
Package: ruri
RuriA CRC-32 Cyclic Redundancy Check implementation in Python.
Checks the CRC-32 against a part in the filename.Previously "Timmy1e/crc32".ReqirementsPython 3.5+Progressbar2InstallationPull the project, or download a release python file.Either copy or link the python file to your/usr/bin/or/usr/local/bin/directory.Done.Usage$ruri[-h][-r][-tTHREADS][-v][-q]file[file...]positionalarguments:fileThefile(s)youneedCRCed

optionalarguments:-h,--helpshowthishelpmessageandexit-r,--recursiveworkrecursively-tTHREADS,--threadsTHREADSoverridetheammountofthreads-v,--verboseoutputlevel-q,--quietDonotprintprogressbars.--versionPrinttheversionnumber,andexit.Basic example:$ruri"myFile[ABCD1234].ext"myFiles*.extLicenceGNU General Public License v3.0
Package: rurusetto-allauth
Note about this forkThis fork add support on osu! OAuth from osu! API v2, first I intended to make it onlyRūrusettologin system, but if you have a Django project that need the osu! account login support you can use this too.Welcome to django-allauth!Integrated set of Django applications addressing authentication,
registration, account management as well as 3rd party (social) account
authentication.Home pagehttp://www.intenct.nl/projects/django-allauth/Source codehttp://github.com/pennersr/django-allauthMailing listhttp://groups.google.com/group/django-allauthDocumentationhttps://django-allauth.readthedocs.io/en/latest/Stack Overflowhttp://stackoverflow.com/questions/tagged/django-allauthRationaleMost existing Django apps that address the problem of social
authentication unfortunately focus only on one dimension - the social.
Most developers end up integrating another app in order to support authentication
flows that are locally generated.This approach creates a development gap between local and social
authentication flows. It has remained an issue inspite numerous common
scenarios that both require. For example, an e-mail address passed along by an
OpenID provider may not be verified. Therefore, prior to hooking up
an OpenID account to a local account the e-mail address must be
verified. This essentially is one of many use cases that mandate e-mail
verification to be present in both worlds.Integrating both is a humongous and tedious process. It is not as
simple as adding one social authentication app, and one
local account registration app to yourINSTALLED_APPSlist.This inadequacy is the reason for this project’s existence  – to offer a fully
integrated authentication app that allows for both local and social
authentication, with flows that just work, beautifully !Commercial SupportThis project is sponsored byIntenCT. If you require assistance on
your project(s), please contact us:info@intenct.nl.Cross-SellingIf you like this, you may also like:django-trackstats:https://github.com/pennersr/django-trackstatsnetwell:https://github.com/pennersr/netwellShove:https://github.com/pennersr/shove
Package: rus2latin_date
Пакет умеет конвертировать русскую дату в дату по римскому календарю. Например, 24 марта => ante diem IX Kalendas Apriles.УстановкаКак обычно, с pippip install rus2latin_dateИспользование>>> from rus2latin_date import Converter
>>> c = Converter()
>>> c.conv("28 февраля 2012")
'ante diem III Kalendas Martias'
>>> c.conv("24 марта")
'ante diem VIIII Kalendas Apriles'
>>> c.conv("15-11-1983")
'ante diem XVII Kalendas Decembres'
>>> c.conv("26.5.1900")
'ante diem VII Kalendas Iunias'ИсточникиЛатинский календарьIndex dierum calendarii Romani
Package: ruscorpora-tools
This package provides Python interface to a free corpus subset
available athttp://ruscorpora.ru.Installationpip install ruscorpora-toolsUsageCorpus downloadingDownload and unpack the archive with XML files fromhttp://www.ruscorpora.ru/corpora-usage.htmlCorpus readingruscorpora.parse_xmlfunction parses single XML file and returns
an iterator over sentences; each sentence is a list ofruscorpora.Tokeninstances, annotated with a list ofruscorpora.Annotationinstances.ruscorpora.simplifysimplifies a result ofruscorpora.parse_xmlby
removing ambiguous annotations, joining split tokens (+ joining their
annotations) and removing accent information.>>> import ruscorpora as rnc
>>> for sent in rnc.simplify(rnc.parse('fiction.xml')):
...     print(sent)Working with tagsruscorpora.Tagclass is a convenient wrapper for tags used in
ruscorpora:>>> tag = rnc.Tag('S,f,inan=sg,nom')
>>> tag.POS
'S'
>>> tag.gender
'f'
>>> tag.animacy
'inan'
>>> tag.number
'sg'
>>> tag.case
'nom'
>>> tag.tense
None(there are also other attributes).Check if a grammeme is in tag:>>> 'S' in tag
True
>>> 'V' in tag
False
>>> 'Foo' in tag
Traceback (most recent call last)
...
ValueError: Grammeme is unknown: FooTest tags equality:>>> tag == rnc.Tag('S,f,inan=sg,nom')
True
>>> tag == 'S,f,inan=sg,nom'
True
>>> tag == rnc.Tag('S,f,inan=sg,acc')
False
>>> tag == 'S,f,inan=sg,acc'
False
>>> tag == 'Foo,inan'
Traceback (most recent call last)
...
ValueError: Unknown grammemes: frozenset({Foo})Tags returned byrnc.simplifyare wrapped with this class by default.DevelopmentDevelopment happens at github and bitbucket:https://github.com/kmike/ruscorpora-toolshttps://bitbucket.org/kmike/ruscorpora-toolsThe issue tracker is at github:https://github.com/kmike/ruscorpora-tools/issuesFeel free to submit ideas, bugs, pull requests (git or hg) or regular patches.Running testsMake suretoxis installed and run$ toxfrom the source checkout. Tests should pass under python 2.6..3.3
and pypy > 1.8.
Package: rusent
rusent is a library and a command-line utility to split Russian text
into sentences. It uses hand-written rules and tries to followOpenCorporasentence segmentationconventions.Installpip install rusentUse>>> import rusent
>>> rusent.split("")ContributeSource code:https://github.com/kmike/rusentBug tracker:https://github.com/kmike/rusent/issuesTo run tests executetoxcommand from the source root.Changesdev (TBD)Initial release
Package: rusenttokenize
ru_sent_tokenizeA simple and fast rule-based sentence segmentation. Tested on OpenCorpora and SynTagRus datasets.Installationpip install rusenttokenizeRunning>>> from rusenttokenize import ru_sent_tokenize
>>> ru_sent_tokenize('Эта шоколадка за 400р. ничего из себя не представляла. Артём решил больше не ходить в этот магазин')
['Эта шоколадка за 400р. ничего из себя не представляла.', 'Артём решил больше не ходить в этот магазин']MetricsThe tokenizer has been tested on OpenCorpora and SynTagRus. There are two important metrics.Precision. First one is we took single sentences from the datasets and measured how many times tokenizer didn't split them.Recall. Second metric is we took two consecutive sentences from the datasets and joined each pair with a space characted. We measured how many times tokenizer correctly splitted a long sentence into two.tokenizerOpenCorporaSynTagRusPrecisionRecallExecution Time (sec)PrecisionRecallExecution Time (sec)nltk.sent_tokenize94.3086.068.6798.1594.955.07nltk.sent_tokenize(x, language='russian')95.5388.378.5498.4495.455.68bureaucratic-labs.segmentator.split97.1688.6235996.7992.55210ru_sent_tokenize98.7393.454.9299.8198.592.87Notebookshows how the table above was calculated
Package: r-useragent
random-useragentThis is a package to generate random user-agent. support simulating windows, linux, mac, android and simulating multiple browser clients.how to installpython3-mpipinstallr-useragenthow to usereference examples folderfrom random_useragent import UserAgent

u = UserAgent()

# generate android user-agent
print(u.android())  # random
print(u.android(app="app"))
print(u.android(app="webview"))
print(u.android(app="uc"))
print(u.android(app="baidu"))
print(u.android(app="qq"))
print(u.android(app="wechat"))


# generate iphone user-agent
print(u.iphone())
print(u.iphone(app="chrome"))
print(u.iphone(app="safari"))


# generate windows user-agent from chrome,firefox,edge...
print(u.windows())  # random
print(u.windows(app="chrome"))
print(u.windows(app="firefox"))
print(u.windows(app="edge"))

# generate linux user-agent
print(u.linux())
print(u.linux(app="chrome"))
print(u.linux(app="firefox"))


# generate mac user-agent
print(u.mac())
print(u.mac(app="chrome"))
print(u.mac(app="firefox"))
print(u.mac(app="safiri"))

# and if you want, you can just generate random ua
print(u.random())

# or designated platform
print(u.pc())
Package: rush
This library is a small collection of algorithms that can be reused
when throttling user interactions with a resource (e.g., an API).This library strives to allow any limiter and backing store to be used
together without needing to be worried about potential compatibility.Installationpip install rushpipenv install rushFeaturesA basic periodic interval rate limiter - N accesses per period of time. An
example would be the GitHub API that limits authenticated users to 5,000
requests per hour.A leaky bucket rate limiter based off of the Generic Cell Ratelimiting
Algorithm (a.k.a, GCRA).A Redis storage backend for rate limit results so that users can have state
persisted across machines and application restarts.A in-memory dictionary storage backend for quick prototyping and testing.Type annotations built into the library, verified with mypy, and distributed
to users.Quality100% test coverageCode auto-formatted by Black (CI will check if formatting wasn’t run prior
to push)Commit messages following a uniform Kernel-like styleFlake8, pylint, mypy, and bandit lintingComplete type annotationsComplete documentation linted by doclint and strictly compiled by SphinxContributingAll contributors are expected to read and follow ourCode of Conduct.To reduce the initial friction of submitting a pull request:Please runtoxprior to submitting your pull request.After a commit, please runtox-ecommitlint.To make it easier to support you, please gather the following information
prior to filing an issue:How you installedrushand the versions of its dependencies (if
you’re using the Redis store, please includerfc3986andredisversion information).What stores and limiters are you using?An example that reproduces your problem
Package: rush-cli
Rush 🏃♆ Rush: A Minimalistic Bash UtilityRun all your task automationBash commandsfrom a singlerushfile.ymlfile.FeaturesSupports allbashcommandsOption to ignore or run specific tasksBy default, runs commands ininteractivemodeOption to catch or ignorecommand errorsOption to show or supresscommand outputsCommand chaining is supported(See the examplerushfile.ymlwheretask_2is chained totask_1)Installation$ pip3 install rush-cliWorkflowRushfileHere is an examplerushfile.yml. It needs to reside in the root directory:# rushfile.yml

task_1: |
    echo "task1 is running"

task_2: |
    # Task chaining [task_1 is a dependency of task_2]
    task_1
    echo "task2 is running"

task_3: |
    ls -a
    sudo apt-get install cowsay | head -n 0
    cowsay "Around the world in 80 days!"

//task_4: |
    # Ignoring a task [task_4 will be ignored while execution]
    ls | grep "ce"
    ls > he.txt1

task_5: |
    # Running a bash script from rush
    ./script.shAvailable OptionsTo see all the available options, run:$ rushor,$ rush --helpThis should show:Usage: rush [OPTIONS] [FILTER_NAMES]...

  ♆ Rush: A Minimalistic Bash Utility

Options:
  -a, --all          Run all tasks
  --hide-outputs     Option to hide interactive output
  --ignore-errors    Option to ignore errors
  -p, --path         Show the absolute path of rushfile.yml
  --no-deps          Do not run dependent tasks
  --view-tasks       View task commands
  -ls, --list-tasks  List task commands with dependencies
  --no-warns         Do not show warnings
  -v, --version      Show rush version
  -h, --help         Show this message and exit.Running TasksRun all the tasks$ rush --allRun specific tasks$ rush task_1 task_4Ignore specific tasksSee the examplerushfile.ymlwhere the'//'before a task name means that the task will be ignored during execution# rushfile.yml

//task_4: |
    echo "This task will be ignored during execution."This ignores the task named//task_4.Run tasks non interactively(supress the outputs)$ rush --hide-outputsRun tasks ignoring errors$ rush --ignore-errorsDo not run the dependent tasks$ rush task_2 --no-depsViewing TasksView absolute path of rushfile.yml$ rush --pathoutput,/home/rednafi/code/rush/rushfile.ymlView task commands$ rush task_5 task_6 task_7 --view-tasksView task list with dependencies$ rush -lsQuirksRush runs all the commands using/usr/bin/bash. So shell specific syntax with other shebangs might throw error.If you are running Bash script from rush, use shebang (#!/usr/bin/env bash)IssuesRush works better with python 3.7 and upIf your have installedRushglobally and it throws a runtime error, you can try to solve it via adding the following variables to your~./bashrc:export LC_ALL=C.UTF-8
export LANG=C.UTF-8You can find more information about the issue and why it's a non-trivial problemhere.
Package: rushd
rushdA package for maintaining robust, reproducible data management.RationaleScience relies on repeatable results.rushdis a Python package that helps with this, both by making sure that the execution context (e.g. the state of all of the Pip packages) is saved, alongside helper functions that help you cleanly, but repeatedly, separate data from code.InstallThis package is on Pip, so you can just:pip install rushdAlternatively, you can get built wheels from theReleases tab on Github.QuickstartSimply importrushd!import rushd as rdDocumentationSee the documentation available athttps://gallowaylabmit.github.io/rushdDeveloper installIf you'd like to hack locally onrushd, after cloning this repository:$ git clone https://github.com/GallowayLabMIT/rushd.git
$ cd rushdyou can create a local virtual environment, and installrushdin "development (editable) mode"
with the extra requirements for tests.$ python -m venv env
$ .\env\Scripts\activate    (on Windows)
$ source env/bin/activate   (on Mac/Linux)
$ pip install -e .[dev]After this 'local install', you can use and importrushdfreely without
having to re-install after each update.ChangelogSee theCHANGELOGfor detailed changes.## [0.4.2] - 2023-07-27
### Added
- `rd.plot.generate_xticklabels` replaces a plot's existing xticklabels with specified metadata in a table-like format
## [0.4.1] - 2023-06-27
### Modified
- Updated the `rd.plot.plot_mapping` command to properly handle the single-numeric case.LicenseThis is licensed by the MIT license. Use freely!What does the name mean?The name is a reference toIbn Rushd, a Muslim scholar born in Córdoba who was responsible for translating and adding scholastic commentary to ancient Greek works, especially Aristotle. His translations spurred further translations into Latin and Hebrew, reigniting interest in ancient Greek works for the first time since the fall of the Roman empire.His name is pronouncedrush-id.If we take the first and last letter, we also getrd: repeatable data!
Package: rushia-dl
Rushia DL某Vtuberがいなくなる時に作ったyoutubeの動画をダウンロードでするためのpython製ツールです。Vtuberに限らず推しはいついなくなるかわかりません、推せる時に推しましょう。作りとしては単純でyt-dlpをラップしているだけです、mp3とmp4をそれぞれのフォーマットで出力するときのオプションを覚えるのがめんどくさかったのでpythonでラッパーを書きました。How to pre-installまずは依存しているffmpegをインストールしてPATHを通してください。for macbrew postinstall libtasn1
brew install ffmpegFor windowsDownload fromhttps://ffmpeg.org/download.html#build-windowsThen install ffpmeg and configure the path in the environment variables.For Linuxsudo apt install ffmpegHow to installpip3 install rushia-dlHow to use使い方はかんたんです。オプションは-pと-u、-fの３つです。❯ rushia-dl --help
usage: rushia-dl [-h] (-p PATH | -u URL) -f {mp3,mp4}

This tool that download video and mp3 from youtube.

options:
  -h, --help            show this help message and exit
  -p PATH, --path PATH  [REQUIRE] Please enter the URL of the video in the path of a text file.
  -u URL, --url URL     [REQUIRE] Please enter the video URL.
  -f {mp3,mp4}, --format {mp3,mp4}
                        [REQUIRE] Please input format that mp3 or mp4.-fではフォーマットを指定します、mp3(音声のみ)もしくはmp4(動画)を選択します。-pを選んだ場合は動画のURLが１行ずつ記載されたtext fileのpathを指定してください。e.g.cat test.txt
https://www.youtube.com/watch?v=aaaaaaa
https://www.youtube.com/watch?v=bbbbbbb❯ rusia-dl.py -p ./test.txt -f mp4-uではURLを指定してください。❯ rusia-dl.py -u "https://www.youtube.com/watch?v=DHqLfnIoKWc" -f mp4この先も素敵な推し活を祈っています。
Package: rushmore-tools
THREE60 Energyrushmore-toolsTherushmore-toolspackage is a lightweight wrapper for accessing Rushmore Reviews, a prominent player in benchmarking data collection for upstream oil & gas activities.OverviewThe collection contains utilities:RushmoreExtractorUsageSimple usage. E.g. to download all Rushmore Drilling Performance Review data available to your API key, simply:from rushmore_tools import RushmoreExtractor

report = RushmoreExtractor($api_key).report("DPR")
resp = report.get()Development environmentWe usepoetryto manage dependencies and to administrate virtual environments. To developrushmore-tools, follow the following steps to set up your local environment:Install poetryif you haven't already.Clone repository:$ git clone git@github.com:THREE60-Energy/rushmore-tools.gitMove into the newly created local repository:$ cd rushmore-toolsCreate virtual environment and install dependencies:$ poetry installCode requirementsAll code must passblackandisortstyle
checks to be merged. It is recommended to install pre-commit hooks to ensure this locally before commiting code:$ poetry run pre-commit installEach public method, class and module should have docstrings. Docstrings are written in theGoogle
style.
Package: ruskit
# Ruskit[![Build Status](https://travis-ci.org/eleme/ruskit.svg?branch=master)](https://travis-ci.org/eleme/ruskit)[![Version](https://img.shields.io/pypi/v/ruskit.svg)](https://pypi.python.org/pypi/ruskit)Redis cluster administration toolkit.## Usage```bashpip install ruskit# Note that `addslaves` command requires python-igraph which is not installed by default# Run the command below if you need `addslaves`pip install ruskit[addslaves]```##### Create cluster```bashruskit create -s 1 192.168.0.11:{8000,8001,8002} 192.168.0.12:{8000,8001,8002}```##### Add nodes```bash# Add masters:ruskit add 192.168.0.11:8000 192.168.0.13:8000 192.168.0.14:8000# Add slaves:# ruskit add <node belong to cluster> <slave node>,<master node>ruskit add 192.168.0.11:8000 192.168.0.14:8001,192.168.0.13:8000# ruskit addslaves [--peek] [--slaves-limit <max slaves count>] <node belong to cluster> <slave node> [<slave node> ...]ruskit addslaves --peek --slaves-limit 3 192.168.0.11:8000 192.168.0.14:8001 192.168.0.14:8002```##### Query cluster info```bashruskit info 192.168.0.11:8000```##### Delete nodes```bashruskit delete 192.168.0.11:8000 192.168.0.13:8000```##### Migrate slots```bash# migrate 100 slots from 192.168.0.11:8000 to 192.168.0.12:8000ruskit migrate -d 192.168.0.12:8000 -c 100 192.168.0.11:8000# migrate all slots from 192.168.0.11:8000 to 192.168.0.12:8000ruskit migrate -d 192.168.0.12:8000 192.168.0.11:8000# migrate slot 866 from 192.168.0.11:8000 to 192.168.0.12:8000ruskit migrate -d 192.168.0.12:8000 -s 866 192.168.0.11:8000# migrate 100 slots from 192.168.0.11:8000 to other nodes in the clusterruskit migrate -c 100 192.168.0.11:8000# migrate 100 slots from the cluster to 192.168.0.11:8000ruskit migrate -c 100 -i 192.168.0.11:8000```##### Balance slots```bashruskit reshard 192.168.0.11:8000```##### Fix cluster```bashruskit fix 192.168.0.11:8000```##### Replicate```bashruskit replicate 192.168.0.14:8001 192.168.0.11:8000```##### Destroy cluster```bashruskit destroy 192.168.0.11:8000```##### Flushall data```bashruskit flushall 192.168.0.11:8000```##### View slowlog(Recent 128 logs per node)```bashruskit slowlog 192.168.0.11:8000```##### View nodes distribution```bash# ruskit peek <node belong to cluster>ruskit peek 192.168.0.11:8000```## Test```pip install -r test_requirements.txtpy.test tests/```
Package: ruslanio
My personal tools for my projectsfrom ruslanio import imread- likecv2.imreadbut reads RGB and supportspathlib.Pathruslanio.beam_search- multi-purpose beam searchruslanio.cacher- LRU cache supports async functions and Redisruslanio.sorting- very fast top-k algorithmInstallationpipinstallruslanioOrpipinstallgit+https://github.com/hocop/ruslanio.gitOr./setup.sh
Package: ruslingua
RusLingua 📚RusLingua is a Python library for retrieving various linguistic information about Russian words. It provides a simple API to get synonyms, antonyms, word associations, cognate words, and definitions.FeaturesGet synonyms of a word 👥Get antonyms of a word 👎Get word associations 💭Get cognate words (words with a common root) 🌳Get definitions from dictionaries 📖QuickstartfromruslinguaimportRusLinguaruslingua=RusLingua()synonyms=ruslingua.get_synonyms('дом')antonyms=ruslingua.get_antonyms('дом')associations=ruslingua.get_associations('дом')cognates=ruslingua.get_cognate_words('дом')definition=ruslingua.get_definition('дом')print(synonyms)print(antonyms)print(associations)print(cognates)print(definition)Installationpip install ruslinguaUsageImport the RusLingua class and instantiate it:fromruslinguaimportRusLinguaruslingua=RusLingua()Then call the methods with a word to get the linguistic information:synonyms=ruslingua.get_synonyms('дом')antonyms=ruslingua.get_antonyms('дом')associations=ruslingua.get_associations('дом')cognates=ruslingua.get_cognate_words('дом')definition=ruslingua.get_definition('дом')The methods return lists of strings.CreditsRusLingua retrieves data from various sources:jeck.ru- synonyms 👥razbiraem-slovo.ru- antonyms 👎 and cognate words 🌳wordassociations.net- word associations 💭gramota.ru- definitions 📖