semvec/pypi-packages huggingface dataset:
router-status-hi2meuk 1.0.0
A utility to extract status information from domestic Broadband routers, such as WAN IP address, downstream rate, uptime, noise margin etc.
Requires Python: >=3.8

# Router Status

A utility to extract status information from domestic Broadband routers, such as WAN IP address, downstream rate, uptime, noise margin etc.

## Executing directly

The packaged can be called directly to print the router status in human readable form.

```bash
python3 -m router_status

MODEM-ROUTER SYSTEM
  Up-time:                      4d4h54m49s
  Bytes down/up:                27539064092 / 1289704767

WAN CONNECTION (LAYER 3)
  Up-time:                      2d17h56m21s
  IP Address:                   86.176.52.245/32
  Gateway:                      172.16.12.54
  DNS:                          81.139.57.100, 81.139.56.100

DSL (LAYER 2)
  Line Profile:                 VDSL2, Profile 17a
  Interleave mode:              fast
  Current bit rate down/up:     39225000 / 10693000
  Attainable bit rate down/up:  37365000 / 10660980
  SNR Margin (dB) down/up:           5.3 / 6.0
```

## Development for additional modem types

To support more router types, developers would need access to those routers, or alternatively owners could extract files and pass them on to developers. Files can be extracted using wget. Use browser developer mode (F12) to find out what URLs carry the low level status information.  Take multiple samples for each stage of connection (DSL down, DSL training, WAN aquiring IP address, WAN connected).

```bash
wget -O $(date +%s).xml http://192.168.2.254/nonAuth/wan_conn.xml
```
flasche 0.0.3
flasche extends flask by prometheus-flask-exporter and swagger
Requires Python: >=3.6, <4
Keywords: flask,web

# flasche

flasche extends flask by a prometheus exporter and a swaggerUI

## Install flasche

Install the latest version of flasche like this:

```bash
pip install flasche
```

## Build a flasche project

Create a project folder with a basic setup like this:

```bash
flasche build <project>
```

## Running the app

Running the app in a development server is done by:

```bash
flasche run <project>
```
pluspy 0.0.3
For all your adding needs, up to numbers of 250.
Requires Python: >=3.6

# plus
For all your adding needs, up to numbers of about 250 because otherwise the maximum recursion depth is exceeded.

## Installing

The package can be installed using `pip install pluspy`.

## Example

To get the sum of two **positive integers** `a` and `b`, you would use `plus(a, b)`:

```
>>> from plus import plus

>>> plus(2, 5)
7
```

Keep in mind the module is called `plus`, _not_ `pluspy`.

## FAQ

### What is plus?
Plus was made to redefine the '+'operator in a recursive way, without using the '+'-operator itself.

### Why?
This library was inspired by the enormous amount of `isEven` and `isOdd`-type memes, including one where '+' was defined by hardcoding every possible combination of the first 100-or-so numbers.

It was not made with the intention of being used (obv.), but rather to see how ridiculous I could make this.

The last 5 lines (`while`-loop & `bitshift`) by themselves are actually enough to add two numbers together (and it doesn't exceed the maximum recursion depth instantly), which was also done for this very reason. That part being in there adds to the overall idea.

### Why is there a cache?
Well you see, when using numbers above 10 it started to get a bit slow. Calculating `plus(50, 20)` had been running for half an hour, and wasn't showing any signs of stopping any time soon.

This meant I had to introduce `dynamic programming` to speed it up a bit, and store results of calculations that had been made before.