semvec/pypi-packages huggingface dataset:
herbie-google-pubsub-adapter 1.0b1
Herbie Adapter that publishes messages to Google Pubsub.
License: MIT
Requires Python: >=3.6

# Google Pubsub Adapter

This Adapter is based on Django and provides a way to publish messages to Google Pubsub.

It is meant to be used with [Herbie](https://github.com/herbie/herbie).

The package already provides a Django app that just needs to be registered in the main Django app using Herbie.

## Installation

1. Run the following

```
    pip install herbie-google-pubsub-adapter
```

or add it to your app `requirements.txt` and update them running:

```
    pip install -r requirements.txt
```

2. Add the adapter App to `Django Installed Apllications`:

```
    INSTALLED_APPS = [
        ...
        'google_pubsub_adapter.apps.HerbieGooglePubsubAdapterConfig',
        ...
    ]
```

3. Add your Google Cloud Pubsub Credentials to the `django settings` file:

```
GCLOUD_PUBSUB_PROJECT_ID='pubsub_project_id'
```

4. Create the Topics according to the Business Schemas

```
python manage.py init_pubsub
```

An example Django application using this adapter can be found at the [Herbie Sandbox](https://github.com/herbie/sandbox) repository.

## Developing/Testing

If you would like to further improve this package you'll need to install the dev/test requirmeents. 

To to this run in your `virtual environment`

```
    pip install -e .[tests]
```

This will install the needed packages (e.g: `pytest`) to run/test locally the package

### Black Formatter

This package uses [Black](https://github.com/psf/black) as a code formatter. You should run it before 
pushing the code as the CI pipeline checks against it.

```
    black --line-length 119 .
```
apa102 0.0.3
Python library for APA102 LEDs
License: MIT
Requires Python: >= 2.7
Keywords: Raspberry Pi

# APA102 Library

[![Build Status](https://travis-ci.com/pimoroni/apa102-python.svg?branch=master)](https://travis-ci.com/pimoroni/apa102-python)
[![Coverage Status](https://coveralls.io/repos/github/pimoroni/apa102-python/badge.svg?branch=master)](https://coveralls.io/github/pimoroni/apa102-python?branch=master)
[![PyPi Package](https://img.shields.io/pypi/v/apa102.svg)](https://pypi.python.org/pypi/apa102)
[![Python Versions](https://img.shields.io/pypi/pyversions/apa102.svg)](https://pypi.python.org/pypi/apa102)

A simple library to drive APA102 pixels from the Raspberry Pi, or similar SBCs.

Uses either spidev or RPi.GPIO depending on the pins specified.

# Pre-requisites

You must enable SPI:

* spi: `sudo raspi-config nonint do_spi 0`

You can optionally run `sudo raspi-config` or the graphical Raspberry Pi Configuration UI to enable interfaces.

# Installing

Stable library from PyPi:

* Just run `python3 -m pip install apa102`

Latest/development library from GitHub:

* `git clone https://github.com/pimoroni/apa102-python`
* `cd apa102-python`
* `sudo ./install.sh`

# Usage

The APA102 class will attempt to use spidev or RPi.GPIO depending on which pins you specify.

For example; three RGB LEDs connected to SPI pins 10 and 11 with chip-select 8 (CE0):

```python
from apa102 import APA102
lights = APA102(3, 10, 11, 8)
```

You can then set individual pixels with `set_pixel`:

```
lights.set_pixel(0, 255, 0, 0)  # Pixel 1 to Red
lights.set_pixel(1, 0, 255, 0)  # Pixel 2 to Green
lights.set_pixel(2, 0, 0, 255)  # Pixel 3 to Blue
```

Pixels are zero-indexed and accept Red, Green and Blue colour values from 0 to 255.

# Changelog

0.0.3
-----

* Support SPI with cs None and no_cs
* Add support for inverted output (GPIO ONLY)
* Fix colour order to BGR
* Fix SOF, EOF and data lengths
* Drop noisy debug print from SPI mode
* Fix set_brightness so it doesn't break pixel SOF
* Add spi_max_speed_hz parameter

0.0.2
-----

* Bugfixes and improvements

0.0.1
-----

* Initial Release
sirex 0.1.0
Simple Regex - A package to use regex commands on strings using simple function calls
License: MIT

# Sirex
SiRex - Simple Regex - A package to use regex commands on strings using simple function calls


## Usage

Sirex has many functions that help you do  regex function calls on strings  <br>
Please see the documentation for the different functions

Installation 
```
pip install sirex
```

Usage 
```
import sirex

sirex.count_numbers("Hell123ow 123")
```


Detailed Documentation

Detailed documentation can be found here : 
```
sirex.readthedocs.io
```
jiofi 0.1.3
A Command Line Interface to get stats about your Jiofi.
License: MIT
Requires Python: >=3.6.0

# Jiofi CLI

Jiofi-CLI is a Command Line Interface to check your Jiofi Network from your terminal than using the web interface. It only shows very specific details like battery details, data usage and devices connected.

## Tested on

- Jiofi4

> Open an Issue or PR to contribute to and the testing of other Models

## Using it

Install `jiofi` with `pip`. It works on Python version >=3.6.

```bash
pip install jiofi --user
```

Once you installed it, run it by typing `jiofi` in your terminal.

```
$ jiofi
```
You'll be welcomed by the help page of jiofi 😄

```text
NAME
    jiofi

SYNOPSIS
    jiofi COMMAND

COMMANDS
    COMMAND is one of the following:

     devices
       Prints a tabular view of all the connected devices in the network

     speed
       Prints the Current upload and download speed

     basic
       Get basic Details like Battery charge and state, no of connected devices and data used in <time>

     usage
       Get Data usage in Upload and Download data in <time>

     device
       Get Details of the device, Battery Charge, Battery State, Phone number or MSISDN
```

You can exit the help screen by pressing `q`(Vim Space)

## Contributing

This is under [MIT License](/LICENSE). All Pull Requests are welcome. If you find a bug feel free to open an [Issue](https://github.com/athul/jiofi-cli/issues)

### Made with

- Python
  - `requests` for HTTP requests
  - `fire` for CLI interface
  - `rich` for Tables and Colors