Saravanan666/pypi-org huggingface dataset:
Package: renutil
renUtilA toolkit for managing Ren'Py instances via the command line.renUtil can install, update, launch and remove instances of Ren'Py. The instances are completely independent from each other. It automatically sets up and configures RAPT so new instances are instantly ready to deploy to many different platforms. Best of all, renUtil automatically configures Ren'Py in such a way that you can run it headless, making it well suited for build servers and continuous integration pipelines.InstallationrenUtil can be installed via pip:$pipinstallrenutilPlease note that renUtil requires Python 3 and will not provide backwards compatibility for Python 2 for the foreseeable future.UsageUsage:renutil[OPTIONS]COMMAND[ARGS]...Commandscanbeabbreviatedbytheshortestuniquestring.Forexample:clean->cla->launchli->list

Options:-d,--debug/-nd,--no-debugPrintdebuginformationoronlyregularoutput--helpShowthismessageandexit.

Commands:cleanupCleantemporaryfilesofthespecifiedRen'Py version.install    Install the specified version of Ren'Py(includingRAPT).launchLaunchthespecifiedversionofRen'Py.list       List all available versions of Ren'Py.uninstallUninstallthespecifiedRen'Pyversion.DisclaimerrenUtil is a hobby project and not in any way affiliated with Ren'Py. This means that there is no way I can guarantee that it will work at all, or continue to work once it does. Commands are mostly relayed to the Ren'Py CLI, so any issues with distribution building or startup are likely the fault of Ren'Py and not mine. renUtil is not likely to break on subsequent updates of Ren'Py, but it is not guaranteed that any available version will work correctly. Use this at your own discretion.
Package: renxianqi
A small tool to check the any absentee.By comparing the left text panel with right text panel and it sort out the missing part.人贤齐(renxianqi aka qingdian)，一个小工具用来查询出席活动的人数是否到齐了。通过比对左边跟右边的内容，计算出左边还有哪些人员没有出席/出现在右边面板。Package hosted on [pypi] and powered by [pypi-seed]Installation / 安装pip install renxianqi国内指定镜像安装：pip install renxianqi -i https://pypi.tuna.tsinghua.edu.cn/simple或者下载清点（qingdian）：pip install qingdianpip install qingdian -i https://pypi.tuna.tsinghua.edu.cn/simpleMore Info人贤齐/万能清点工具，适用于一下场景：清单类内容比较课时出勤点名活动出席情况核对等等场景Authorlevin
Package: reolink-aio
Reolink NVR/cameras API packageThereolink_aioPython package allows you to integrate yourReolinkdevices (NVR/cameras) in your application.DescriptionThis is a package implementing Reolink IP NVR and camera API. Also it’s providing a way to subscribe to Reolink ONVIF SWN events, so that real-time events can be received on a webhook.Show your appreciationIf you appreciate the reolink integration and want to support its development, please considersponseringthe upstream library or purchase Reolink products throughthis affiliate link.PrerequisitesPython 3.9Installationpip3 install reolink-aioor manually:git clone https://github.com/StarkillerOG/reolink_aio
cd reolink_aio/
pip3 install .Usagefrom reolink_aio.api import Host
import asyncio

# Create a host-object (representing either a camera, or NVR with several channels)
host = Host('192.168.1.10', 80, 'user', 'mypassword')

# Obtain/cache NVR or camera settings and capabilities, like model name, ports, HDD size, etc:
await host.get_host_data()

# Get the subscribtion port and host-device name:
subscribtion_port =  host.onvif_port
name = host.nvr_name

# Obtain/cache states of features:
await host.get_states()

# Print some state value on the channel with index 0:
print(host.ir_enabled(0))

# Enable the infrared lights on the channel with index 1:
await host.set_ir_lights(1, True)

# Enable the spotlight on the channel with index 1:
await host.set_spotlight(1, True)

# Enable the siren on the channel with index 0:
await host.set_siren(0, True)

# Now subscribe to events, suppose our webhook url is http://192.168.1.11/webhook123
await host.subscribe('http://192.168.1.11/webhook123')

# After some minutes check the renew timer (keep the eventing alive):
if (host.renewTimer <= 100):
    await host.renew()

# Logout and disconnect
await host.disconnect()ExampleThis is an example of the usage of the API. In this case we want to retrive and print the Mac Address of the NVR.from reolink_aio.api import Host
import asyncio

async def print_mac_address():
    # initialize the host
    host = Host('192.168.1.109','admin', 'admin1234', port=80)
    # connect and obtain/cache device settings and capabilities
    await host.get_host_data()
    # check if it is a camera or an NVR
    print("It is an NVR: %s, number of channels: %s", host.is_nvr, host.num_channels)
    # print mac address
    print(host.mac_address)
    # close the device connection
    await host.logout()

if __name__ == "__main__":
    asyncio.run(print_mac_address())AcknowledgmentThis library is based on the work of:fwestenberg:https://github.com/fwestenberg/reolink_devAuthor@starkillerOG:https://github.com/starkillerOGContributors@xannor:https://github.com/xannor@mnpg:https://github.com/mnpg
Package: reolinkapi
Reolink Python Api ClientA Reolink Camera client written in Python. This repository's purpose(with Reolink's full support)is to deliver a complete API for the Reolink Cameras,
although they have a basic API document - it does not satisfy the need for extensive camera communication.Check out our documentation for more information on how to use the software athttps://reolink.oleaintueri.comOther Supported Languages:Go:reolinkapigoJoin us on Discordhttps://discord.gg/8z3fdAmZJPSponsorshipOleaintueriis sponsoring the development and maintenance of these projects within their organisation.Get startedImplement a "Camera" object by passing it an IP address, Username and Password. By instantiating the object, it will try retrieve a login token from the Reolink Camera. This token is necessary to interact with the Camera using other commands.See theexamplesdirectory.Using the library as a Python ModuleInstall the package via PyPipip install reolinkapiInstall from GitHubpip install git+https://github.com/ReolinkCameraAPI/reolinkapipy.gitIf you want to include the video streaming functionality you need to include the streaming "extra" dependenciespip install 'reolinkapi[streaming]'ContributorsStyling and StandardsThis project intends to stick withPEP8How can I become a contributor?Step 1Get the Restful API calls by looking through the HTTP Requests made in the camera's web UI. I use Google Chrome developer mode (ctr + shift + i) -> Network.Step 2Fork the repositorypip install -r requirements.txtMake your changesStep 3Make a pull request.API Requests Implementation Plan:Stream:Blocking RTSP streamNon-Blocking RTSP streamGET:LoginLogoutDisplay -> OSDRecording -> Encode (Clear and Fluent Stream)Recording -> Advance (Scheduling)Network -> GeneralNetwork -> AdvancedNetwork -> DDNSNetwork -> NTPNetwork -> E-mailNetwork -> FTPNetwork -> PushNetwork -> WIFIAlarm -> MotionSystem -> GeneralSystem -> DSTSystem -> InformationSystem -> MaintenanceSystem -> PerformanceSystem -> RebootUser -> Online UserUser -> Add UserUser -> Manage UserDevice -> HDD/SD CardZoomFocusImage (Brightness, Contrast, Saturation, Hue, Sharp, Mirror, Rotate)Advanced Image (Anti-flicker, Exposure, White Balance, DayNight, Backlight, LED light, 3D-NR)Image Data -> "Snap" Frame from Video StreamSET:Display -> OSDRecording -> Encode (Clear and Fluent Stream)Recording -> Advance (Scheduling)Network -> GeneralNetwork -> AdvancedNetwork -> DDNSNetwork -> NTPNetwork -> E-mailNetwork -> FTPNetwork -> PushNetwork -> WIFIAlarm -> MotionSystem -> GeneralSystem -> DSTSystem -> RebootUser -> Online UserUser -> Add UserUser -> Manage UserDevice -> HDD/SD Card (Format)PTZZoomFocusImage (Brightness, Contrast, Saturation, Hue, Sharp, Mirror, Rotate)Advanced Image (Anti-flicker, Exposure, White Balance, DayNight, Backlight, LED light, 3D-NR)Supported CamerasAny Reolink camera that has a web UI should work. The other's requiring special Reolink clients
do not work and is not supported here.RLC-411WSRLC-423RLC-420-5MPRLC-410-5MPRLC-520C1-ProD400
Package: reolink-api
ReolinkCameraAPIJoin us on Discordhttps://discord.gg/8z3fdAmZJPPurposeThis repository's purpose is to deliver a complete API for the Reolink Camera's, ( TESTED on RLC-411WS )But Reolink gives an API in their documentationNot really. They only deliver a really basic API to retrieve Image data and Video data.How?You can get the Restful API calls by looking through the HTTP Requests made the camera web console. I use Google Chrome developer mode (ctr + shift + i) -> Network.Get startedImplement a "Camera" object by passing it an IP address, Username and Password. By instantiating the object, it will try retrieve a login token from the Reolink Camera. This token is necessary to interact with the Camera using other commands.Using the library as a Python ModuleInstall the package via Pippip install reolink-api==0.0.1Styling and StandardsThis project intends to stick withPEP8API Requests Implementation Plan:GET:LoginLogoutDisplay -> OSDRecording -> Encode (Clear and Fluent Stream)Recording -> Advance (Scheduling)Network -> GeneralNetwork -> AdvancedNetwork -> DDNSNetwork -> NTPNetwork -> E-mailNetwork -> FTPNetwork -> PushNetwork -> WIFIAlarm -> MotionSystem -> GeneralSystem -> DSTSystem -> InformationSystem -> MaintenanceSystem -> PerformanceSystem -> RebootUser -> Online UserUser -> Add UserUser -> Manage UserDevice -> HDD/SD CardZoomFocusImage (Brightness, Contrast, Saturation, Hue, Sharp, Mirror, Rotate)Advanced Image (Anti-flicker, Exposure, White Balance, DayNight, Backlight, LED light, 3D-NR)Image Data -> "Snap" Frame from Video StreamSET:Display -> OSDRecording -> Encode (Clear and Fluent Stream)Recording -> Advance (Scheduling)Network -> GeneralNetwork -> AdvancedNetwork -> DDNSNetwork -> NTPNetwork -> E-mailNetwork -> FTPNetwork -> PushNetwork -> WIFIAlarm -> MotionSystem -> GeneralSystem -> DSTSystem -> RebootUser -> Online UserUser -> Add UserUser -> Manage UserDevice -> HDD/SD Card (Format)PTZZoomFocusImage (Brightness, Contrast, Saturation, Hue, Sharp, Mirror, Rotate)Advanced Image (Anti-flicker, Exposure, White Balance, DayNight, Backlight, LED light, 3D-NR)
Package: reolink-ip
Reolink IP NVR/cameras API packageThereolink_ipPython package allows you to integrate yourReolinkdevices (NVR/cameras) in your application.DescriptionThis is a package implementing Reolink IP NVR and camera API. Also it’s providing a way to subscribe to Reolink ONVIF SWN events, so that real-time events can be received on a webhook.PrerequisitesPython 3.9Installationpip3 install reolink-ipor manually:git clone https://github.com/JimStar/reolink_ip
cd reolink_ip/
pip3 install .Usage# Create a host-object (representing either a camera, or NVR with several channels)
host = api.Host('192.168.1.10', 80, 'user', 'mypassword')

# Obtain/cache NVR or camera settings and capabilities, like model name, ports, HDD size, etc:
await host.get_host_data()

# Get the subscribtion port and host-device name:
subscribtion_port =  host.onvif_port
name = host.nvr_name

# Obtain/cache states of features:
await host.get_states()

# Print some state value on the channel with index 0:
print(host.ir_enabled(0))

# Enable the infrared lights on the channel with index 1:
await host.set_ir_lights(1, True)

# Enable the spotlight on the channel with index 1:
await host.set_spotlight(1, True)

# Enable the siren on the channel with index 0:
await host.set_siren(0, True)

# Now subscribe to events, suppose our webhook url is http://192.168.1.11/webhook123
await host.subscribe('http://192.168.1.11/webhook123')

# After some minutes check the renew timer (keep the eventing alive):
if (host.renewTimer <= 100):
    await host.renew()

# Logout and disconnect
await host.disconnect()ExampleThis is an example of the usage of the API. In this case we want to retrive and print the Mac Address of the NVR.from reolink_ip.api import Host
import asyncio

async def print_mac_address():
    # initialize the host
    host = Host('192.168.1.109', 80, 'admin', 'admin1234')
    # connect and obtain/cache device settings and capabilities
    await host.get_host_data()
    # check if it is a camera or an NVR
    print("It is an NVR: %s, number of channels: %s", host.is_nvr, host.num_channels)
    # print mac address
    print(host.mac_address)
    # close the device connection
    await host.logout()

if __name__ == "__main__":
    asyncio.run(print_mac_address())
Package: reopenwebnet
# ReOpenWebNetReOpenWebNet is a client library for communicating with an OpenWebNet gateway.OpenWebNet is a communication protocol developed by Bticino, to enable communication between devices of its home automation product suite ‘MyHome’.  For more information about OpenWebNet, seehttps://www.myopen-legrandgroup.com/developers/This project started as a fork fromhttps://github.com/pippocla/openwebnet## FeaturesAsynchronous components for interacting with the gateway.The author’s OpenWebNet gateway doesn’t respond well to sending commandsLow level components:CommandClient: establishes command sessions and lets you send commands and read the gateway’s responses.  The CommandClient does simple rate limiting because the OpenWebNet gateway seems to misbehave if you send too many commands in a short time.EventClient: establishes event sessions.Both components automatically reconnect in case of connection loss.Higher level components:ClientFactory: reads configuration from file and can create CommandClient and EventClient instancesGatewayProxy: Creates a CommandClient and an EventClient and keeps state in sync.## ExamplesSee examples/ for examples on the various components## TestingTo run the test suite:python setup.py test## Releasinggit tag x.y.z
python setup.py build
twine upload dist/reopenwebnet-x.y.z-py2.py3-none-any.whl
Package: reoptimization-algorithms
Package implementing some well known Reoptimization algorithmsPerterson Graph(Made usingGeoGebra)Table of contentsIntroductionSetupRequirementsInstallationDocumentationImplementationAlgorithmsContributionIntroductionCurrently, considerable efforts must be put to find optimal solution for NP-Hard problems.
Reoptimisation deals with, If given an optimal solution to a problem instance IO,
can we find a good approximated solution to instance IN, where INis IOwith some ‘local’ modifications?
The goal in this repository is to expose some well known reoptimization algorithms.SetupRequirements(Recommended) Python versions: >=3.6, <=3.8InstallationOption 1To Install the stable latest package from pypi hostpip installreoptimization-algorithmsOption 2To install directly from this repository execute the following in repository root directorypython setup.py installDocumentationToy exampleimportreoptimization_algorithmsasraold_graph=(ra.UndirectedGraph().add_vertex("4").add_edge("4","5").add_edge("40","50").add_vertex("6").add_edge("4","8").add_vertex("99").delete_vertex("6"))attached_graph=ra.UndirectedGraph().add_edge("90","95")attach_edges=[ra.Edge("4","90")]old_solution={"8"}solution=ra.UnweightedPVCP.reoptimize_ptas(old_graph,attached_graph,attach_edges,old_solution,k=3)print(solution)# {"4"}For detailed documentation and usage referhereImplementationImplementation basically consists ofHaving a graph data structure utilityImplementing the graph algorithmsAlgorithmsAlgorithms implementedPTAS for Reoptimization of unweighted k-path vertex cover under constant size graph insertionContributionWant to add or improvise the repository? Check out theContributingdocumentation :)
Package: reoptimize
Python tool to optimize reaction conditions for restriction enzyme
digests of DNAThis tools lets you search for a suitable buffer for a simultaneous
digest of DNA using an arbitrary number of enzymes. It calculates the
amount of enzymes needed (in units) and takes into account the duration
of the restriction digest (based on the NEB data on enzyme survival and
time saver qualification). It’s a very crude first attempt, but it’s
going to improve slowly according to how much time we have. Planned are
also GUI interfaces for Linux, macOS and Windows.Inputs needed:Enzyme name(s)How many cuts does the target DNA have for each selected enzyme?
(optional, default 1)How long is the target DNA (in base pairs)? (optional, default 5000)How long are you going to incubate the reaction (in hours)?
(optional, default 1 hour)How much DNA do you want to cut (in µg)? (optional, default 1 µg)Output:Possible buffers in the order of suitability (or the result
“simultaneous digest not recommended”)Amount of each enzyme needed for all possible buffersRequirements:biopythonSince even the latest Biopython distribution doesn’t contain all enzymes
sold by NEB, you need to manually update the Restriction_Dictionary.py
manually with the file Restriction_Dictionary.py by copying it into the
Bio/Restriction folder of the folder, where your python3 stores the
python packages. On Ubuntu 16.04, this would be
/usr/lib/python3/dist-packages/Bio/Restriction.Files:reoptimize.pyThe script that does the calculations. Usage examples:This is a double digest with AflIII and HindIII, where the target DNA
has two AflIII sites and one HindIII site:reoptimize -e ‘AflIII 2’ ‘HindIII 1’This gives all necessary parameters via the command line:reoptimize -e ‘EcoRI 2’ ‘HindIII 3’ -l 3000 -t 4 -m 2-l (length of target dna, in base pairs) -t (incubation time, in hours)
-m (amount of DNA, in µg)make_sqlite_database.pyThis script fetches all the data for NEB
enzymes from the NEB web pages and assembles the database that is needed
for the script to run. Running it results in the database file
“REsqlite3.db”assay_DNAs.fastaThis files contains the full DNA sequences of all
assay DNAs used by NEB. We include it here to avoid querying the
“Frequency of restriction sites” table (which is anyway incomplete).
Package: repachain
MinChain - minimal blockchainFor experimenting and future projects.RequirementsPython 3.6+[optional]scryptfor scrypt based hashingInstall$ pip install --user repachainor (using latest available code)$ pip install --user git+https://github.com/dyuri/repachainor$ git clone https://github.com/dyuri/repachain
$ pip install --user repachainUsage>>> from repachain import RepaChain
>>> rc = RepaChain('abc', 'sha256')
>>> rc.add_block('whatever')
>>> rc.verify()
>>> rc.to_json_file('whatever.json.gz')
>>> rc[1].hash = 'wrong hash'
>>> rc.verify()
repachain.InvalidBlockException: Wrong hash at block 1
>>> rc2 = RepaChain.from_json_file('whatever.json.gz')
>>> rc2.verify()
>>> rc2[1].data
'whatever'TestingYou needpyenvfor running the testsuite for both python 3.6 and 3.7.$ pip install --user tox tox-pyenv pytest pytest-cov
$ toxTODOproper documentation
Package: repacolors
repacolorsSmall library for color conversion, manipulation, etc.Install$pipinstallrepacolorsTo get the colors fromXrdb, install it with thexextrasextras:$pipinstallrepacolors[xextras]repacolorcommand$repacolor--help
Usage:repacolor[OPTIONS]COMMAND[ARGS]...

Options:--helpShowthismessageandexit.

Commands:adjust-contrastAdjustthecolorstomatchrequiredcontrastratio.colorwheelDisplaycolorwheeldefinedby`name`orcreatedbythe...displayDisplayinformationabouttheprovidedcolors.paletteGetcolorsofgivenpalettepickPickcolorsfromyourdesktop.scaleDisplaycolorscaledefinedbythecolorsprovided.displayDisplay color information in the terminal.$repacolordisplayred

+--------+red-#ff0000|BIG|rgb(255,0,0)|RED|hsl(0,100%,50%)|SQUARE|lab(53.24%80.0967.2)+--------+

$repacolordisplay"#ffaad5""rgb(128, 12, 46, .8)"...(displaysbothcolors)$echo"#ffffff"|repacolordisplay
...(displays`white`)pickExecutes color picker and displays the picked color.$repacolorpickThe integrated color picker works underX11/linuxif installed withxextras. If you want to use an external color picker, set theCOLORPICKERenvironment variable:$exportCOLORPICKER=xcolor
$repacolorpickpaletteDisplay the colors of the palette. If no palette name provided, it shows the palettes available.$repacolorpalette
Listofavailablepalettenames:
ryb,rybw3,orrd,pubu,...

$repacolorpaletteviridis#440154#482777...scaleDisplay a color scale defined by the input colors.$repacolorscaleredwhite[colorsfromredtowhite]$repacolorpaletteviridis|repacolorscale[colorscaledefinedby`viridis`colors]colorwheelDisplay a color wheel.Pre defined color wheels:ryb- The RYB color wheelrgborhsl- The RGB color wheellaborlch- CIELAB color wheelIf no color wheel name provided, it will create one from the colors provided onstdin.$repacolorcolorwheelrgb[RGBcolorwheel]$repacolorscaleredwhiteblackred|repacolorcolorwheel[red-white-blackcolorwheel]adjust-contrastAdjust the colors to match required contrast ratio.If only one color is provided, chooses black or white based on the colors luminance.If two colors are provided, tries to lighten/darken them to fulfill the contrast requirement. Starts to adjust the first color, then if it's not enough continues with the other.Default contrast is 4.5 (WCAG AA).More info on MDN.$repacoloradjust-contrastred--format=lhex#ff0000#000000  # chooses black for red$repacoloradjust-contrast"#555""#5e8d87"--format=lhex#1d1d1d  # #555 adjusted to be darker#5e8d87$repacoloradjust-contrast"#5e8d87""#555"--format=lhex#b6cfcc  # #5e8d87 lightened#555555$repacoloradjust-contrast"#5e8d87""#555"-v
Colorsadjusted.(2.0007=>4.5224)#5e8d87   =>   #b6cfcc#555555   =>   #555555
Package: repairwheel
repairwheelOverviewrepairwheelcombines the "repair" steps fromauditwheel,delocate,
anddelvewheelinto a single tool, enabling cross-platform wheel repair.It includes pure-python replacements for external tools likepatchelf,otool,install_name_tool, andcodesign, so no non-python dependencies are required.What's it do?When invoked,repairwheelfirst looks at the platform tag on the input wheel.Based on the tag,repairwheelselects a repair step fromauditwheel,delocate, ordelvewheel(or nothing, if it's a pure-Python wheel)Finally,repairwheelrewrites the result in a canonical form ensuring that:File timestamps are set to a constant value;Files in the archive are ordered lexicographically; andFiles inRECORDare ordered lexicographicallyThe final resultshouldbe bitwise-identitcal regardless of the system used to perform the repair.Usageusage: repairwheel [-h] -o OUTPUT_DIR [-l LIB_DIR] wheel

positional arguments:
  wheel

options:
  -h, --help            show this help message and exit
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
  -l LIB_DIR, --lib-dir LIB_DIRExample$repairwheel\tests/testwheel/cp36-abi3-macosx_10_11_arm64/testwheel-0.0.1-cp36-abi3-macosx_10_11_arm64.whl\-ltests/testwheel/cp36-abi3-macosx_10_11_arm64/lib\-o/tmp/wheelout

$repairwheel\tests/testwheel/cp36-abi3-linux_x86_64/testwheel-0.0.1-cp36-abi3-linux_x86_64.whl\-ltests/testwheel/cp36-abi3-linux_x86_64/lib\-o/tmp/wheelout

$ls/tmp/wheelout
testwheel-0.0.1-cp36-abi3-macosx_10_11_arm64.whl
testwheel-0.0.1-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Package: repane
RepaneRepane is part of the Rayse library for hp-FEA.InstallationUse the package managerpipto install Repane:pipinstallrepaneLicenseRepane is licensed underGNU LGPLv3.This software relies on thePyO3library undertheApache-2.0license for ffi and ontherayoncrate under theMITandApache-2.0licenses for parallelism.
Package: repaneii
RepaneIIRepaneII is part of the Rayse library for hp-FEA.InstallationUse the package managerpipto install RepaneII:pipinstallrepaneiiLicenseRepaneII is licensed underGNU LGPLv3.This software relies on thePyO3library undertheApache-2.0license for ffi and ontherayoncrate under theMITandApache-2.0licenses for parallelism.