Saravanan666/pypi-org huggingface dataset:
Package: roc-dadi
INTRODUCTIONThis directory contains the source files of the RPW DAta DIspatcher (DADI), a plugin used to handle data files read/write by the RPW operation and data pipeline (RODP).DADI is not designed to be run as a stand-alone plugin, but with the RODP.DADI is developed with and run under the POPPY framework.CONTENTroc/                    plugin source files
.editorconfig           EditorConfig config file
.gitignore              .gitignore file
.gitlab-ci              config file for Gitlab-CI
.pre-commit-config.yaml pre-commit config file
bump_descriptor.py      Python script to synchronize roc/dadi/descriptor.json content with the pyproject.toml data
MANIFEST.in             Required to build Python package distributions
poetry.lock             Used by poetry package
pyproject.toml          pyproject.toml file (PEP518)
README.rst              present file
setup.py                setup.py (required for editable mode)HOWTOHow to install the plugin?The plugin is designed to be installed and run inside a RODP instance.
However it can be installed manually, by entering:python -m pip install /path_to_pluginN.B. To install the plugin in editable mode, run the command:python -m pip install -e /path_to_pluginThe editable mode can only used if the setup.py file exits. Use the dephell module to generate it from the pyproject.toml file (dephell deps convert).How to release a new version of the plugin?Update the version field in thepyproject.tomlfile.Make sure thepoetry.lockfile is up-to-date running:poetry update --lock. (Usepip install poetry -Uto install poetry.)Update the descriptor file running the command:python bump_descriptor.py -m <message>, where<message>must contain the change log for the new version.Commit last changes in thedevelopbranch of Git repository. Mergedevelopbranch intomaster. Create a new tag “X.Y.Z” frommasterbranch. Rebasemasterontodevelop. Pushmaster,developand the new tag in the distant server.How to call the plugin?The plugin can only by called from a POPPy-like pipeline (e.g, RODP).The main command is:python manage.py dadiNoteThemanage.pyfile is inside the pipeline root directory (depending of the pipeline installation the aliaspopcan be also used).The command below will return the help message by default if no sub-command is passed
Package: roc-dingo
DINGO PLUGIN READMEThis directory contains the source files of the Data INGestOr (DINGO), a plugin of the ROC pipeline used to ingest data into the ROC database.
DINGO is developed with and run under the POPPY framework.User guidePre-requisitesThe following software must be installed:Python 3.8pip toolpoetry (optional)git (optional)Install a stable release with pipTo install the roc-dingo plugin with pip:pip install roc-dingoNominal usageroc-dingo is designed to be called from a pipeline running with the POPPy framework.The plugin can be used in Python programs using "import roc.dingo".Developer guideInstall a local copy from source filesTo install a local copy of the roc-dingo plugin:Retrieve a copy of the source files fromhttps://gitlab.obspm.fr/ROC/Pipelines/Plugins/DINGO(restricted access)Usepip installorpoetry installcommand to install local instancePublish a new versionUpdate the plugin version in pyproject.tomlUpdate the plugin descriptor usingpython bump_descriptor.py -m <message>Updatepoetry.lockfile runningpoetry lockAlways commit indevelopbranch firstMerge inmaster/mainbranch and tag the versionN.B. When a new tag is pushed in gitlab, tests are automatically run in pipeline, then plugin published in pypi.AuthorsFlorence HENRYflorence.henry@obspm.fr(maintainer)Xavier BONNINxavier.bonnin@obspm.fr(maintainer)Sonny LIONsonny.lion@obspm.fr(author)LicenseThis project is licensed under CeCILL-C.AcknowledgmentsSolar Orbiter / RPW Operation Centre (ROC) team
Package: roc-film
FILM PLUGIN READMEThis directory contains the source files of the Rpw FILe Maker (FILM), a plugin of the ROC pipelines dedicated to the RPW L0, L1 and HK files production.FILM has been developed with thePOPPY framework.QuickstartInstallation with pipTo install the plugin using pip:pip install roc-filmInstallation from the repositoryFirst, retrieve theFILMrepository from the ROC gitlab server:git clone https://gitlab.obspm.fr/ROC/Pipelines/Plugins/FILM.gitYou will need a personal access token to reach the package registry in the ROC Gitlab server.Then, install the package (here using (poetry)[https://python-poetry.org/]):poetry install"NOTES:- It is also possible to clone the repository using SSH
- To install poetry: `pip install poetry`UsageThe roc-film plugin is designed to be run in a POPPy-built pipeline.
Nevertheless, it is still possible to import some classes and methods in Python files.How to release a new version of the plugin?Checkout to the gitdevelopbranch (and make pull to be sure to work from the latest commit in the gitlab server)First update metadata (version, dependencies, etc.) in the pluginpyproject.tomlfile.Then make sure thedescriptor.jsonandpoetry.lockfiles are also up-to-date.To update thedescriptor.jsonfile, run the command:python bump_descriptor.py -m <modification_message>To update thepoetry.lockfile, enter:poetry lockN.B.poetryPython package must be installed (seehttps://python-poetry.org/).Commit the changes in thedevelopbranch. Make sure to commit with a comprehensive enough message.Checkout to themasterbranch and merge thedevelopbranch intomasterCreate a new git tagX.Y.Zfor the new version of the plugin (must be the same version than in thepyproject.tomlfile)Push both themasterbranch and the tag to the gitlab serverDo a rebase ofdeveloponto themasterbranchPush the up-to-datedevelopbranch to the gitlab serverN.B. This procedure only concerns the version release. It is assumed that any other changes in the code have been already validated previously.CONTACTXavier BONNINxavier.bonnin@obspm.fr(author, maintainer)Florence HENRYflorence.henry@obspm.fr(maintainer)LicenseThis project is licensed under CeCILL-C.AcknowledgmentsSolar Orbiter / RPW Operation Centre (ROC) team
Package: roc-guest
GUEST PLUGIN READMEThe RPW Gse data ReqUESTer (GUEST) is a plugin used to handle data from GSE for RPW/Solar Orbiter (MEB GSE, ADS GSE).GUEST is designed to be run in an instance of the ROC Ground Test SGSE (RGTS).GUEST is developed with and run under the POPPY framework.QuickstartInstallation with pipTo install the plugin using pip:pip install roc-guestInstallation from the repository (restricted access)First, retrieve theGUESTrepository from the ROC gitlab server:git clone https://gitlab.obspm.fr/ROC/Pipelines/Plugins/GUEST.gitThen, install the package (here using (poetry)[https://python-poetry.org/]):poetry install"NOTES:- It is also possible to clone the repository using SSH
- To install poetry: `pip install poetry`UsageThe roc-guest plugin is designed to be run in a POPPy-built pipeline.
Nevertheless, it is still possible to import some classes and methods in Python files.CONTACTroc dot support at sympa dot obspm dot frLicenseThis project is licensed under CeCILL-C.AcknowledgmentsSolar Orbiter / RPW Operation Centre (ROC) team
Package: rochdi
Rochdi's PIPHelper!The piphelper module helps you make your own pip package with just some functions!Functionsmake functionthe make function makes a template of a pip package.helper functionthe helper function gives you some info about what this doesbuild functionthe build function builds the projectupload functionthe upload function uploads your project.How to Use.Step 1. Installfirst you need to type on your cli app => "pip install rochdi"Step 2. Importthen on your directory, make a python file and put in => "import rochdi.pipmake"Step 3. Usagethe usage if you wanna make everything isn"t simple cause it xan get confused, for that you can use the time.sleep() function like below:Issuesthere may be some issues buy may come of you. like the twine failing (i have no clue of how i can solve this) like in this video:
Package: roche-datachapter-lib
Roche Data Chapeter LIBDescriptionIt contains the base structure that includes the configuration parameters of the different databases using environment variables on the server, a static data_transformer class to perform the data transformation and another static class to perform connection to Google services through the Google REST API.UsageIt is intended to be used as a requirement library at any Python ETL proyect.SupportIgnacio Castillo (ignacio.castillo@roche.com)Lucas Frías (lucas.frias@roche.com)Uciel Bustamante (uciel.bustamante@contractors.roche.com)Sara Fernandez (sara.fernandez.sf1@roche.com)Authors and acknowledgmentLucas Frías (lucas.frias@roche.com)
Package: rocher
RocherRocher is a Python package for the Monaco code editor. The Monaco Editor is the code editor that powers Visual Studio Code. It provides a prebuilt version of the editor as a Python package, allowing you to embed it into any Python application as a standard Python package.InstallationpipinstallrocherUsageSee thesamples/folder for more examples to use it with multiple frameworks.PathThe package provides only a function path():importrocherrocher.path()This is the path where the Monaco editor is installed. You can serve after this path with your favorite Python web framework as a static folder.Editor HTMLThe package provides a editor_html():importrocherrocher.editor_html("/static/vs","container","python","print('Hello World!')",)This function will return a HTML string that you can embed in your web page. The first parameter is the path where the Monaco editor is exposed. The second parameter is the id of the HTML element where the editor will be embedded. The third parameter is the language of the editor. The fourth parameter is the initial content of the editor.ColorizerThe package also a simple syntax highlighter:importrocherrocher.colorize_html("container")This function will return a HTML string that you can embed in your web page. The first parameter is the id of the HTML element where the content will be highlighted.FlaskThe package provide an helper for Flask + Jinja2:Firstyouneedtoregistertheeditor```pythonfromflaskimportFlaskimportrocher.flaskapp=Flask(__name__)rocher.editor_register(app)Then you can use the editor in your template:<div id="container" style="width:800px;height:600px;border:1px solid grey"></div>{{rocher_editor("container","python",source_code,readOnly=true,theme="vs-dark",lineHeight=20)}}All supported options are listed here:https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneEditorConstructionOptions.htmlOr the colorizer:{{rocher_colorize("code",initialize=False)}}<h2>Python</h2><pre id="code" data-lang="python" style="width: 500px">print("Hello World!")</pre>Why the name Rocher?Le Rocher is the hill where the Principality of Monaco is built.VersioningFollowing semantic versioning convention the major and version number of this package is the version of the Monaco Editor. The patch number is use to release a version of this package independent of the Monaco Editor version.Update the Monaco EditorEdit update_editor.sh and change the version number. Then run the script. It will download the new version of the Monaco editor and update the package.And run:hatchbuild-tsdistTo build the packaged version.I can't find the Monaco Editor source code in the repositoryThe Monaco Editor is not part of this repository. It is downloaded from the official repository during the build process. See the update_editor.sh script.LicenseLicensed under the MIT License, seeLICENSEfor more information.CreditsAll credit goes to the Monaco Editor team. This package is just a wrapper around their work.
Package: roc-idb
ROC IDBA plugin to manage different IDB source/version for RPW/Solar Orbiter.User guidePre-requisitesThe following software must be installed:Python 3.8pip toolpoetry (optional)git (optional)Install a stable release with pipTo install the roc-idb plugin with pip:pip install roc-idbNominal usageroc-idb is designed to be called from a pipeline running with the POPPy framework.The plugin can be used in Python programs using "import roc.idb".Developer guideInstall a local copy from source filesTo install a local copy of the roc-idb plugin:Retrieve a copy of the source files fromhttps://gitlab.obspm.fr/ROC/Pipelines/Plugins/IDB(restricted access)Usepip installorpoetry installcommand to install local instancePublish a new tag on GitlabUpdate the version usingpoetry version <bump_level>where <bump_level> can be patch, minor or majorUpdate the descriptor usingpoetry run python bump_descriptor.pyGenerate the new setup file usingpoetry run dephell deps convertApply code formatters usingpoetry run pre-commit run -aCommit and tagAuthorsXavier BONNINxavier.bonnin@obspm.fr(maintainer)Sonny LIONsonny.lion@obspm.fr(author)LicenseThis project is licensed under CeCILL-C.AcknowledgmentsSolar Orbiter / RPW Operation Centre (ROC) team
Package: rockalyzer
Rocket League Boxcars-Replay AnalyzerFeaturesReplay and analyze Rocket LeagueBoxcarsreplays (you can userrrocketorboxcars-pyto parse a.replay-file into a useable.json-file)Extractgeneralinfogame playlist (casual_duel,ranked_double, ...)date and timereplay-name and unique replay-idmap-nameExtract info aboutplayersname, scores, goals, saves, assists, shotsplatform (Steam,PlayStation,PsyNet, andXbox) and unique platform_idMMR, if available (usingBakkesMod)titleping (including min, max, and average)Extract info aboutgoalswhen, where, whoball speed (in km/h)Extract some debug stuff likecomplete history of player and ball positionscomplete history of some more abstract values (seestats['debug'])And more. Feel free to explore it!InstallationRun the following to install:pipinstallrockalyzerUsageMake sure you parsed the replay to a json file first using one of the tools mentioned above.fromrockalyzerimportReplayer# load replay as JSON file and set render modereplayer=Replayer('path/to/replay.json',render=True)# print header infosreplayer.print_header_info()# replay filestats=replayer.replay()Simple renderIf you setrender=Truewhen creating theReplayer-object, you get a simple (almost real-time) render of the game usingmatplotlibBuild and upload package to PyPipython./setupbdist_wheelsdistpython-mtwineuploaddist/*
Package: rockAtlas
rockAtlasA python package and command-line tools for A suite of tools to pull known solar-system small-body detections out of ATLAS data.Command-Line UsageDocumentationforrockAtlascanbefoundhere:http://rockAtlas.readthedocs.org/en/stableUsage:rockAtlasinitrockAtlasbookkeeping[-f][-s<pathToSettingsFile>]rockAtlasastorbrockAtlaspyephem[-o]Commands:bookkeepingupdateandcleandatabasetables,performessentialbookkeepingtasksastorbdownloadastorb.datorbitalelementsfileandupdatetheorbitalelementsdatabasetablepyephemgeneratethepyephempositionsoverlappingtheATLASexposuresinthemovingobjectsdatabaseOptions:initsetuptherockAtlassettingsfileforthefirsttime-h,--helpshowthishelpmessage-v,--versionshowversion-s,--settingsthesettingsfile-f,--fullafullupdate(notjustrecentlychangedexposuresandsources)-o,--oneonlygeneratepositionsforasinglepyephemsnapshot(few10sofexposures-usefulfortesting)DocumentationDocumentation for rockAtlas is hosted byRead the Docs(laststable versionandlatest version).InstallationThe easiest way to install rockAtlas is to usepip:pipinstallrockAtlasOr you can clone thegithub repoand install from a local version of the code:gitclonegit@github.com:thespacedoctor/rockAtlas.gitcdrockAtlaspythonsetup.pyinstallTo upgrade to the latest version of rockAtlas use the command:pipinstallrockAtlas--upgradeDevelopmentIf you want to tinker with the code, then install in development mode.
This means you can modify the code from your cloned repo:gitclonegit@github.com:thespacedoctor/rockAtlas.gitcdrockAtlaspythonsetup.pydevelopPull requestsare welcomed!Sublime SnippetsIf you useSublime Textas your code editor, and you’re planning to develop your own python code with rockAtlas, you might findmy Sublime Snippetsuseful.IssuesPlease report any issueshere.LicenseCopyright (c) 2016 David YoungPermission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
“Software”), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: rock-avatars
user-avatarsrock-avatars测试pytest --cov=rock_avatars/上传安装包python setup.py sdist buildtwine upload dist/*数据文件目录结构tree ./data
./data
├── background.png
├── cloth
│   └── cloth.png
├── eye
│   └── eyes.png
├── hair
│   ├── hair.png
│   └── hair2.png
├── horn
│   └── horn.png
└── mouth
    ├── mouth.png
    └── mouth2.png

5 directories, 8 files用法安装依赖pip install rock-avatarsimport rock_avatars as rf

avatar = rf.Avatar(
    "./data",
    "background.png",
    [
        "mouth",
        "horn",
        "hair",
        "eye",
        "cloth",
    ],
)
avatar.generate()DevelopmentActivate Virtual Environmentmake
source venv/bin/activateTo install all of the dependencies necessary for development, run:pip install -e '.[develop]'To run all of the tests, run:python setup.py test
Package: rockblock-tools
RockBLOCK Python ToolsA python library and command line application for interfacing with the RockBLOCK web services.Installpipinstallrockblock-toolsUsageSending a MessageSimple:rockblocksend[imei][user][pass]"Hello, World"rockblocksend[imei][user][pass]"Hello, World"--data-format=rawWith hexadecimal encoding:rockblocksend[imei][user][pass]48656c6c6f2c20576f726c6421--data-format=hexWith base64 encoding:rockblocksend[imei][user][pass]SGVsbG8sIFdvcmxkIQ==--data-format=base64Listening for MessagesTo listen to messages from the RockBLOCK web service, you need to make sure that your listener is visible from the public internet. If you are setting up the listener on a home network, this will likely requireport forwarding.In the command examples below, the listener is running on the normal HTTP port (80) and accepting external inbound connections (binding to0.0.0.0).To connect your listener, add the web address of your listener (e.g.http://your-ip-here/) to a delivery group on the RockBLOCK admin portal. You can use the "Test Delivery Groups" page to test your listener without using credits.Console OutputCommand:rockblocklistenconsole0.0.0.080Example Output:---------- MESSAGE ----------
Iridium Latitude  33.2938
Iridium Longitude 125.2902
Device Type       ROCKBLOCK
Transmit Time     2020-02-19 00:22:50
MOMSN             663
IMEI              300434063480220
Serial            16302
Data              Hello! This is a test message from RockBLOCK!
Iridium CEP       15.0
-----------------------------CSV OutputCommand:rockblocklistencsv0.0.0.080path/to/file.csvExample Output:Iridium Latitude,Iridium Longitude,Device Type,Transmit Time,MOMSN,IMEI,Serial,Data,Iridium CEP
75.5254,62.6541,ROCKBLOCK,2020-02-19 00:23:47,680,300434063480220,16302,There are 10 types of people who understand binary,9.0
46.4861,159.9892,ROCKBLOCK,2020-02-19 00:23:47,326,300434063480220,16302,Abcdefghijklmnopqrstuvwxyz1234567890,110.0MQTT OutputCommand (for an MQTT server running at localhost:1883):rockblocklistenmqtt0.0.0.080localhost1883my/mqtt/topic--mqtt-user=user--mqtt-pass=pass--mqtt-qos=0
Package: rockcaptcha
RockCaptcha package for PythonRockcaptcha.compackage for Python3Rockcaptcha solve recaptchaV2, recaptchaV3, funcaptcha, imageToText very fast and cheapInstallpipinstallrockcaptchaUsagecreate clientfromrockcaptchaimportRockCaptchaClientAPIKEY="<EXAMPLE API KEY>"client=RockCaptchaClient(apikey=APIKEY)Recaptcha v2:result=client.recaptcha_v2_task_proxy_less(site_url="SITE_URL",site_key="SITE_KEY",invisible=False)ifresult["code"]==0:# task success:print(result["token"])else:# errorprint(result["message"])Recaptcha v2 enterprise:result=client.recaptcha_v2_enterprise_task_proxy_less(site_url="SITE_URL",site_key="SITE_KEY")ifresult["code"]==0:# task success:print(result["token"])else:# errorprint(result["message"])Recaptcha v3:result=client.recaptcha_v3_task_proxy_less(site_url="SITE_URL",site_key="SITE_KEY",page_action="PAGE_ACTION")ifresult["code"]==0:# task success:print(result["token"])else:# errorprint(result["message"])Recaptcha v3 enterprise:result=client.recaptcha_v3_enterprise_task_proxy_less(site_key="SITE_KEY",site_url="SITE_URL",page_action="PAGE_ACTION")ifresult["code"]==0:# task success:print(result.get('token'))print(result.get('user_agent'))else:# errorprint(result["message"])Recaptcha recognitionurl_list=['']caption='cars'result=client.recaptcha_recognition(url_list=url_list,caption=caption)ifresult["code"]==0:# task success:print(result["token"])else:# errorprint(result["message"])Image2textresult=client.image_to_text(file="/path/to/example-file.jpg")ifresult["code"]==0:# task success:print(result["token"])else:# errorprint(result["message"])Funcaptchasite_key="2CB16598-CB82-4CF7-B332-5990DB66F3AB"site_url="https://twitter.com/"result=client.fun_captcha_task_proxy_less(site_url,site_key)ifresult["code"]==0:# task success:print(result["token"])else:# errorprint(result["message"])
Package: rocket
The Rocket web server is a server designed to handle the increased needs of modern web applications implemented in pure Python. It can serve WSGI applications and middleware currently with the ability to be extended to handle different types of networked request-response jobs. Rocket runs on cPython 2.5-3.x and Jython 2.5 (without the need to run through the 2to3 translation tool). Rocket is similar in purpose to Cherrypy’s Wsgiserver but with added flexibility and concurrency.Rocket Documentation is viewable athttp://packages.python.org/rocket.If you’re searching for the rocket GAE framework, emailmjpizz+rocket@gmail.com
Package: rocket3
Rocket3Rocket3 is the multi-threaded web server used by web2py stripped of all the Python2 logic and dependencies. It now only supports Python3 and can be used without web2py.Rocket was originally developed by Massimo Di Pierro, then rewritten much better by Timoty Ferrell, and then has minor refactorings made by Massimo and other web2py contributors.Examplefrom rocket3 import Rocket

def demo_app(environ, start_response):
    """simple exmaple WSGI app"""
    start_response("200 OK", [("Content-Type", "text/html")])
    data = "<html><body><h1>Hello from Rocket Web Server</h1></body></html>"
    return [data]


server = Rocket(('0.0.0.0', 8080), "wsgi", {"wsgi_app": demo_app})
server.start()LicenseBSDv3
Package: rocket-args
Make your arg parsing even more declarative!Source code:https://github.com/Xaaq/Rocket-argsDocumentation:https://xaaq.github.io/Rocket-argsOverviewSo you wanted a tool that handles parsing arguments? You've come to right place!Key features:fully declarative,less boilerplate code required,type hints,IDE auto-completion - no more strangeNamespaceobjects.InstallationYou will need Python 3.6+In order to install it:pip install rocket-argsExamplesSimple CLI argsCreatemain.pywith following content:fromrocket_argsimportRocketBaseclassMyArgs(RocketBase):my_int:intmy_float:floatmy_str:strargs=MyArgs.parse_args()print(args)Call it with arguments:$ python main.py --my-int 1234 --my-float 12.34 --my-string abcd
MyArgs(my_int=1234, my_float=12.34, my_str=abcd)Auto-generated help$ python main.py --help
usage: main.py [-h] [--my-int MY_INT] [--my-float MY_FLOAT] [--my-str MY_STR]

optional arguments:
  -h, --help           show this help message and exit
  --my-int MY_INT
  --my-float MY_FLOAT
  --my-str MY_STR