semvec/pypi-packages huggingface dataset:
aiodevision 0.2.4
A simple asynchronous wrapper for the Idevision API.
License: MIT
Requires Python: >=3.5

# aiodevision
A simple async wrapper for the idevision api.

Note: this may be unstable. This is an experimental wrapper, and is undocumented (for now).

If you would like to contribute/add anything, feel free to make a PR.

# Installation
For installing the stable version, do
```py
pip install aiodevision
```

If you wanna install the dev version, do
```py
pip install git+https://github.com/MrKomodoDragon/aiodevision
```


todo:
- Add Better Exception Haandling
- Handle Ratelimits
UtilsRxPY 0.0.8
This is an awesome project!
License: MIT
Requires Python: >=3.6
Keywords: UtilsRxPY

# UtilsRxPY

## Documentation

Refer to the [API docs](https://carsten-leue.github.io/UtilsRxPY/)

## Build Setup

[![Build Status](https://www.travis-ci.com/Carsten-Leue/UtilsRxPY.svg?branch=master)](https://www.travis-ci.com/Carsten-Leue/UtilsRxPY)
[![Coverage Status](https://coveralls.io/repos/github/Carsten-Leue/UtilsRxPY/badge.svg?branch=HEAD)](https://coveralls.io/github/Carsten-Leue/UtilsRxPY?branch=HEAD)
magicenv 0.1.2
Simple way to parse common datatypes from env vars.
License: MIT
Requires Python: >=3.7,<4.0
Keywords: env,magic

# magicenv
Simple way to parse common datatypes from env vars.


# Setup

```bash
pip install magicenv
```

# Usage
```python
from magicenv import env

DB_HOST = env('DB_HOST', "localhost:1234")              # string var
DB_NUM_TRANSACTIONS = env('DB_NUM_TRANSACTIONS', 1234)  # int var
ENABLE_FEATURE_X = env('ENABLE_FEATURE_X', True)  # bool var

DB_SERVERS = env('DB_SERVERS', ['server1', "server2"])  # interprets a comma separated string as a list

```



## env()

```python
def env(key, default=None, return_type=None, list_element_type=str):
```

| Param             | Explanation                                                  |
| ----------------- | ------------------------------------------------------------ |
| key               | name of environment variable.                                |
| default           | Optional - default value if key is not present in environment |
| return_type       | Optional - specify return_type.                              |
| list_element_type | Optional - cast/parse each element of a list with provided callable. Only used if the setting is a list. |

​        If key is not present in environment, and there is not provided a default value,
​        None will be returned.



## Guidelines for settings in Environment

A couple of conventions exist when designing
 environment variables for settings.

 1. **All values are stored as strings in the environment variable**

 2. **Booleans** 
  All boolean variables are encoded as one of "1", "True" or "true" if True,
    all other values are interpreted as False     

 3. **Lists are encoded as a comma separated string**
    in example:  "a,b,c,   d"
(intentionally put whitespace in there. It is allowed)
      
 4. **Default Values are preffered to be set to the same type as the setting.**

  The type of the default value implicitly sets the datatype of the env var.
  May be overriden by setting `return_type` explicitly.

  * `list` -> `[]`, 
  * `str` -> `''`
  *  `int` -> `0` 
  * `bool` -> `True` or `False`