Metadata-Version: 2.1
Name: JsonEnv
Version: 0.3.0
Summary: JsonEnv allows you to make environment variables with Json, allowing you to write numbers and other types of variables
Home-page: https://github.com/Greem3/JsonEnv
Author: Greem3
Author-email: Greem <ianpichardo575@gmail.com>
Project-URL: GitHub, https://github.com/Greem3/JsonEnv
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# English

## What is JsonEnv?

JsonEnv is a Python library that allows you to use a json file to create environment variables, allowing you to directly save numbers, lists, booleans, etc. avoiding having to convert the environment variable (which is always returned as a string) to another data type.

### How to create an environment class:

```
from JsonEnv.jsonenv import env

env.load_env("path")
```

### How to get the value of a key from the environment:

`env.get('key_name')`

### How to get all environment:

`env.get_env()`

### How change a key value:

`env.change("key_name", "new_value")`

# Español

## Que es JsonEnv?

JsonEnv es una libreria de Python que te permite usar un archivo json para crear variables de entorno, haciendo que puedas guardar directamente numeros, listas, booleanos, etc. evitando tener que convertir la variable de entorno (que siempre son devueltas como cadena) a otro tipo de dato.

### Como crear una clase de entorno:

```
from JsonEnv.jsonenv import env

env.load_env("ruta")
```

### Como conseguir el valor de una llave de entorno:

`env.get('nombre_de_la_llave')`

### Como conseguir todo el entorno:

`env.get_env()`

### Como cambiar el valor de una llave:

`env.change("nombre_llave", "nuevo_valor")`
