Saravanan666/pypi-org huggingface dataset:
Package: rcd-dev-kit
rcd_dev_kitDeveloped by Real Consulting DataDescriptionWe've developedrcd-dev-kitto facilitate the manipulation and interaction with the OIP ecosystem.Installationpipinstallrcd-dev-kitModulesWe've divided our functions in four main modules:database_managerClasses:GcloudOperator()MysqlOperator()ElasticsearchOperator()RedshiftOperator()SnowflakeOperator()S3Operator()Main Functions:index_json_bulk()index_json()index_json_bulk_parallel()send_to_redshift()read_from_redshift()send_metadata_to_redshift()find_tables_by_column_name()migrate_metadata_from_redshift()upload_raw_s3()download_raw_s3()upload_to_gcloud()download_from_gcloud()dataclass_managerClasses:RawDataFile()decorator_managerMain Functions:timeit()debug()file_managerClasses:FileOperator()FileDownloader()Main Functions:detect_path()detect_all_files()write_df_to_json_parallel()download_excel()download_csv()download_pdf()download_zip()pandas_managerMain Functions:strip_all_text_column()check_na()check_duplication()check_quality_table_names()normalize_date_column()detect_aws_type()sql_utilsMain Functions:convert_to_snowflake_syntax()correct_sql_system_variables_syntax()Pre-requirementsSince some of the functions deal with database connections(S3, Redshift, Snowflake, GCP, Elasticsearch, ...), we must
be careful to sensitive information. Thus, to use the functions correctly we must have a.envfile following
the.env.exampletemplate.FeedbackAny questions or suggestions?
Please contact package maintainer.python-sdkRefer to bookhttps://py-pkgs.org/01-introductionfor best practicesMaintainersThis package is using poetry for pkg management, it must be installed locally if you are maintaining the package.For developing and test the pkg locally, you must runpoetry install.This git repository has an automated CI/CD processfound on the git worflow:main.yml. It means that once all modifications have been made, a Pull Request to main will trigger a serie of actions:Install Package:poetry installRun Unitary Tests:poetry run pytest -v tests/ --cov=rcd_dev_kit --cov-report=xmlBuild Package:poetry buildPublish Package in PyPI:poetry publishInstall Package from PyPI:pip install rcd_dev_kitSend a Teams message with the new available version: Git Imagetoko-bifrost/ms-teams-deploy-card@master.ContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licensercd_dev_kitwas created by RCD. It is licensed under the terms of the MIT license.Creditsrcd_dev_kitwas created withcookiecutterand thepy-pkgs-cookiecuttertemplate./ Top contributors/ Recent activity
Package: rcdesign
rcdesignrcdesignis a Python package for analysis and design of reinforced concrete sections as per IS 456:2000, the Indian Standard code of practice for plain and reinforced concrete.DocumentationInstallingInstall usingpip.$pipinstallrcdesignRun the built-in examplesRun the two built-in example problems and study the output.$python-mrcdesignContributeContributions are welcome. Contributions can be in a variety of forms:Bug reportsAdditional featuresDocumentationAdditional examplesLinksDocumentation:DocumentationPyPI release:0.4.14Github repository:https://github.com/satish-annigeri/rcdesignReferencesIS 456:2000 Indian Standard Code of Practice for Plain and Reinforced Concrete (Fourth Revision), Bureau of Indian Standards, New Delhi, 2000.SP:24 (S&T)-1983 Explanatory Handbook on Indian Standard Code of Practice for Plain and Reinforced Concrete (IS 456:1978), Bureau of Indian Standards, New Delhi, 1984.SP 16:1980 Design Aids for Reinforced Concrete to IS:456-1978, Bureau of Indian Standards, New Delhi, 1980.
Package: rcdpeaks
RCDPeaksMemory-Efficient Density Peaks Clustering of Long Molecular DynamicsRCDPeaks is a Python command-line interface (CLI) conceived to speed up and overcome certain limitations of the Rodriguez and Laio’s Density Peaks (DP) clustering [1] of long Molecular Dynamics.InstallationThere are some easy-to-install dependencies you must have before running RCDPeaks. MDTraj (mandatory) will perform the heavy RMSD calculations, while VMD (optional) will help with visualization tasks. The rest of the dependencies (listed below) will be automatically managed by RCDPeaks.1.MDTrajIt is recommended that you installMDTrajusing conda.conda install -c conda-forge mdtraj2.RCDPeaksViapipAfter successfully installingMDTraj, you can easily install RCDPeaks and the rest of its dependencies using pip.pip install rcdpeaksViaGitHubgit clone https://github.com/LQCT/RCDPeaks.git
cd RCDPeaks/
python setup.py installThen, you should be able to see RCDPeaks help by typing in a console:rcdpeaks -h3.VMDandVMD clustering plugin(optional)RCDPeaks clusters can be visualized by loading a.logfile in VMD via a clustering plugin.
Please see thisVMD visualization tutorial.The official site for VMD download and installation can be foundhere.Instructions on how to install the clustering plugin of VMD are availablehere.Basic UsageYou can display the primary usage of RCDPeaks by typingrcdpeaks -hin the command line.$ rcdpeaks -h

usage: rcdpeaks -traj trajectory [options]

RCDPeaks: Memory-Efficient Density Peaks Clustering of Long Molecular Dynamics

optional arguments:
  -h, --help           show this help message and exit

Trajectory options:
  -traj trajectory     Path to trajectory file [default: None]
  -top topology        Path to the topology file
  -first first_frame   First frame to analyze (start counting from 0) [default: 0]
  -last last_frame     Last frame to analyze (start counting from 0) [default: last
                       frame]
  -stride stride       Stride of frames to analyze [default: 1]
  -sel selection       Atom selection (MDTraj syntax) [default: all]

Clustering options:
  -cutoff cutoff       RMSD cutoff for pairwise comparison in A [default: 1]
  -dcut delta_cut      delta cutoff for the decision graph
  -rcut rho_cut        rho cutoff for the decision graph
  -restart_from file.pickle
                       restart clustering from previous job
  -auto_centers bool   

Output options:
  -odir .              Output directory to store analysis [default: ./]In the example folder, you can find a coordinate (pdb) and a trajectory (dcd) files to run an RCDPeaks test.
Type the next command in the console and check if you can reproduce the content of the examples/output directory:rcdpeaks -traj aligned_original_tau_6K.dcd -top aligned_tau.pdb -cutoff 2.5 -odir outputsCitation (work in-press)If you make use of RCDPeaks in your scientific work,cite it ;)Release History0.0.1First Release (academic publication)LicenceRCDPeaksis licensed under GNU General Public License v3.0.Reference[1] Rodriguez, A.; Laio, A. Clustering by fast search and find of density peaks.Science. 2014, 344 (6191), 1492-1496.
Package: rcd-pyutils
rcd-pyutilsrcd-pyutils is a Python package for simplify the manipulation of data.Installationpipinstallrcd-pyutilsModulesdatabase_managerA module for simply accessing and manipulating (upload/download, create/update/copy, etc...) data with different databases and cloud storage.Google cloud storage (GCS), S3, AWS redshift, Elasticsearch, Snowflake, MySQLdataclass_managerA module for improving infrastructure with raw data registration and synchronisation.decorator_managerA module for simply time and debug function with different decorators.file_managerA module for simply managing local files.pandas_managerA module contains utils to detect pandas dataframe data type and length to create the best structure in data warehouse, and quality check with pandas dataframe.FeedbackAny questions or suggestions?
Please contact package maintainer.
Package: rcds
rCDS isredpwn’s CTF challenge deployment tool. It is designed to automate the
entire challenge deployment process, taking sources from challenge authors and
provisioning the necessary resources to both make challenges available on the
competition scoreboard and to spin up Docker containers that the challenge needs
to run.rCDS has an opinionated model for managing CTF challenges. It operates on a
centralized challenge repository and is designed to be run from a CI/CD system.
This repository is the single source of truth for all data about challenges, and
rCDS itself essentially acts as a tool to sync the state of various systems (the
scoreboard and the container runtime) to what is described by this repository.
Authors do not directly interface with any of these systems, and instead push
their changes and let a CI job apply them. Thus, the challenge repository can be
versioned, creating an audit log of all changes and allowing for point-in-time
rollbacks of everything regarding a challenge should something go wrong.For more information, seethe documentation.
Package: rcdss
RIPE NCC CDS scannerThis utility implements support for automated DNSSEC delegation
trust maintenance for the reverse DNS zones delegated by RIPE database.
It implements scanning for CDS records according toRFC
7344andRFC
8078.Only trust anchor update and remove is supported. Bootstrapping from
insecure to secure is not supported.It reads adump of DOMAIN objectsfrom the RIPE database. Only domain objects
containingds-rdata:attributes are processed.CDS records are scanned using default resolver of the host, which MUST be
DNSSEC-aware and SHOULD perform DNSSEC-validation. The utility outputs RPSL-like
file listing objects that should be modified in the RIPE database. Since the
scanner works withdummyfiedobjects, output cannot be directly pushed into
the Database.  Instead, it has to be used as a diff-file for a GET-modify-PUT
operation on the database.DNSSEC algorithm supportThe utility does all the special validations mandated by RFC 7344. These are
done usingdnspython. Since these validations
provide similar level of security to standard DNSSEC validation process,
validation in the DNS resolver is not required.Therefore, the list of supported algorithms is same as the list of supported
DNSSEC algorithms ofdnspython.Installation and usageThis package can be installed usingpip,
preferably into its ownvirtualenv.$ python3 -m venv rcdss-venv
$ source rcdss-venv/bin/activate
(rcdss-venv)$ pip install rcdss
(rcdss-venv)$ rcdss --help
Package: rcedit
rcedit – Programmatic access to Research Catalogue web interfaceImport editor class from rcedit module usingfrom rcedit import RCEditTheRCEditclass provides access to most of the features of a Research catalogue exposition.Example:# create RCEdit instance with exposition ID as argument
rc = RCEdit(1234567)
# log in using RC credentials
rc.login(username='my@email.com', password='goodpassword')

# list all pages in exposition (weaves in RC jargon)
pages = rc.page_list()
print("Pages:", pages)
# will print a dict of {page_id: page_name, ...}

# add new page (aka weave) to exposition
# page_id = rc.page_add(page_name, description='all about my page')

# remove page
# rc.page_remove(page_id)

# list all media sets (shared among expositions)
mediasets = rc.mediaset_list()
print("Media sets:", mediasets)
# will print a dict of {mediaset_id: mediaset_name, ...}

# add media set
mediaset_id = rc.mediaset_add(mediaset_name, mediaset_genre, authors, copyright)

# remove media set (and contained media items!)
# will only work if media items are not used in an exposition
rc.mediaset_remove(mediaset_id)

# list media
# if mediaset_id is None (or omitted): list simple media (in an exposition)
# if mediaset_id is given: list media contained in a media set
media = rc.media_list(mediaset_id)
print(f"Media in set {mediaset_id}:", media)
# will print a dict of {media_id: (media_type, media_name), ...}

# add media (without actual data contents)
# if mediaset_id is None (or omitted): add to simple media
# if mediaset_id is given: add to media set
media_id = rc.media_add(name, copyrightholder, media_type, license, mediaset_id)

# upload media contents
rc.media_upload(media_id, filename)

# remove media
# if mediaset_id is None (or omitted): remove form simple media
# if mediaset_id is given: remove from media set
# will only work if media item is not used in an exposition
rc.media_remove(self, media_id, mediaset_id)

# list items on a page
items = rc.item_list(page_id)
print(f"Items on page {page_id}:", items)
# will print a dict of {item_id: (item_type, item_name), ...}

# add media item to a page 
# 'tool' refers to the media type: this could be deduced from the media item (but it is slow)
item_id = rc.item_add(page_id, media_id, x, y, w, h, tool)

# remove item from a page
rc.item_remove(item_id)

# get item parameters
item = rc.item_get(item_id)
# will print a tuple
# (item_type, {
#	'common': {'title', title}},
#	'style': {'left', x}, {'top', y}, {'width', w}, {'height', h}, ...},
#	'options': { ... }
#	})
# options are specific to the item type

# set item parameters
# the key word arguments can be
# common = {'title': title},
# style = {...},
# options = {...},
rc.item_set(item_id, **kwargs)

# fast item update (only positioning)
# either parameter can be omitted
rc.item_update(item_id, x, y, w, h, r)

# lock/unlock item
# lock if 'lock' is nonzero, else unlock
rc.item_lock(item_id, lock)
Package: rcee
Remote code execution endpointSome nice to haves left to implement.Monospace font on the command output.Error handling.Tests.Deploying a remote code execution endpointDrop into a shell and sing the magic incantationpip install rceeandrcee.
This will leave you haunted with an endpoint lingering on port7999by default.
From this point onward you're on your own and can perform any request you want.It's also possible to use pipx for the installation.
Package: rcfile
Configuration file loader for Python projectsBased on:https://github.com/dominictarr/rcFeaturesRead environment variables and config files and return them merged with predefined list of arguments.Arguments:appname: application name, used for config files and environemnt variable names.args: arguments from command line (optparse, docopt, etc).strip_dashes: strip dashes prefixing key names from args dict.Returns:dict containing the merged variables of environment variables, config files and args.Environment variables are read if they start with appname in uppercase with underscore, for example:TEST_VAR=1Config files compatible with ConfigParser are read and the section name appname is read, example:[appname]
var=1Files are read from:/etc/appname/config/etc/appfilerc~/.config/appname/config~/.config/appname~/.appname/config~/.appnamerc.appnamercfile provided by config variable in argsExample usage with docopt:args = rcfile(__name__, docopt(__doc__, version=__version__))TODORequirementsPython >= 2.6 or >= 3.3LicenseMIT licensed. See the bundledLICENSEfile for more details.
Package: rchain-grpc
===========rchain-grpc===========.. image:: https://img.shields.io/pypi/v/rchain-grpc.svg:target: https://pypi.python.org/pypi/rchain-grpc.. image:: https://travis-ci.com/proof-media/rchain-grpc.svg?branch=master:target: https://travis-ci.com/proof-media/rchain-grpc.. image:: https://pyup.io/repos/github/proof-media/rchain-grpc/shield.svg:target: https://pyup.io/repos/github/proof-media/rchain-grpc/:alt: UpdatesPython3 client for RChain nodes gRPC protocol* Free software: MIT license* Documentation: https://proof-media.github.io/rchain-grpc=======History=======0.7.2 (2018-11-19)------------------* Added Eval/Repl support* Updated protos* Dependencies upgrade* Bug fixes0.7.1 (2018-11-05)------------------* Bug fix missing file in package* Typos on wrong package links and history0.7.0 (2018-11-02)------------------* Update to RNode server 0.7.x gRPC specs* Support to Python 3.6* Initial documentation* Support and document Name Registry use case* Adjusted version number to match RNode releases0.0.10 (2018-10-16)------------------* Automatic deploy to Pypi from Travis unittests0.0.1 (2018-10-04)------------------* First release on PyPI.
Package: rchat
rchatA simple RocketChat command line clientrchat --to #team "Hello World!"Usagerchatcomes with a command line interface that allows you to send messages
either to groups or direct people:rchat --to @rita.cantaora "Hi Rita!"The message can also be piped into the program via stdin:echo "Hi!" | rchat --to #teamSee help for more information:Seerchat --help.Configurationrchatneeds to know at least the server url and user credentials to use the
API. Those parameters can be given viacommand line option, set using anenvvaror by setting them in aconfig file.Base configuration options can be taken from the command line.
Arguments given in the command line will override any other configuration.--user TEXT      Username in RocketChat
--user-id TEXT   User id associated to a Token
--token TEXT     Personal Acces Token Name
--password TEXT  Password for user in RocketChat
--url TEXT       Url to the RocketChat serverThey can also be set as a environment variable by prefixing them such asRCHAT_URL. Arguments set this way will take precedence over the ones in the
config file.To configure via file, place your parameters intomlformat at~/.config/rchat/config.toml:[rchat]user_id='a1d3f4dd..'token='fjXkkf..'url='https://rocketchat.myserver.net'A specific config file can be given by passing the--configoption or setting
theRCHAT_CONFIGenvvar.Extra config files can be placed in theconf.ddirectory and all of them will
be merged together usingconfight. Last
values found in these files will override the previous ones, so the complete
list of places to be searched, in the order that will be read are:/etc/rchat/config.toml/etc/rchat/conf.d/*~/.config/rchat/config.toml~/.config/rchat/conf.dMeaning that the keys in files placed at~/.config/rchat/conf.dwill override
the rest.DevelopmentFrom the root of the application directory, create a python environment,
install the application in development mode along with its dependencies and
run it locally:virtualenv env
. env/bin/activate
pip install --upgrade pip
pip install -e . -r requirements.txt -r dev-requirements.txtTests can be run usingtox(recommended):pip install tox
toxOr directly by callingpy.test:python -m pytestTODOSend private messagesSend message from stdinSend message from filesUpload filesUpload imagesRead messagesListen to new messagesAutocomplete emojisAutocomplete usersAutocomplete channelsConfig fileLogging and debugDebian PackagingBundled PackagingPypi versionVersioning scriptImprove startup timeDefine groups of usersAllow to get reactionsAllow for threadsImplement (pre|post) message hooksImplement (pre|post) reaction hooksAutocomplete namesAutocomplete channelsOpen editor to compose messagePreview message in markdown viewerAutoformat input as verbatim
Package: rchitect
Interoperate R with PythonInstallation# install released versionpipinstall-Urchitect# or the development versionpipinstall-Ugit+https://github.com/randy3k/rchitectWhy reinvent the wheel?You may be curious why I reinvented the wheel when there isrpy2?The main reason is to driveradian.rpy2was not suitable because it is missing some key features for running
the R REPL. Speaking of compatibility,rchitecthas been thoroughly tested on
multiple platforms such as Windows, macOS and Linux and we also provide binary
wheels for python 3.6+.Getting startedfromrchitectimport*a=reval("1:5")# evaluate an R expression in the global environmentb=rcopy(a)# convert any RObject returned by `reval` to its python typec=robject(b)# convert any python object to its R typed=rcall("sum",c)# call an R function. Python objects are converted to RObjects implicitly.FAQHow to switch to a different R or specify the version of R.There are a few options.One could expose the path to the R binary in thePATHvariableThe environment variableR_BINARYcould also be used to specify the path to R.The environment variableR_HOMEcould also be used to specify R home directory. Note that it is should be set as the result ofR.home(), not the directory whereRis located. For example, in Unix$envR_HOME=/usr/local/lib/RradianCannot find shared libraryPlease also make sure that R was installed with the R shared librarylibR.soorlibR.dyliborlibR.dll. On Linux, the flag--enable-R-shlibmay be needed to install R from the source.Wikireticulateconversions
Package: rcis
Framework for iterative solver via reverse communicationFree software: GNU Lesser General Public License v3 or later (LGPLv3+)Installationpip install rcisYou can also install the in-development version with:pip install https://github.com/enricofacca/rcis/archive/main.zipDocumentationhttps://rcis.readthedocs.io/DevelopmentTo run all the tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog1.0.0 (2022-06-10)Reverse communication without abstract classes.0.2.0 (2022-01-16)Reverse communication with just one flag for user-solver communication0.1.0 (2022-01-10)First release with Reverse communication code0.0.0 (2022-01-05)First release on PyPI.
Package: rcl
rcl- A simple command line wrapper forrclone.rclis a simple command line wrapper forrclonefocused on easy folder syncing. It is loosely based ongit's interfaceand therefore uses the concepts of"local"and"remote"along with having commands such aspull,pushanddiff.Feel free to raise anyissues, suggestimprovementsandfeaturesor fork and contribute.Requirementsrclonly acts as a wrapper aroundrclone, you therefore must firstinstallandconfigurerclone and ensure that it is properly accessible on yourPATH.Installationrclis available onPyPIand can be installed by runningpip install rcl.Note:It is possible that pip will warn you that the install location is not on your$PATH. If so,rclmay not be found until you add the directory shown in the warning to your$PATH.UsageTo userclyou add entries which consist of local/remote folder pairs. You can then interact with these entries like they're a connected system.The folder values you add to entries will directly match what rclone uses and should conform torclone's interfaceof:Local Folder:/local/path/to/folderRemote Folder:remote:path/to/folderCommandsCommandExplanationrcl/rcl --helpOutputs the help and a list of commands.rcl add <entry_id> <local_folder> <remote_folder>Add a new entry, identified by<entry_id>.rcl diff <entry_id>Show the difference between the local and remote folder.rcl listList all entries.rcl pull <entry_id> [--dry]Pull remote changes to your local. (Sync local to match remote).rcl push <entry_id> [--dry]Push local changes to the remote. (Sync remote to match local).rcl rm <entry_id>Remove an entry.ExamplesExampleExplanationrcl add music /home/user/Music gdrive:MusicAdd a new "music" entry linking the default Linux Music folder with a top-level "Music" folder in a remote called "gdrive".rcl push musicPush local changes to the remote. (Sync remote with local).rcl pull musicPull remote changes to your local. (Sync local with remote).rcl rm musicRemove the "music" entry.Notespushandpullcan both be run with the--dryflag which will add--dry-runto the rclone command.pushandpullautomatically add the--progressflag to the rclone command.rclcan be run from any directory as it will always run rclone using the local/remote folders from the entry specified.Current LimitationsOpinionated - This wrapper offers a simple interface for specific aspects of syncing I use.Manual External Setup - rclone still has to be setup externally prior to use.No Input vAl1dation - None of the values supplied to theaddcommand are validated in any way.Error Handling - There is some python error handling onrcl rmbut nothing protecting against invalid inputs torcl addor rclone errors.Licenserclis release under theGNU GPLv3license so you can use and adapt as you wish.