semvec/pypi-packages huggingface dataset:
githubapps.py 1.1.0
This is a wrapper for the Github Apps API.
License: MIT

# githubapps.py
[![GitHub license](https://img.shields.io/github/license/RTa-technology/githubapps.py)](https://github.com/RTa-technology/githubapps.py/blob/main/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/RTa-technology/githubapps.py)](https://github.com/RTa-technology/githubapps.py/issues)
[![GitHub forks](https://img.shields.io/github/forks/RTa-technology/githubapps.py)](https://github.com/RTa-technology/githubapps.py/network)
[![GitHub stars](https://img.shields.io/github/stars/RTa-technology/githubapps.py)](https://github.com/RTa-technology/githubapps.py/stargazers)
[![PyPI version](https://badge.fury.io/py/githubapps.py.svg)](https://badge.fury.io/py/githubapps.py)
[![Python Versions](https://img.shields.io/pypi/pyversions/githubapps.py.svg)](https://pypi.org/project/githubapps.py/)
[![Downloads](https://pepy.tech/badge/githubapps-py?period=total&units=international_system&left_color=grey&right_color=orange&left_text=Downloads)](https://pepy.tech/project/githubapps-py)

A Python wrapper for the Github Apps API
  
# installing  
Install and update using pip:

`pip install githubapps.py`  

# examples
A simple example.  

## Sync
```python
import githubapps
def main():
    with open('env/private.key', 'rb') as f_private:
        private_key = f_private.read()
    with open('env/app_id.key', 'r') as f_app_id:
        app_id = f_app_id.read()
    with open('env/installation_id.key', 'r') as f_installation_id:
        installation_id = f_installation_id.read()
    client_secret = private_key
    auth = githubapps.RequestsAuth(app_id, installation_id, client_secret)
    access_token = auth.get_access_token()
    print(access_token)

if __name__ == "__main__":
    main()
```
## Async
```python
import githubapps
import asyncio

async def main():
    with open('env/private.key', 'rb') as f_private:
        private_key = f_private.read()
    with open('env/app_id.key', 'r') as f_app_id:
        app_id = f_app_id.read()
    with open('env/installation_id.key', 'r') as f_installation_id:
        installation_id = f_installation_id.read()
    client_secret = private_key
    auth = githubapps.AiohttpAuth(app_id, installation_id, client_secret)
    access_token = await auth.get_access_token()
    print(access_token)

if __name__ == "__main__":
    asyncio.run(main())
```
cspb-cli 1.0.2
CSPB Command Line User Interface package
License: MIT
Requires Python: >=3.7
Keywords: cluster system power cspb raspberry pi cli

# cspb-cli

The Cluster System Power Board (cspb) Command Line Interface (cli) package contains a basic command line interface for use with the cluster system power board hardware.

## Introduction

The cspb-cli package contains python code examples that make use of the cspb driver package to provide communications to the cluster system power board hardware via an i2c serial bus. The software was developed with a focus on the Raspberry Pi single board computer.

This package contains the following programs:

- run_cspb_cli:

     A basic command line user interface for communicating with and programming 
the cspb hardware.

## Dependencies

This package depends on the following packages:
 
[cspb](https://pypi.org/project/cspb/),
[cmd2](https://pypi.org/project/cmd2/),
[smbus](https://pypi.org/project/smbus/)

## Code Examples

Running the GUI application:

```
run_cspb_cli
```

## Installation Instructions

The cspb-cli package is pure Python and requires no compilation. Install as follows:

```
pip install cspb-cli
```