Saravanan666/pypi-org huggingface dataset:
Package: rod.recipe.ejabberd
The ejabberdhttp://www.process-one.net/en/ejabberd/is a distributed,
fault-tolerant technology that allows the creation of large-scale instant
messaging applications. This buildout recipe downloads and installs ejabberd
into an isolated development environment.A brief documentationThis recipe takes a number of options:erlang-pathThe path where to find the erlc command (default = /usr/local/bin).urlThe URL to download the ejabberd source distribution.prefixPrefix path (default = <buildout directory>).makeAlternate make command (e.g. gmake).TestsWe will define a buildout template used by the recipe:>>> buildout_cfg = """
... [buildout]
... parts = ejabberd
... offline = true
...
... [ejabberd]
... recipe = rod.recipe.ejabberd
... url = http://www.process-one.net/downloads/ejabberd/2.1.6/ejabberd-2.1.6.tar.gz
... """We’ll start by creating a buildout:>>> import os.path
>>> write('buildout.cfg', buildout_cfg)Running the buildout gives us:>>> output = system(buildout)
>>> if '/sample-buildout/parts/ejabberd' in output: True
... else: print output
TrueChanges1.1.4 2011-04-13Added ‘make’ buildout option to specify an alternate make command
(e.g. gmake).1.1.3 2010-05-09Fixed issue where ejabberd scripts used an incorrect default Erlang path
when no erlang-path option was specified.1.1.2 2009-10-13Modified ejabberd startup command to run server in foreground.1.1.1 2009-10-13Fixes an issue where ejabberd crashes on startup due to a missing directory.1.1.0 2009-10-13Creates custom ejabberd and ejabberdctl scripts.1.0.0 2009-10-10Initial release.
Package: rod.recipe.py2app
The rod.recipe.py2app helps to create standalone Mac OS X application bundles
using py2app and PyObjC. It aims to provide handling eggs within a zc.buildout
environment.To be honest, this is a recipe for scrambled eggs. The current py2app version
lacks of supporting python eggs, especially namespace packages. This recipe
reconstructs a directory tree from the contents of the given eggs.Changes1.0.0 2009-09-11Stable release1.0.0b1 2008-02-04Initial revisionDocumentationpy2app-Build RecipeThe build recipe takes a number of options:eggsA list of eggs to install given as one or more setuptools requirement
strings. Each string must be given on a separate line.packagesA list of required python packages.scriptThe name of the build script, which will be set up in bin.
Default is ‘py2app’.TestsLet’s try to import the Recipe class:>>> from rod.recipe.py2app import Recipe
Package: rod.recipe.rabbitmq
Buildout recipe for downloading and installing RabbitMQ.Copyright and LicenseCopyright 2009, 2010, 2011 Tobias RodaebelThis software is released under the GNU Lesser General Public License,
Version 3.CreditsThanks to Martijn Pieters for refactoring script generation to ensure that we
always use an appropriate rabbitmq-server script for the installed version.A brief documentationThis recipe takes a number of options:erlang-pathThe path where to find the erlc command (default = find it in PATH).urlThe URL to download the RabbitMQ source distribution.cookieOptional string passed as cookie to the erl runtime (-setcookie).makeAlternate make command (e.g. gmake).To further customize your RabbitMQ server configuration, create a rabbitmq-env
file in the etc/ directory of your buildout, following theRabbitMQ
configuration guideto set environment variables.You can also create a rabbitmq.config file in the same location to provide
erlang configuration statements.TestsWe will define a buildout template used by the recipe:>>> buildout_cfg = """
... [buildout]
... parts = rabbitmq
... offline = true
...
... [rabbitmq]
... recipe = rod.recipe.rabbitmq
... url = http://www.rabbitmq.com/releases/rabbitmq-server/v2.4.1/rabbitmq-server-2.4.1.tar.gz
... """We’ll start by creating a buildout:>>> import os.path
>>> write('buildout.cfg', buildout_cfg)Running the buildout gives us:>>> output = system(buildout)
>>> if output.endswith("ebin ebin/rabbit.app < ebin/rabbit_app.in\n"): True
... else: print output
TrueChanges2.0.0 2011-05-18Uses the buildout download cache if available.Refactored script generation: reuses the existing scripts and customize
them using the built-in rabbitmq-env sourcing option. This ensures we
always use an appropriate rabbitmq-server script for the installed version.Abandoned obsolete prefix buildout option.Updated documentation.1.1.7 2011-04-11Added ‘make’ buildout option to specify an alternate make command
(e.g. gmake).1.1.6 2010-06-21Usingrabbit@localhostas NODENAME in order to provide portability of
the database across machines independent of the hostname since you can
not start RabbitMQ on a different machine with a different hostname
(the database is tied to the hostname).1.1.5 2010-06-21Added support for setting an optional erlang cookie (-setcookie)
through the ‘cookie’ option.1.1.4 2010-05-09Fixed issue where rabbitmq scripts used an incorrect default Erlang path
when no erlang-path option was specified.1.1.3 2010-05-03Fixed parameter in generated rabbitmqctl script (-sname instead of -name).1.1.2 2010-05-02Fixed parameter in generated rabbitmq-server script (-sname instead
of -name).1.1.1 2010-03-21Fixes an issue where the Erlang path wasn’t set correctly.1.1.0 2010-03-20Updated for RabbitMQ 1.7.2.1.0.0 2009-08-23Initial release.
Package: rodrigomm23
MCDATA_PACKAGEMCDATA_PACKAGE é um pacote Python para facilitar o envio de arquivos para o S3, transformar arquivos CSV e RDS para Parquet, realizar limpeza simples dos dados e guardar dicionários de siglas governamentais.InstalaçãoVocê pode instalar o pacote MCDATA_PACKAGE usando pip:pip install mcdata_packageUsoAqui estão alguns exemplos de como você pode usar o pacote MCDATA_PACKAGE:Transformar arquivos CSV e RDS para Parquetfrom mcdata.transformar import csv_to_parquet, rds_to_parquet
csv_to_parquet('/path/to/csv_file.csv', '/path/to/parquet_file.parquet')
rds_to_parquet('/path/to/rds_file.rds', '/path/to/parquet_file.parquet')Manipular tabelasimport pandas as pd from mcdata.tabela import ManipularTabela
df = pd.read_csv('/path/to/csv_file.csv')
manipulator = ManipularTabela(df) processed_df = manipulator.process_table(remove_duplicates=True, null_value_replacement='Unknown', column_mapping={'OldColumnName': 'NewColumnName'}, column_value_mapping={'UF': {31: 'São Paulo'}})Obter dicionários de siglas governamentaisfrom mcdata.dicionarios import ufLicençaEste projeto é licenciado sob a Licença MIT - por favor, vejaLICENSEpara mais detalhes.
Package: roe
roe-cliThis utility helps you deploy your code as an API locally on your machine
usingDocker. It is a python based package that can be installed via
pip.QuickstartInstall roe:pip install roeDeploy your package :roe deploy -l path/to/package/foldereg:roe deploy -l /Users/abcdef@ghi.com/Documents/git/myProjectNote: you will be prompted to enter yourdocker hub username and passwordYou can find a sample projecthere.- Deploy Package Arguments and Optionsroe deploy -l path/to/package/folder-lis for local deployment (only local is available for now).-nis for specifying a package name. If left out, the folder name is chosen as package name.-pis a port you specify for it to be spun up on(The valid range is 1024-65535). If left out, a port will be
assigned.-qis to deploy with no extra prompts to affirm redeployments and no webpage opening when finishing the deployment.- Re-deploying a package.roe deploy -l path/to/package/folderIf you used a custom name for your package, you will have to specify it with the package name (-n) flag just like you did initially.e.g.roe deploy -l /Users/abcdef@ghi.com/Documents/git/myUpdatedProjectorroe deploy -l -n myCustomName /Users/abcdef@ghi.com/Documents/git/myUpdatedProjectNote: It will re-use the port from the first deployment.Other commands:DescriptionCommandVerify package configurationroe verify -l path/to/package/folderList packages deployedroe list -lStop a package ¹roe stop -l -p myProjectStop all packagesroe stop -l --allStart a packageroe start -l myProjectStart all packagesroe start -l --allUndeploy a packageroe undeploy -l -p myProjectUndeploy all packagesroe undeploy -l --allBegin ROE session ² ³roe begin -lEnd ROE sessionroe end -l¹ If a model API associated with this package is running, you will be asked to enter 'Y' to stop it and proceed with
deleting the package.² A ROE Session begins automatically upon runningroe deployorroe list.³ You can also point to a yaml file like this:roe begin -l -f /Users/myUser/Documents/docker-creds.yaml. Download a sample credential
filehere.You can use the--helpcommand in front of any command from within the CLI for help with options and arguments.Eg:roe deploy --help
Package: roentgen
docsbuild statuspackageA Python package for the quantitative analysis of the interaction of energetic x-rays with matter.
This package is named after one of the discoverers of X-rays,Wilhelm Röntgen.Installationpip install roentgenThis project makes use ofPoetryfor dependency management. To install this project for development, clone the repository and then run the following command inside the package directorypoetry install --with dev,docs,guiDocumentationhttp://roentgen.readthedocs.io/en/stable/GUIThis package provides a gui interface to quickly investigate the absorption and transmission of x-rays through different materials.
It is based onbokeh. To run it locally use the following commandbokeh serve --show <roengten_directory>/guiData SourcesThis package includes on a number of data files which were translated and imported from a few key sources.
The package developers would like to thank the following data providersThe U.S National Institute of Standards and Technology (NIST)The Center for X-ray Optics and Advanced Light Source at the Lawrence Berkeley National LaboratoryFor more information see theREADMEin data directory.ContributingContributions are welcome, and they are greatly appreciated!
Every little bit helps, and credit will always be given.
Have a look at thegreat guidefrom thesunpy projectwhich provides advice for new contributors.Code of ConductWhen you are interacting with members of this community, you are asked to follow the SunPyCode of Conduct.
Package: roerich
Welcome to RoerichRoerichis a python library for online and offline change point detection for time series analysis, signal processing, and segmentation. It was named after the painter Nicholas Roerich, known as the Master of the Mountains. Read more at:https://www.roerich.org.Fragment of "Himalayas", 1933Currently, the library contains official implementations of change point detection algorithms based on direct density ratio estimation from the following articles:Mikhail Hushchyn and Andrey Ustyuzhanin. “Generalization of Change-Point Detection in Time Series Data Based on Direct Density Ratio Estimation.” J. Comput. Sci. 53 (2021): 101385.[journal][arxiv]Mikhail Hushchyn, Kenenbek Arzymatov and Denis Derkach. “Online Neural Networks for Change-Point Detection.” ArXiv abs/2010.01388 (2020).[arxiv]Dependencies and installpip install roerichorgitclonehttps://github.com/HSE-LAMBDA/roerich.gitcdroerichpipinstall-e.Basic usage(See more examples in thedocumentation.)The following code snippet generates a noisy synthetic data, performs change point detection, and displays the results. If you use own dataset, make
sure that it has a shape(seq_len, n_dims).importroerichfromroerich.change_pointimportChangePointDetectionClassifier# generate time seriesX,cps_true=roerich.generate_dataset(period=200,N_tot=2000)# detection# base_classifier = 'logreg', 'qda', 'dt', 'rf', 'mlp', 'knn', 'nb'# metric = 'klsym', 'pesym', 'jsd', 'mmd', 'fd'cpd=ChangePointDetectionClassifier(base_classifier='mlp',metric='klsym',window_size=100)score,cps_pred=cpd.predict(X)# visualizationroerich.display(X,cps_true,score,cps_pred)SupportHome:https://github.com/HSE-LAMBDA/roerichDocumentation:https://hse-lambda.github.io/roerichFor any usage questions, suggestions and bugs use theissue page, please.Related librariesThanks to all our contributors
Package: rofetta
RofettaThe rosetta stone for FCA.Usage:python -m rofetta my-context.cxt my-converted-context.lmbSupported standard formats are: cxt, txt, lmb, csv, slf.Other formats: lp (ASP atoms), tex (latex table).Steps to manage this projectcrenv
srenv
g init
pip install zest.releaser[recommended]
# write the setup.{cfg,py}
Package: rofify
RofifySpotify Menu in RofiThis app is intended to provide an alternative method for controlling spotify playback.
It's inspired by the terminal applicationSpoTUI, and makes heavy use ofspotipyandpython-rofi-menu. The included theme is based on the
the rofi themes byadi1090x.Before you attempt to install this, it's worth noting that, at present, you need spotify premium in order to use this. You will need create an app onthe spotify devolper site(go to dashboard, then create an app).To install the package run:pipinstallrofifySetupYou will need to add a few items to the configuration to get started.
To create the a config file at .config/rofify/config you can run:python-mrofify--create-configIn the config file you will need to set the values for username, client_id and client_secret.
The client_id and client_secret can be obtained on your application page on developer.spotify.com.
Redirect_uri can be left the same, unless you have changed it in the application settings on
developer.spotify.com.Next, run:python-mrofify--create-tokenThis is required, as the authentication uses this token in every reuqest made.
This creates a token using the path specified by 'cache_path' in the config file.Try and see if the package is working by typing running Rofi:rofi-modispotify:"python -m rofify"-showspotifyHotkeysIf you want to run rofify with hotkeys you'll need to create or modify custom key bindings in your rofi config. For example:! Previous track
rofi.kb-custom-1:   Super+Left

! Next track
rofi.kb-custom-2:   Super+Right

! Toggle pause/play
rofi.kb-custom-3:   Super+space

! Toggle shuffle
rofi.kb-custom-4:   Super+s

! Cycle repeat state
rofi.kb-custom-5:   Super+rThese are convenient keybindings for me, but some experimentation might be needed depending on your setup. Make sure that any keybinding you use isn't already used by another default rofi keybinding or it will throw an error (you can get a full list of the config options by running rofi -dump-config).
Package: rofi-notion
Rofi-NotionThis script allows you to quickly create new Notion pages for your databases.Example:I use a Notion database as a task tracker for my business. With Rofi-Notion and some key bindings, I can quickly create a new entry in my Notion database without the hassle of waiting and navigating the slow Notion interface.https://user-images.githubusercontent.com/37625778/172062053-0332ab05-2782-482b-97ee-98d33854e58d.mp4RequirementsPython >= 3.7A Notion integration with read and write access to the desired databases.InstallationFor archlinux usersyay-Srofi-notion-binFor everyone elsepipinstallrofi-notionSetupCheck if the installation was successfulrofi-notion-h1. Add your Bot Notion secretGet yourAPI_SECRETbycreating a new Notion integration.rofi-notionset-creds# Then paste your creds2. Link your first databaserofi-notionlink# Follow instructions3. Runrofi-notionrofi-notionrun$YOUR_DB_NAMEAdd i3 bindingsSimply add a similar line to your i3 config file.bindsym $mod+Insert exec rofi-notion run $YOUR_DB_NAMEConfigDefault config destination is$XDG_CONFIG_HOME/rofi-notionor$HOME/.config/rofi-notionif$XDG_CONFIG_HOMEis not set.DeploymentDo not forget to bump versions insetup.pyandPKGBUILD.PyPiRunmaketo publish a new version.Git tag the new version and push it.
Then publish the automatically created Draft release.git tag vX.X.X
git push --tagsAURFirst publish new release on GitHub, then runmake aur.
Package: rofipaste
RofiPasteA tool to paste some useful things using rofi (rofi needs to be installed to use this package)Free software: GNU General Public License v3Documentation:https://rofipaste.readthedocs.io.FeaturesYou can paste all the entries you have createdYou can create new entriesYou can create executable entriesTODOEdit CONTRIBUTING.rst if necessaryEdit HISTORY.rst if necessaryCreate requirements.txt (and use it instead of requirements_dev.txt for the installation)Create testsWrite documentationCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.This package was inspired and developed from therofimojiproject.History0.1.0 (2020-09-27)First release on PyPI.
Package: rofi-pirate
🏴‍☠ Rofi PirateRofi module for searching torrents using Jackett API. You can also instantly play media files without having to leave the Rofi menu. The project is still in beta.RequirementsStreaming torrent client:Peerflix(to play media files without downloading it first)qBittorent (optional)Nerd FontsSetup processFirst, you need a running instance of Jackett and install Peerflix# Arch Linux usersyay-Sjackett-bin
systemctlstartjackett.service# then go to http://localhost:9117/# Or Docker imagedockerpulllinuxserver/jackett# Peerflix installnpminstall-gpeerflixSet up your indexers through the dashboard and also obtain an API key from there.Install rofi-python package.pipinstallrofi-piratePlace the configuration file under~/.config/rofi_pirate/config.json.Don't forgetto specify your API key.Config example:{"JACKETT_ENDPOINT":"http://127.0.0.1:9117","JACKETT_APIKEY":"<API_KEY>","SEARCH_LIMIT":25,"PEERFLIX_CMD":"peerflix -t -k -a","PEERFLIX_CACHE":"~/Downloads/Torrents","HISTORY_CACHE":"~/.config/rofi_pirate/history.db",}TODODynamic indexer configuration.Ability to preview torrent images (movie/music covers).
Package: rofi-tmuxp
UseRofito launchtmuxpsessions.Installation$pipinstallrofi-tmuxpNoteTherofi-tmuxpscript uses thetmuxp python APIto find your tmuxp
session config files. This means that you should install it in the same Python
environment as tmuxp.UsageWithout any command-line arguments,rofi-tmuxpwill print out a list of
tmuxp session names to standard output. If a session name is passed as an
argument, it will attempt to launch that session in a new terminal.To use withrofi, you will need to addrofi-tmuxpas a “script” mode to
you rofi config file.  E.g.configuration {
    /* Enable run and tmuxp modes */
    modi: "run,tmuxp:rofi-tmuxp";
}Then you can run rofi like:rofi-showtmuxpLicenseCopyright (c) Heinrich Kruger. Distributed under theMIT license.
Package: rofi-tpb
rofi-tpbDynamic menu interface for The Pirate Bay, built withrofiin mind.Installpipinstallrofi-tpbConsider usingpipx:pipxinstallrofi-tpbUsagePrompt to either search tpb or browse tpb's top torrents:rofi-tpbPrompt for search query:rofi-tpbsearchSearch for ubuntu related torrents:rofi-tpbsearchubuntuBrowse tpb's top torrents across all categories:rofi-tpbtopallBrowse tpb's recent top torrents across all categories in the last 48h:rofi-tpbtopall-rCheck the help for details:rofi-tpb--help
...
rofi-tpbsearch--help
...
rofi-tpbtop--help
...Dependenciespython >= 3.6tpblitedynmenlxmltraitlets(undeclared dependency ofdynmen)Configurationrofi-tpbstores its config in$XDG_CONFIG_HOME/rofi-tpb/config.ini.The default configuration is the following:[menu]command=rofi -dmenu -itorrent_format={title:<65} 📁{filesize:<12} 🔽{seeds:<4} 🔼{leeches:<4} Trusted: {trusted} VIP: {vip}vip_str=✅not_vip_str=❌trusted_str=✅not_trusted_str=❌use_tpb_proxy=Truetpb_url=https://thepiratebay0.orgcategories=All, APPLICATIONS, AUDIO, GAMES, OTHER, PORN, VIDEOcategories_48h=True[actions]add=xdg-open '{magnetlink}'open=xdg-open '{url}'menu.command: the dynamic menu command which should read fromstdinand output tostdout, if you want to usedmenuinstead ofrofithen adjust this command accordingly.menu.torrent_format: text representation of a torrent in the dynamic menu,accepts torrent string format keys.menu.use_tpb_proxy: if True will use the first tpb url as found onhttps://piratebayproxy.info/.menu.vip_str: string to use in themenu.torrent_formatwhen the user is VIP.menu.not_vip_str: string to use in themenu.torrent_formatwhen the user is not VIP.menu.trusted_str: string to use in themenu.torrent_formatwhen the user is trusted.menu.not_trusted_str: string to use in themenu.torrent_formatwhen the user is not trusted.menu.tpb_url: tpb url, ifuse_tpb_proxyis True acts as a fallback url in casehttps://piratebayproxy.info/is unavailable or the parsing fails.menu.categories: comma separated list of tpb categories, when browsing the top torrents.menu.categories_48h: add last 48h top torrent categories.actions.*: commands to run on the selected torrent,accepts torrent string format keys.Available torrent string format keys:{title}: torrent title{filesize}: torrent file size{seeds}: number of seeders{leeches}: number of leechers{uploader}: torrent uploader{upload_date}: upload date{url}: torrent's tpb url{magnetlink}: torrent magnet link{vip}: uploader is VIP, replaced withmenu.vip_str/menu.not_vip_str.{trusted}: uploader is trusted, replaced withmenu.trusted_str/menu.not_trusted_str.If themenu.commandusesrofi,rofi-tpbwill userofi's-multiple-selectflag to allow for selecting multiple torrents.
Package: rof-rcon-client
RCon client for ROF dserver===========================Usage-----::$ pip install rof-rcon-clientExample[account]login, [account]password, [system]rcon_ip, [system]rcon_port from startup.cfg::import loggingfrom rof_rcon_client import RConClientlogging.basicConfig(level=logging.DEBUG)rcon = RConClient(login='login', password='password', host='ip', port=8991)print(rcon.get_sps())