semvec/pypi-packages huggingface dataset:
minio-driver 0.1.6
Minio Storage Driver for Masonite
License: MIT
Keywords: masonite,storage,minio,masonite-storage-driver

#### Project description

**What is Minio-Driver?**

It's an extra storage driver support for Minio in masonite 4.

**Setup**

Install package using pip:

```shell
pip install minio-driver
```

Add provider inside config/providers.py.

```python
from minio_driver.MinioProvider import MinioProvider

PROVIDERS = [
    ...,
    # Application Providers
    MinioProvider,
]
```

**Storage Config**

Add following configuration inside config/filesystem.py after `"s3": {...},`

```python
"minio": {
    "driver": "minio",
    "client": env("MINIO_CLIENT"),
    "secret": env("MINIO_SECRET"),
    "bucket": env("MINIO_BUCKET"),
    "path": env("MINIO_ENDPOINT"),
},
```

Add following keys in `.env`.

```shell
MINIO_CLIENT=
MINIO_SECRET=
MINIO_BUCKET=
MINIO_ENDPOINT=
```

Update the storage driver value to `minio` in `.env`

```shell
STORAGE_DRIVER=minio
```

**Example**

```python
from masonite.controllers import Controller
from masonite.filesystem import Storage
from masonite.request import Request

class YourController(Controller):

    def your_function(self, request: Request, storage: Storage):
        file = request.input('file')

        # storing file
        path = storage.disk("minio").put_file('your_file_directory', file)

        # getting file_url from storage
        file_url = storage.disk("minio").get_secure_url(path)
        return file_url
```

Enjoy ;)
PyPeripheral 0.1.2
A RGB Controlling Library for Python
License: MIT

# PyPeripheral  
### A Python Library for Controlling RGB Devices  
### Motivation & Goal  
I got multiple RGB peripheral devices from multiple brands: Razer, Corsair, MSI. So, whenever I try to use a simple `rainbow` effect for each devices, they do not sync. So the main motivation and goal of this project is to **"Provide a Python library for controlling every RGB devices all together"**   
## Installing this Project  
Installing this library for your personal project would be a piece of cake. There will be multiple ways of installing this project, however the easiest way would be using `pip`. 
  
  ### Installation by PIP
  1. `pip install PyPeripheral`
  2. That's it!
  
## Example Codes
> Please note that current version of PyPeripheral supports two SDKs.
> - Corsair
> - Razer

### Setting Corsair Keyboard's Color All Red

```
from PyPeripheral import Corsair
c = Corsair.SDK()
c.connect()
c.set_rgb({"Keyboard": (255, 0, 0)})
```

### Setting Razer Mouse Color All Blue
```
from PyPeripheral import Razer
r = Razer.SDK()
r.connect()
r.set_rgb({"Mouse": (0, 0, 255)})
```

### Setting Every Device All Green
```
from PyPeripheral import All
a = All.SDK()
a.connect()
a.set_rgb({"All": (0, 255, 0)})
```
### Getting All Razer Devices
```
>>> r.get_all_device_information()
{'Mouse': [('DeathAdderElite', 0), ('DeathAdderEssential', 1)]}
>>> r.get_device_information(1)
('Mouse', 'DeathAdderEssential')
```

## Demos
For demonstration videos and gifs, please check [here](https://github.com/gooday2die/PyPeripheral/tree/OOP_Version/Demos) for more information! The demo contains most loved **Screen Reactive Lightning** feature as well!
ix that bug yourself, please do a PR. Any Issues or PR are always welcomed!

## Supported SDKs
- Corsair ICUE SDK (thanks to [cue-sdk](https://github.com/CorsairOfficial/cue-sdk))
- Razer Chroma SDK (thanks to [requests](https://github.com/psf/requests))
splatpy2 0.1.0a0
A lightweight Python SDK for the Splatoon2 Web API.
License: MIT

# Splatpy2

A lightweight Python SDK for the Splatoon2 Web API

## Description
Splatpy2 is a lightweight Python SDK for the Splatoon2 Web API.
<!-- With Splatpy2 you get full access to all of the data provided by Splatoon2 Web API. -->

## Installation
```bash
git clone https://github.com/sp-yduck/splatpy2.git
cd splatpy2
pip install -r requirements.txt
```
now you can use this package.

<!-- ## How to use -->

## Contribution
If you have any questions about this SDK, feel free to open the issue.
If there are any improvements to this repository, I would appreciate it if you could open a pull request.

## Refereces
* Documentation of the REST APIs used for the Nintendo Switch app, and embedded Splatoon 2 web app.
(https://github.com/ZekeSnider/NintendoSwitchRESTAPI)

* s2s API and flapg API which are used in this package.
(https://github.com/frozenpandaman/splatnet2statink)

* Documentation of errors or formats in the Nintendo Switch Online API
(https://github.com/tkgstrator/Salmonia3/wiki/Nintendo-Switch-Online-API) 


## Author
Teppei Sudo (https://github.com/sp-yduck)

## LICENSE
MIT License