semvec/pypi-packages huggingface dataset:
supabase-client 0.2.5
A supabase client for Python
License: MIT
Keywords: python,supabase,request,aiohttp,client


    **Github Repo**:  [https://github.com/keosariel/supabase-client](https://github.com/keosariel/supabase-client)

    **Documentation**: [https://keosariel.github.io/2021/08/08/supabase-client-python/](https://keosariel.github.io/2021/08/08/supabase-client-python/)
magic-config 0.1.13
A simple library for easy handling of .env files and environment variables configurations
License: MIT
Requires Python: >=3.10.8
Keywords: pypi,config,library,magic

# Magic Config
A simple library for easy handling of .env files and environment variables configurations.

This library is a class for working with configurations. The class is implemented as a singleton, which allows you to always have exactly one instance of the same data registry everywhere.

The configuration data itself is taken from the .env file or from environment variables.

## Installation
```
pip install magic-config
```

## Upgrade
```
pip install --upgrade magic-config
```

Pypi url: https://pypi.org/project/magic-config/



## Example:
```sh
DEBUG=1 myapp.py
```

My app script:

```py
from magic_config import Config

# You can access to variables as property of class object
if Config.DEBUG:
  ...

# You can access to variables in lower case (and camel case, and other case)
if Config.debug:
  ...

# You can access to variables as key of dict object
if Config["debug"]:
  ...
```

## Configure custom variables
```py
# You can add variables to the object

# as dict
MagicConfig({
    "Number": 456,
    "Boolean": True
})

# as named arguments
MagicConfig(
    Number=456,
    Boolean=True
)
```

## Prepared autogenerators for DB URIs
For example in .env  file you can write only this data:
```
MONGO_HOST="127.0.0.1"
MONGO_USER="user"
MONGO_PWD="*****"
MONGO_DB="test"
MONGO_PORT=27017
```

and in code you can call the MONGO_URL

```py
from magic_config import Config

Config.MONGO_URL

# output:
# mongodb://user:passwd@127.0.0.1:27017/test?authSource=admin&tls=false
```

## Set type casting for environment variables

For example if you create in source root magic.config file and write:
```bash
DEBUG="bool"
DEBUG_STEP="bool"
DEBUG_USER_ID="int"
```

then you run 

```bash
DEBUG=1 DEBUG_STEP=1 DEBUG_USER_ID=1 DEBUG_USER_ID=10011888 python server.py
```

```py
Config.DEBUG # True
Config.DEBUG_STEP # True
Config.DEBUG_USER_ID # int(10011888)
```

## Custom file path
Instead default .env file in source root you can configure path to .env file:

```py
# for example

env_file = os.path.realpath(os.path.dirname(os.path.realpath(__file__)) + "/../my.env")
MagicConfig(env_file=env_file)

```
graphtask 0.0.1
Build implicit task graphs from functions and process them in parallel.
License: MIT
Requires Python: >=3.9,<4.0

# graphtask

[![Check Status](https://github.com/davnn/graphtask/workflows/check/badge.svg?branch=main&event=push)](https://github.com/davnn/graphtask/actions?query=workflow%3Acheck)
[![Dependencies Status](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/davnn/graphtask/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Security: bandit](https://img.shields.io/badge/security-bandit-green.svg)](https://github.com/PyCQA/bandit)
[![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/davnn/graphtask/blob/main/.pre-commit-config.yaml)
[![Semantic Versions](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--versions-e10079.svg)](https://github.com/davnn/graphtask/releases)
![Coverage Report](assets/images/coverage.svg)

The project roughly follows the [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html).