Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cchurch/autodotenv
Automatically set environment variables from .env file when running any Python command.
https://github.com/cchurch/autodotenv
dotenv python
Last synced: about 1 month ago
JSON representation
Automatically set environment variables from .env file when running any Python command.
- Host: GitHub
- URL: https://github.com/cchurch/autodotenv
- Owner: cchurch
- License: other
- Created: 2019-08-31T23:20:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T21:32:06.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T14:46:10.415Z (about 1 month ago)
- Topics: dotenv, python
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
|Build Status| |PyPI Version| |Python Versions|
AutoDotEnv
==========AutoDotEnv is a simple tool to automatically set environment variables from a
``.env`` file when running any Python command.Usage
-----1. ``pip install AutoDotEnv``
2. Install your Python-based tools of choice that can be configured via environment variables (e.g. ``awscli``, ``ansible``).
3. Create a ``.env`` file in the current directory values set to configure the installed tools.
4. Run your installed tools and environment variables will be set automatically from the ``.env`` file.Roadmap
-------* Configure AutoDotEnv options via environment variables.
* Configure AutoDotEnv options via a config file.
* Load variables from file patterns other than ``.env``.
* Load variables only for certain Python scripts/tools... |Build Status| image:: https://img.shields.io/github/workflow/status/cchurch/autodotenv/test
:target: https://github.com/cchurch/autodotenv/actions?query=workflow%3Atest
.. |PyPI Version| image:: https://img.shields.io/pypi/v/autodotenv.svg
:target: https://pypi.python.org/pypi/autodotenv
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/autodotenv.svg
:target: https://pypi.python.org/pypi/autodotenv