Saravanan666/pypi-org huggingface dataset:
Package: renamebyreplace
UsageHere you have a console video example:![English howto](https://raw.githubusercontent.com/Turulomio/renamebyreplace/master/doc/ttyrec/renamebyreplace_howto_en.gif)Once installed, in Linux you can see man documentation withman renamebyreplaceLinksDoxygen documentation:http://turulomio.users.sourceforge.net/doxygen/renamebyreplace/Main developer web page:https://github.com/turulomioPypi web page:https://pypi.org/project/renamebyreplace/Installation in LinuxIf you use Gentoo, you can find a ebuild inhttps://github.com/turulomio/myportage/tree/master/app-admin/renamebyreplaceWith other distributions you can:pip install renamebyreplaceInstallation in WindowsInstall python fromhttps://www.python.org/Enter in a Windows shell and type:pip install renamebyreplaceDependencieshttps://www.python.org/, as the main programming language.Changelog0.2.0Added –undo argument0.1.0Creating infrastructure
Package: rename-dirs
Rename DirsA python script to rename multiple directories in a uniform format.Why?I like to keep my PC's folder structure neat and uniform but, during intense hackathons, i mess up my project's folder name format. And so, automating the renaming process made my life a little easier.Format OptionsExample File.txtExample-File.txtExample-file.txtExample_File.txtexample file.txtexample-file.txtexample_file.txtInstallationpipinstallrename-dirsExampleAfter installing, runrename-dirsEnter directory path:Choose file name format:Enter Y/n for each file/folder:Initial folder structure:Final folder structure:
Package: renamed-opencv-python-inference-engine
READMEThis is a pre-builtOpenCVwithInference Enginemodule package for Python3.
You need that module if you want to run models fromIntel's model zoo.It built withffmpegandv4lbut without GTK/QT (use matplotlib for plotting your results).Contrib modules and haarcascades are not included.For additional info visit theproject homepage
Package: rename-github-default-branch
The default git/GitHub branch nameis oppressive terminology(more info).
It is easy to change the branch namefor a single repositoryorfor new repositories.
This script makes it easy to rename your default branch on GitHub repositories in bulk.UsageInstallationTo install, runpython-mpipinstallrename-github-default-branchThen, create aGitHub.com personal access tokenwith therepopermission scope and set the environment variable:exportRENAME_GITHUB_TOKEN=YOUR_PERSONAL_ACCESS_TOKENRenaming branches on GitHubThen to rename the default branch tomainfor a specific repository (you must have write access):rename-github-default-branch-rdfm/rename-github-default-branch-tmainOr for all the repos that you own (excluding forks):rename-github-default-branch-tmainYou can also provide regular expressions to match against the repository name. For example:rename-github-default-branch-tmain-p"dfm/*"-p"exoplanet-dev/*"Updating local branchesTo update your local repository, you can run the following:gitfetchoriginmain
gitcheckout-bmainorigin/main
gitbranch-Dmasterwheremainis the name of the new default branch andoriginis the name of the git remote.
Package: rename-guru
rename-guruTool for duplicating code while substituting specified string inside the folder, respecting camelCase, UPPER_CASE etc.Known issuesDo not run the script with same source and target directory, this will result in unexpected behaviour.Installpip install rename-guruUsagepython3 -m rename_guru source_dir target_dit rename_from rename_toParameterspython3 -m rename_guru --help
Package: renameit
renameitPure python CLI tool for renaming files and folders locally or on the cloud.DescriptionReshape your data lakes by transforming files and folders structure with a single command and without the complications of writing manual scripts.
Data engineers and data analysts constantly have to worry about keeping the structure of their data organized in order to efficiently read
and access them. This tool allows them to change the file or folder structure of their data lakes on a cloud storage system or even on local storage
(e.g. locally mounted cloud storage).DocumentaionFull documentation availablehere.LicenseDistributed under the MIT License. SeeLICENSEfor more information.ChangelogAll notable changes to this project will be documented in this file.The format is based onKeep a Changelog,
and this project adheres toSemantic Versioning.[Unreleased][0.1.0-alpha.0] - 2022-07-26Initial releaseContributingIf you already have VS Code and Docker installed, you can click theRemote - Containersbadge located at teh top of the README file
orhereto get started. Clicking these links will cause VS Code to automatically install the Remote - Containers extension if needed,
clone the source code into a container volume, and spin up a dev container for use.Spin up a dev containerCreate your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: rename-kicad-project
rename-kicad-projectrename-kicad-projectis a nifty tool for renaming or cloning your KiCad (v4, v5) project.NOTE: From KiCad v6, renaming/cloning has been officially supported. TryFile -> Save As....Installpython3-mpipinstall--userrename-kicad-projectOr withpipx,pipxinstallrename-kicad-projectUsage# Show helpsrename-kicad-project--help# Show helps of `rename` sub-command (see below)rename-kicad-projectrename--helpOr you can invoke this tool bypython3-mrename_kicad_project--helprenameIn the following example,../foo/old_project_name{.pro, .sch, ...}will be renamed as../foo/new_project_name.pro, ..., respectively.rename-kicad-projectrename../foonew_project_name# ls ../foo# new_project_name.pro new_project_name.sch, ...You may want to run the command above with--dry-run(-n) beforehand;rename-kicad-project-nrename../foonew_project_name# Renaming: /path/to/old_project_name.kicad_pcb as new_project_name.kicad_pcb# ...cloneIn the following example,./foo/old_project_name{.pro, .sch, ...}will be cloned into/tmp/bar/new_project_name.pro, ..., respectively.rename-kicad-projectclone./foo/tmp/bar-pnew_project_name# ls /tmp/bar# new_project_name.pro new_project_name.sch, ...You can omit-pto let the tool infer the new project name like/tmp/bar/bar.pro.rename-kicad-projectclone./foo/tmp/bar# ls /tmp/bar# bar.pro bar.sch, ...Note that/tmp/barwill be automatically created if it doesn't exist.And as you expected,--dry-runalso works withclone.How it worksFor the folks who wouldn't want to rely on someone's script, here is a basic explanation of how this tool works;In the given source directory, glob*.profiles and based on the first found one, determine the current project name. (${PROJECT_NAME}.pro)Determine target files with globbing${PROJECT_NAME}.*and including some special files likefp-lib-table.Rename the target files in place (rename) or copy the files into the specified destination (clone). That' it!LicenseMITAlternativeshttps://github.com/bobc/KiRenameAs of 2021-12, it only runs on Python 2.
Package: rename-lock
rename_lock下の方に日本語の説明がありますOverviewEasy file exclusive locking tool based on file rename.UsageWhile you are in "WITH" area, the file is locked and cannot be edited by any other process.While locked, the file will be renamed to "original_name_random_string.locked"The name can be obtained with rlock.filenameimportrename_lockwithrename_lock("./demo_file.txt")asrlock:# operation on locked filetemp_filename=rlock.filename# temporary file namewithopen(temp_filename,"w")asf:f.write("something")About UnlockingThe lock is automatically unlocked when exiting "WITH" area.Also, when using "WITH", it will automatically unlock when stopped due to an error or when stopped by ctrl+C.However, there may be cases where the file is not unlocked, such as when the entire window is erased.The following is how to write when not using "WITH".rlock=rename_lock("./demo_file.txt")print(rlock.filename)rlock.unlock()概要手軽なファイルの排他ロックツールファイルの名称変更を動作原理とする使用例下記のように、with内にいる間ファイルの編集がロックされますロック中はファイルは「元の名前_ランダム文字列.locked」という名前に変更されますその名前はrlock.filenameで取得できますimportrename_lockwithrename_lock("./demo_file.txt")asrlock:# lockしたファイルに対する操作を書くtemp_filename=rlock.filename# temporary file namewithopen(temp_filename,"w")asf:f.write("something")ロック解除についてwithを抜けると自動的にロック解除されますまた、エラーによる停止やctrl+Cによる停止時にも、withを使っている場合は自動的にロック解除されますただし、ウィンドウごと消した場合など、ロック解除されない場合もあります下記はwithを使わない場合の書き方ですrlock=rename_lock("./demo_file.txt")print(rlock.filename)rlock.unlock()
Package: rename_musicfiles
Aboutrename_musicfilesis a very (!) simple script to rename musicfiles
by a hardcoded pattern from that file's Meta tags.This pattern is<artist>/(-<year>-) albumname/<zero-padded track-nr> - <artist> - <track-name>.<file-extension>.This is how I need it for my personal preferences for years and it
is most certainly not applicable for anybody else.Do not install or use unless you share the same weird definition
of tidiness as I do.
Package: renamer-kt
RenamerCLI tool written in Python 3 used to systemically rename files in a directory while adhering to a variety of criteria.This program attempts to emulate the simplicity of theCLI program FFmpegbut for renaming files. Basic operations are straight-forward, while complex operations only invovle adding more flags and parameters to your operation. A directory with files that contain some numerical pattern are all that's required to get started. The application is well-paired for other software that require strict naming schemes, such as Plex, Kodi, or image managers.InstallationInstallrenamer-ktusingpip:bashpipinstallrenamer-ktMake sure you have Python andpipinstalled.UsageOperationFlagFlag(Formal)Parameter(s)ExampleDescriptionShift-s--shiftNumber Shift (int)--shift -1Shifts all numerical values by the specified offsetZeroes-z--zeroesLeading Zeroes [int]-z 3Prepends numerical values with the specified or inferred number of leading zeroesFormat-f--fmtOutput Format (str)-f "Episode $d"Customizes filename output (see wikifor usage)Extension-e--extFile Extension (str)--ext pngChanges the extension of all files to the specified extensionRandom-n--randomRandom Seed [int]-n 839693Shuffles numerical values using the specified seed, or randomlyConsecutive-c--consecutiveFlattens numerical values such that they are all consecutiveMute-m--muteSquelches the console output of filenames and their renamed filenameConfirm-y--yesConfirms the operation and makes changes to your file system according to the parametersUsage ExamplesThe following usage snippets use this directory as a template:mydir/
  2021vacation0001.jpeg
  2021vacation0003.jpeg
  2021vacation0004.jpeg
  2021vacation0010.jpegClean-upe.g. 1.jpeg, 3.jpeg, 4.jpeg, 10.jpegrenamermydirFormalize & Fix Ordering01.jpeg, 02.jpeg, 03.jpeg, 04.jpegrenamermydir-z1-cFormat & Modify Extension2021 Vacation - 1.png, 2021 Vacation - 3.png, 2021 Vacation - 4.png, 2021 Vacation - 10.pngrenamermydir-epng-f"2021 Vacation -$d"Shift & Flatten4.jpeg, 5.jpeg, 6.jpeg, 7.jpegrenamermydir-s3-cMetaKevin Tyrrell –KevinTearUl@gmail.comDistributed under the GPL3 license. SeeLICENSEfor more information.https://github.com/KevinTyrrellContributingFork it (https://github.com/KevinTyrrell/Renamer)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: renard
The Renard series are a system of preferred numbers used in
engineering applications which specify a geometric sequence
of numbers over the range one to ten. The numbers
are selected to be convenient to use and to minimise the
maximum relative error when an arbitrary number is replaced
by the nearest Renard number. The series were proposed by the
French army engineer Colonel Charles Renard and subsequently
standardised in ISO 3-1973.For example, the R5 series contains six values
(1.0, 1.6, 2.5, 4.0, 6.3) which cover a single order-of-magnitude
range of values (one decade) from one to ten.
These base values repeat again to cover the next decade from 10
to 100, as 10, 16, 25, 40, and 63.Thisrenardlibrary is useful for selecting values from the
least rounded R5, R10, R20, R40 and R80 decades, the medium
rounded RR10, RR20 and RR40 decades, and the most rounded RRR5,
RRR10 and RRR20 decades.StatusInstallationTherenardpackage is available on the Python Package Index (PyPI):The package supports Python 3 only. To install:$ pip install renardPython InterfaceFor full help:>>> import renard
>>> help(renard)In the meantime, here are some highlights.To find the nearest R20 value to 319 use:>>> from renard import find_nearest, R20
>>> find_nearest(R20, 319)
315.0To find the next value greater-than or equal-to 182 in the R80 series
use:>>> from renard import find_greater_than_or_equal, R80
>>> find_greater_than_or_equal(R80, 182)
185.0To find a few values around the specified value, use:>>> from renard import find_nearest_few, R20
>>> find_nearest_few(R20, 5000)
(4500.0, 5000.0, 5600.0)Command-Line InterfaceThere’s also a handy command-line interface. Runrenard--helpto see a list of commands:$ renard --help
renard

Usage: renard [options] <command> [<args> ...]

Options:
  -h --help     Show this screen.
  -v --verbose  Use verbose logging

Available commands:
  ge
  gt
  help
  le
  lt
  nearby
  nearest
  range
  series
  precision


See 'renard help <command>' for help on specific commands.To find a nearby value, use:$ renard nearest R20 37726
35.5e3If you prefer an SI exponent symbol, supply--symbolor-s:$ renard nearest R20 37726 -s
35.5 kTo show values around the given value, use thenearbycommand:$ renard nearby R40 52e6 -s
50 M
53 M
56 MTo show the smallest value greater than or equal to the given value, use thegecommand:$ renard ge R40 52e3 -s
53 kTo show all values in an inclusive range, use therangecommand:$ renard range R5 74e-9 34e-6 -s
100 n
160 n
250 n
400 n
630 n
1 µ
1.6 µ
2.5 µ
4 µ
6.3 µ
10 µ
16 µ
25 µTo use the most-rounded Renard R”20 series (for syntactic reasons, R’20 is called
RR20 and R” is called RRR20 on the command line):$ renard range RRR20 10000 20000
10e3
11e3
12e3
14e3
16e3
18e3
20e3To determine the multiple to which the base values of a series have
been rounded, use theprecisioncommand:$ renard precision R5
0.01
Package: renard-pipeline
RenardRelationships Extraction from NARrative DocumentsInstallationYou can install the latest version using pip:pip install renard-pipelineDocumentationDocumentation, including installation instructions, can be found athttps://compnet.github.io/Renard/If you need local documentation, it can be generated usingSphinx. From thedocsdirectory,make htmlshould create documentation underdocs/_build/html.Tutorialrenard_tutorial.pyis a tutorial in thejupytextformat. You can open it as a notebook in Jupyter Notebook (or export it as a notebook withjupytext --to ipynb renard-tutorial.py).Running testsRenardusespytestfor testing. To launch tests, use the following command :poetry run python -m pytest testsExpensive tests are disabled by default. These can be run by setting the environment variableRENARD_TEST_ALLto1.
Package: renats
ReNATSElegant, modern and asynchronous NATS Client API library written in pure Pythonimportasynciofromrenats.clientimportNATSClient,Messageservers=(("127.0.0.1",4222),)client=awaitNATSClient().connect(servers)# Publish message to subject 'my.subject' with payload 'My payload =)'awaitclient.publish("my.subject",b"My payload =)")# Publish message to subject 'my.subject' with payload 'My payload =)',# reply subject 'my.reply.subject' and header 'MyHeader' with value 'MyValue'awaitclient.publish(subject="my.subject",payload=b"My payload =)",reply_subject="my.reply.subject",headers={"MyHeader":"MyValue"})# Callbacks can be sync or async (def or async def)defcallback(message:Message):print(f"Received message in sync callback from{message.subject}:{message.payload}")asyncdefasync_callback(message:Message):awaitasyncio.sleep(3)print(f"Received message in async callback from{message.subject}:{message.payload}")subscription=awaitclient.subscribe("foo.bar",callback)another_subscription=awaitclient.subscribe("foo.baz",async_callback)awaitclient.publish("foo.bar",b"Hello world! (to subscription with sync callback)")awaitclient.publish("foo.baz",b"Hello world! (to subscription with async callback)")awaitsubscription.unsubscribe()awaitanother_subscription.unsubscribe()# Closing clientawaitclient.close()InstallationpipinstallrenatsTODORequest-ReplyJetStreamObjectStorageRequest-Reply API Framework for microservicesAnd more, maybe...
Package: renault-api
FeaturesThis Python package manages the communication with the private Renault API used by the official MyRenault application.The client is able to read various vehicle attributes, such as:mileageGPS locationfuel autonomy (for fuel vehicles)battery autonomy (for electric vehicles)contracts associated to the vehicle (warranty and connected services)For some vehicles, it is also possible to manage:hvac/pre-conditionning of the vehiclecharge scheduleThis package has been developed to be used with Home-Assistant, but it can be used in other contextsRequirementsPython (>= 3.8)API UsageYou can installRenault APIviapipfromPyPI:$pipinstallrenault-apiimportaiohttpimportasynciofromrenault_api.renault_clientimportRenaultClientasyncdefmain():asyncwithaiohttp.ClientSession()aswebsession:client=RenaultClient(websession=websession,locale="fr_FR")awaitclient.session.login('email','password')print(f"Accounts:{awaitclient.get_person()}")# List available accounts, make a note of kamereon account idaccount_id="Your Kamereon account id"account=awaitclient.get_api_account(account_id)print(f"Vehicles:{awaitaccount.get_vehicles()}")# List available vehicles, make a note of vehicle VINvin="Your vehicle VIN"vehicle=awaitaccount.get_api_vehicle(vin)print(f"Cockpit information:{awaitvehicle.get_cockpit()}")print(f"Battery status information:{awaitvehicle.get_battery_status()}")loop=asyncio.get_event_loop()loop.run_until_complete(main())CLI UsageThe renault-api is also available through a CLI, which requires additional dependencies.
For the added dependencies, you can installRenault APIviapipfromPyPI:$pipinstallrenault-api[cli]Once installed, the following command prompts for credentials and settings, displays basic vehicle status information, and generates traces:$renault-api--logstatusCredentials will automatically be stored in the user home directory (~/.credentials/renault-api.json)Logs will automatically be generated inlogssubfolderPlease see theCommand-line Referencefor full details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMITlicense,Renault APIis free and open source software.DisclaimerThis project is not affiliated with, endorsed by, or connected to Renault. I accept no responsibility for any consequences, intended or accidental, as a as a result of interacting with Renault’s API using this project.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz’sHypermodern Python Cookiecuttertemplate.
This project was heavily based on@jamesremuscat’sPyZEpython client for the Renault ZE API.
Package: renault-api-lite
renault API (lite)Lightweight Python API for querying status info for a variety of Renault vehicle modelsFeaturesConveniently read status info for Renault vehicles (e.g. EVs), including:battery status (level, autonomy, plug status, temperature, ...)charging configuration / charge schedulefuel autonomy (for combustion vehicles)HVAC / pre-conditioning statusGPS locationInstallationpip install renault-api-liteUsage ExamplesQuery battery statusfromrenaultimportRenaultVehicleClientcar=RenaultVehicleClient(login_id="Your E-Mail",password="Your password",# --> change to your credentialsaccount_locale="de_DE"# --> optional)# get battery statusstatus=car.get_status(car.STATUS_BATTERY_ONLY)Hint: Pretty Print Statusimportjsonprint(json.dumps(status,indent=4)){
    "battery_status_data": {
        "timestamp": "2022-08-145T07:24:12Z",
        "battery_level": 90,
        "battery_temperature": 25,
        "battery_autonomy": 207,
        "battery_capacity": 0,
        "battery_available_energy": 20,
        "plug_status": 0,
        "charging_status": -1.1,
        "charging_remaining_rime": 10,
        "charging_instantaneous_power": 0.0
    }
}Query custom data selection (battery and cockpit data)# get battery status, cockpit datastatus=car.get_status((car.StatusType.BATTERY,car.StatusType.COCKPIT,))Hint: Pretty Print Statusimportjsonprint(json.dumps(status,indent=4)){
    "battery_status_data": {
        "timestamp": "2022-08-145T07:24:12Z",
        "battery_level": 90,
        "battery_temperature": 25,
        "battery_autonomy": 207,
        "battery_capacity": 0,
        "battery_available_energy": 20,
        "plug_status": 0,
        "charging_status": -1.1,
        "charging_remaining_rime": 10,
        "charging_instantaneous_power": 0.0
    },
    "cockpit_data": {
        "fuel_autonomy": null,
        "fuel_quantity": null,
        "total_mileage": 1234.22
    }
}DisclaimerThis project is not affiliated with, endorsed by, or connected to Renault. I accept no responsibility for any consequences, intended or accidental, as a result of interacting with Renault's API using this project.CreditsThis project is based onhacf-fr's renault-apifor PythonLinksrenault-api-lite GitHub repositoryrenault-api-lite on PyPihacf-fr's renault-api
Package: rend
A collection of tools to render text files into data structures.AboutRend is the renderer collection used bypopandpopderived projects.
It allows for text files of multiple types to be read and rendered into
consistent data structures. These files also get the benefit of having
access to specific components of the hub.rend source coderend documentationWhat is POP?This project is built withpop, a Python-based
implementation ofPlugin Oriented Programming (POP). POP seeks to bring
together concepts and wisdom from the history of computing in new ways to solve
modern computing problems.For more information:Intro to Plugin Oriented Programming (POP)pop-awesomepop-createUsageView therend documentationfor more information.AcknowledgementsImg Shieldsfor making repository badges easy.
Package: rendascii
RendASCIIRendASCII is a real-time, z-buffering based 3D rendering engine written from scratch in and for Python 3. Unlike traditional real-time rendering engines, RendASCII renders frames as printable strings using ASCII characters for pixels. RendASCII is open source under the MIT license.Project HomepageProject DocumentationPlease direct questions togarrett@fairburn.dev.FeaturesNo external dependencies; uses just the Python standard library.Multiprocess based rendering.Optional Cython based accelerator extension modules.Load and render 3D models from Wavefront object and material files (*.obj and *.mtl, respectively).Load and render 2D sprites from ASCII based Portable PixMap files (*.ppm).Render the same or different scene(s) using multiple virtual cameras.ASCII overlays for displaying fixed graphics and/or information.Map sprite and material colors to ASCII characters using JSON colormaps.Transform models, sprites, and virtual cameras using arbitrary homogeneous transformation matrices.Utility for easily constructing complex transformation matrices with scaling, translations, and rotations.Utility for managing frame-rate and calculating delta time.InstallationUsing Pip# pip3 install rendascii- download and install pure Python distribution.# pip3 install --no-binary rendascii rendascii- download source distribution, build accelerator extension modules, and install resulting binary distribution.Manual$ git clone https://github.com/Foxbud/rendascii.git- clone repository source.$ cd rendascii- change working directory to cloned source.# python3 -m setup install- build accelerator extension modules and install resulting binary distribution.# PURE_PY_DIST=true python3 -m setup install- build and install pure Python distribution.