semvec/pypi-packages huggingface dataset:
polyaxon-schemas 0.6.1
Schema definitions and validation for Polyaxon.
License: MIT
Keywords: polyaxon,tensorFlow,deep-learning,machine-learning,data-science,neural-networks,artificial-intelligence,ai,reinforcement-learning,kubernetes

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Build Status](https://travis-ci.org/polyaxon/polyaxon-schemas.svg?branch=master)](https://travis-ci.org/polyaxon/polyaxon-schemas)
[![PyPI version](https://badge.fury.io/py/polyaxon-schemas.svg)](https://badge.fury.io/py/polyaxon-schemas)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/3bf5388afaa141b19e4cfc4fe58876c0)](https://www.codacy.com/app/polyaxon/polyaxon-schemas?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=polyaxon/polyaxon-schemas&amp;utm_campaign=Badge_Grade)
[![Slack](https://img.shields.io/badge/chat-on%20slack-aadada.svg?logo=slack&longCache=true)](https://join.slack.com/t/polyaxon/shared_invite/enQtMzQ0ODc2MDg1ODc0LWY2ZTdkMTNmZjBlZmRmNjQxYmYwMTBiMDZiMWJhODI2ZTk0MDU4Mjg5YzA5M2NhYzc5ZjhiMjczMDllYmQ2MDg)

# Polyaxon-schemas

Schema definitions and validation for Polyaxon.


# License

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpolyaxon%2Fpolyaxon-schemas.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpolyaxon%2Fpolyaxon-schemas?ref=badge_large)
powerline-cpu-temp 0.1.0
A Powerline segment to show CPU temperature
License: MIT

# powerline-cpu-temp

`powerline-cpu-temp` is a Powerline segment to show CPU temperature.

## Installation

Using pip:

```
pip3 install powerline-cpu-temp
```

Or clone this repository and run:

```
python3 setup.py install
```

## Usage

First, it is required to add `cpu_temp` and `cpu_temp_gradient` highlight groups in the colorscheme configurations:
(You can easily customize the color scheme by changing the highlight group settings.)

```json
{
	"cpu_temp": { "fg": "gray8", "bg": "gray0", "attrs": [] },
	"cpu_temp_gradient": { "fg": "green_yellow_orange_red", "bg": "gray0", "attrs": [] }
}
```

Then add the following settings to the Powerline configuration file:

```json
{
	"function": "powerline_cpu_temp.cpu_temp"
}
```

You can specify the arguments:

```json
{
	"function": "powerline_cpu_temp.cpu_temp",
	"args": {
		"format": "{value:.0f}°C",
		"threshold_good": 50,
		"threshold_bad": 90
	}
}
```

Available arguments:

* `format`(`string`): format string, receives `value` as an argument

* `threshold_good` (`float`): threshold for gradient level 0:
temperature below this value will have this gradient level.

* `threshold_bad` (`float`): threshold for gradient level 100:
temperature above this value will have this gradient level.
Temperature between `threshold_good` and `threshold_bad` receive gradient level that indicates relative position in this interval:
(`100 * (cur-good) / (bad-good)`).

## Dependencies

* [psutil](https://github.com/giampaolo/psutil)
pycopy-lib 0.2.2
pycopy-lib meta-package, installs most of pycopy-lib
License: MIT

This is a module for the standard library of Pycopy project:
https://github.com/pfalcon/pycopy . This module was implemented from
scratch specifically to target Pycopy, with efficient and lean design
in mind. Note that this module is likely work in progress and likely
supports just a subset of CPython’s corresponding module. Please help
with the development if you are interested in this module.