semvec/pypi-packages huggingface dataset:
contrail 1.0.2
Public cloud market price tracker for Amazon EC2 and Azure

# Contrail

[![PyPI version](https://badge.fury.io/py/contrail.svg)](https://badge.fury.io/py/contrail)

### Public Cloud Market Price Tracker

### UC Davis ECS 193, 2019
Contrail is a public cloud market price tracker that allows you to easily access and compare the prices and
characteristics of VMs over various locations, cloud providers, and times.

## Quick Start
### Virtual Environment
Create virtual environment:
```
virtualenv -p python3 venv
OR
python3 -m virtualenv venv
```

Start virtual environment:
```
source venv/bin/activate
```

You should see `(venv)` show up in command prompt.

Install requirements our project uses:
```
pip install -r requirements.txt
```

To exit virtual environment:
```
deactivate
```


### Configure
By default, the site will read data from the official Contrail database. To collect your own data, see [Collecting 
your own data](#collecting-your-own-data) below.

### Start Django
Make sure you are in the main Contrail folder and the virtual environment is activated.

Collect static files:
```
python contrail.py frontend collectstatic
```

Start the Django server:
```
python contrail.py frontend runserver
```

Open [127.0.0.1:8000](http://127.0.0.1:8000) in a browser.


## API
`/api/getinstances/`\
Given attributes, return instances that match and their prices\
request:
```
{
    'operating_system': "Linux",
    'aws': "True",
    'gcp': "True",
    'azure': "False",
    'region': None,
    'vcpus': None,
    'memory': 8,
}
```
response:
```
{
    "instance_type": "c4"
    "operating_system": "Linux",
    "provider": "AWS",
    "region": "US East",
    "vcpus": 8,
    "memory": 8,
    "reserved", "spot",
    "price_type": "on_demand",
    "price": 0.233,
    "price_unit": "per hour"
}
```


## Collecting your own data
Contrail is split into a few distinct components:
- Crawler: Collects and stores raw offer data from various cloud providers.
- Loader: Parses raw offer data and stores it in a Clickhouse data warehouse.
- API/Frontend: Communicates with the data warehouse and displays data nicely.

The Quick Start above only sets up the API/Frontend component. By default, it points to our own data source. You will
have to set up your own backend (crawler and loader) to collect your own data.

Read more about setting up the first two components here:
[Crawler](/crawler/README.md),
[Loader](/contrail/loader/README.md).
avell-unofficial-control-center 1.0.1
A Project to provide a driver and interface to control keyboard rgb led of ITE 8291 like Avell laptops

#  avell-unofficial-control-center

[![Gitter](https://badges.gitter.im/Unofficial-CC/Lobby.svg)](https://gitter.im/Unofficial-CC/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

This is a driver to control RGB keyboard in Linux Systems based on Avell Control Center.

This project is in an early stage, the aim is to bring a driver to integrated embedded controller for RGB LED lighting control **ITE Device(8291)** which is used in some custom laptops around the world including avell.

#### working: ####

 - change color of mechanical rgb-keyboard
 - adjust brightness
 - disable RGB leds
 - set predefined styles


#### to-do ####
 - implement a GUI interface in Pyqt/Pyside2
 - save/load profiles
 - set custom color in specific key
 - monitor, cpu/gpu load


### Installation

Install via pip using sudo or with root user: 

```bash 

sudo pip install avell-unofficial-control-center

```

### A short video showing project Usage

[![Usage](https://i3.ytimg.com/vi/13zXcJfthw8/hqdefault.jpg)](https://youtu.be/13zXcJfthw8)

### Usage

All commands need `root` permissions (you may use sudo).<br>
Colors available are: `red`, `green`, `blue`, `teal`, `pink`, `yellow`, `orange` and `white`.<br>
Brightness options are: `1`,`2`,`3` and `4`.<br>

To set `green` color in all keys with max brightness;

```bash 
sudo aucc -c green -b 4
```

To disable all keys:
```bash 
sudo aucc -d
```

To set keyboard predefined custom styles:

```bash 
sudo aucc -s style
```

Styles available are `aurora`, `marquee`, `raindrop`, `reactive` and `rainbow`



### Contributions

Contributions of any kind are welcome. Please follow [pep-8](https://www.python.org/dev/peps/pep-0008/) coding style guides.

### Donate

This is a project I develop in my free time.  If you use Unnoficial-CC or simply like the project and want to help please consider [donating a coffee](https://www.buymeacoffee.com/KCZRP52U7).
dashboardspot 0.9.1
DashboardSpot pyhon library.
Requires Python: >=3.0.*

# DashboardSpot Python


# Install
```shell
pip3 install dashboardspot -U
```

# Example
```python
from dashboardspot import DashboardSpot

ds = DashboardSpot('your_api_key')
ds.hit('new sale')
ds.hit('new sale', data="blue shirt")
ds.hit('new sale', data="red shirt", count=2, timestamp=1559746170)
```