semvec/pypi-packages huggingface dataset:
lnprototest 0.0.7
Spec protocol tests for lightning network implementations
License: MIT
Requires Python: <4.0,>=3.9

<div align="center">
  <h1>lnprototest</h1>

  <p>
    <strong>a Testsuite for the Lightning Network Protocol</strong>
  </p>

  <h4>
    <a href="https://github.com/rustyrussell/lnprototest">Project Homepage</a>
  </h4>
 
  <a href="https://github.com/rustyrussell/lnprototest/actions">
    <img alt="GitHub Workflow Status (branch)" src="https://img.shields.io/github/workflow/status/rustyrussell/lnprototest/Integration%20testing/master?style=flat-square"/>
  </a>
  
  <a href="https://github.com/vincenzopalazzo/lnprototest/blob/vincenzopalazzo/styles/HACKING.md">
    <img src="https://img.shields.io/badge/doc-hacking-orange?style=flat-square" />
  </a>

</div>

lnprototest is a set of test helpers written in Python3, designed to
make it easy to write new tests when you propose changes to the
lightning network protocol, as well as test existing implementations.

## Install requirements

To install the necessary dependences

```bash
pip3 install poetry
poetry shell
poetry install
```

Well, now we can run the test

## Running test

The simplest way to run is with the "dummy" runner:

	make check

Here are some other useful pytest options:

1. `-n8` to run 8-way parallel.
2. `-x` to stop on the first failure.
3. `--pdb` to enter the debugger on first failure.
4. `--trace` to enter the debugger on every test.
5. `-k foo` to only run tests with 'foo' in their name.
6. `tests/test_bolt1-01-init.py` to only run tests in that file.
7. `tests/test_bolt1-01-init.py::test_init` to only run that test.
8. `--log-cli-level={LEVEL_NAME}` to enable the logging during the test execution.

### Running Against A Real Node.

The more useful way to run is to use an existing implementation. So
far, core-lightning is supported.  You will need:

1. `bitcoind` installed, and in your path.
2. [`lightningd`](https://github.com/ElementsProject/lightning/) compiled with
   `--enable-developer`. By default the source directory should be
   `../lightning` relative to this directory, otherwise use
   `export LIGHTNING_SRC=dirname`.
3. Install any python requirements by
   `pip3 install -r lnprototest/clightning/requirements.txt`.

Then you can run

	make check PYTEST_ARGS='--runner=lnprototest.clightning.Runner'

or directly:

    pytest --runner=lnprototest.clightning.Runner

# Further Work

If you want to write new tests or new backends, see [HACKING.md](HACKING.md).

Let's keep the sats flowing!

Rusty.
driverium 1.2.4
Python library that provides functionality for managing and downloading ChromeDriver
License: MIT
Keywords: python, selenium, webdriver, chromedriver

# Driverium

Driverium is a Python library that provides functionality for managing and downloading ChromeDriver for different Chrome versions.

## Installation

To install Driverium, simply use pip:

```shell
pip install driverium
```

## Usage

```python
from driverium import Driverium
from selenium import webdriver
# Create an instance of Driverium
driverium = Driverium()

# Get the path to the ChromeDriver
driver_path = driverium.get_driver()

# Use the ChromeDriver path in your Selenium code
driver = webdriver.Chrome(driver_path)
```
or you can use driverium like this:

```python
from driverium import Driverium
from selenium import webdriver

driver = webdriver.Chrome(Driverium().get_driver())
```

### Methods

#### `get_driver() -> str`

Retrieves the path to the ChromeDriver. If the driver is not found, it will download it first.

#### `get_driver_url() -> str`

Retrieves the URL of the ChromeDriver based on the specified Chrome version.

#### `get_new_driver() -> str`

Retrieves the path to the latest version of the ChromeDriver.

#### `get_old_driver() -> str`

Retrieves the path to an older version of the ChromeDriver.

#### `download_driver(url: str) -> str`

Downloads the ChromeDriver from the specified URL and returns the path to the downloaded driver.

#### `quiet_download(url: str) -> io.BytesIO`

Downloads the file from the specified URL without displaying progress.


## Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue on the [GitHub repository](https://github.com/d3kxrma/driverium).


## License

Driverium is licensed under the MIT License. See the [LICENSE](https://github.com/d3kxrma/driverium/blob/main/LICENSE) file for more information.
intellinet-pdu-ctrl 0.8.3
asyncio client library for intellinet pdus
License: MIT
Requires Python: <4.0,>=3.10

# intellinet-pdu-ctrl

[![PyPI version](https://badge.fury.io/py/intellinet-pdu-ctrl.svg)](https://badge.fury.io/py/intellinet-pdu-ctrl)

asyncio client library for intellinet pdus. forked/inspired from https://github.com/01programs/Intellinet_163682_IP_smart_PDU_API/