semvec/pypi-packages huggingface dataset:
polybar-onlinestatus 0.2a2.dev9
Polybar module to check if you are online
Requires Python: >=3.6.*

# polybar-onlinestatus
polybar module that checks if you are online

To install use `pip install polybar-onlinestatus`

And use module below:

```
[module/onlinestatus]
type = custom/script
exec = polybar-onlinestatus
tail = true
label = %{T4} %output% %{T-}
format-underline = #07BDEE
```

```font-3 = Hack Nerd Font:style=Bold:size=12```

You can use any font you want, but make sure icon is big enough. I recommend Nerd Hack but it's up to you.

For more options use ```polybar-onlinestatus --help``` in your terminal and assign options in ```exec = polybar-onlinestatus``` line.

Icon used by default is ``, if you are unable to see it - install nerd font from nerdfonts.com, replace it with your own or use --boolean-mode.
brokermint 0.0.4
Python interface to Brokermint's API
Keywords: real estate, api, api-wrapper, python, brokermint

<p align="center">
    <a href="#"><img src="docs/docs/img/brokermint.png"></a>
</p>
<p align="center">
    <em>Python interface to the Brokermint API</em>
</p>
<p align="center">
    <a href="https://codecov.io/gh/dpguthrie/brokermint" target="_blank">
        <img src="https://img.shields.io/codecov/c/github/dpguthrie/brokermint" alt="Coverage">
    </a>
    <a href="https://pypi.org/project/brokermint" target="_blank">
        <img src="https://badge.fury.io/py/brokermint.svg" alt="Package version">
    </a>
</p>

---

**Documentation**: <a target="_blank" href="https://brokermint.dpguthrie.com">https://brokermint.dpguthrie.com</a>

**Source Code**: <a target="_blank" href="https://github.com/dpguthrie/brokermint">https://github.com/dpguthrie/brokermint</a>

**Brokermint API Documentation**: <a target="_blank" href="https://brokermint.com/api/">https://brokermint.com/api/</a>

---

## Overview

**brokermint** is a python interface to data stored in Brokermint.

The interface allows access to data on Brokermint through the `Client` class:

However, the user **must** supply an `api_key` to access or manipulate any data.  The user can supply the `api_key` when instantiating the `Client` class:

```python
import brokermint as bm

bmc = bm.Client("my_fake_api_key")
```

Or, you can set the environment variable `BM_API_KEY` and call the `Client` class with no arguments:  `bm.Client()`

### Linux / MacOS

```bash
export BM_API_KEY=my_fake_api_key
```

### Windows

```bash
set BM_API_KEY=my_fake_api_key
```

_Note: This environment variable is only available in the current process._

See this link for adding an environment variable that exists outside of this process: https://docs.oracle.com/en/database/oracle/r-enterprise/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html*


## Requirements

Python 3.6+

- [Requests](https://requests.readthedocs.io/en/master/) - The elegant and simple HTTP library for Python, built for human beings.

## Installation

```
pip install brokermint
```

## Example

```python
import brokermint as bm

bmc = bm.Client(api_key="my_fake_api_key")

# Get Transactions - defaults to 1,000
data = bmc.list_transactions()

# Get Transactions, limit to 5
data = bmc.list_transactions(count=5)
```

## License

This project is licensed under the terms of the MIT license.
apa102-spi 1.0
Python library for controlling APA102 LEDs through SPI
Requires Python: >=3.6

# APA102_SPI
Library for controlling APA102 LEDs through any SPI bus.

This library was created because any other library I found couldn't use any SPI bus other than spi0. As the APA102 LEDs don't have a Chip Select, they have to be on a seperate bus without any other devices attached.  
On a Raspberry Pi 4, there are additional SPI busses that can be enabled by appending to `/boot/config.txt`. For example, to enable SPI5:
```
enable_uart=0
dtoverlay=spi5-1cs
```
Here, UART0 has to be disabled, as it shares pins with SPI5.
quasar-firewall 1.0.4
An Artificial Intelligent firewall that detects malicious HTTP requests
Requires Python: >=3.6

# Quasar Firewall
An AI powered firewall designed to detect mallicious HTTP requests and decide weather to process them or not.

```
pip install quasar-firewall
```

# Usage
## As Flask Middleware
*Note: Model must be trained before starting proxy server*
```python
from detector_flask import DetectorMiddleware
...
app.wsgi_app = DetectorMiddleware(app.wsgi_app)
...
```
## Starting Proxy From Command Line
*Note: Must have python installed on local machine and added to PATH*<br>
*Note: Model must be trained before starting proxy server*

### **With Bash**
Call `proxy.sh` with paramaters `target` and  `port`
- `target` is the proxy destination
  - defaults to `http://localhost:8080`
- `port` is the local port to run the server on
  - defaults to 5000

Example:
```bash
proxy.sh [target] [port]
```

### **As Python Module**
- `options`
  - `-s` or `--serve` to start the proxy server
  - `-t` or `--train` to train the model
    - Default
Example:
```bash
python -m quasar_firewall [options] [target] [port]
```

Redirect requests from original server to proxy server


## Training the Model
*Note: Must have python installed on local machine and added to PATH*

### **With Bash**
Call `train.sh`

Example:
```bash
train.sh
```

### **As Python Module**
Example:
```bash
python -m quasar_firewall -t
```