make it easy to use env
Project description
envx
介绍
环境信息的管理模块
-
使用目录
- Windows 系统
使用目录:C:\env\
- macOS 系统
使用目录:/Users/env/
- macOS Linux
使用目录:/env/
-
文件内容格式
HOST=192.168.0.1
PORT=6379
- 读取结果格式
{
"HOST": "192.168.0.1",
"PORT": "6379"
}
安装教程
- pip安装
pip install envx
- pip安装(使用淘宝镜像加速)
pip install envx -i https://mirrors.aliyun.com/pypi/simple
使用说明
- demo
import envx
redis_env = envx.read('redis.env')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
envx-0.0.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
envx-0.0.2-py3-none-any.whl
(3.4 kB
view hashes)