Metadata-Version: 2.4
Name: python-dotenvx
Version: 0.2.4
Summary: [dotenvx.com] a better dotenv–from the creator of `dotenv`
Home-page: https://github.com/dotenvx/python-dotenvx
Author: dotenv
Author-email: mot@dotenvx.com
License: BSD-3-Clause
Keywords: environment,environment variables,deployments,settings,env,dotenv,configurations,python,dotenvx
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: summary

> [!IMPORTANT]
>
> Warning: work in progress. until complete, please use [github.com/dotenvx/dotenvx](https://github.com/dotenvx/dotenvx) directly.
>
> see [python examples](https://dotenvx.com/docs/languages/python)
>

---

[![dotenvx](https://dotenvx.com/better-banner.png)](https://dotenvx.com)

*a better dotenv*–from the creator of [`dotenv`](https://github.com/motdotla/dotenv).

* run anywhere (cross-platform)
* multi-environment
* encrypted envs

&nbsp;


### Quickstart [![PyPI version](https://badge.fury.io/py/python-dotenvx.svg)](http://badge.fury.io/py/python-dotenvx)

Install and use it in code just like `python-dotenv`.

```sh
pip install python-dotenvx
```

Then run `dotenvx-postinstall` to install the `dotenvx` binary (python-dotenvx is a wrapper).

```sh
dotenvx-postinstall

# or to specify the os-arch – useful for building binaries to a specific target such as linux-x86_64 on aws lambda
dotenvx-postinstall --os linux --arch x86_64
```

Then use it in code.

```python
# main.py
import os
from dotenvx import load_dotenvx
load_dotenvx() # take environment variables from .env.

print(os.getenv("S3_BUCKET"))
```

&nbsp;

# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [Unreleased](https://github.com/dotenvx/python-dotenvx/compare/v0.2.4...main)

## [0.2.4](https://github.com/dotenvx/dotenvx/compare/v0.2.3...v0.2.4)

### Added

* Add the ability to specify the `os` and `arch` on `dotenvx-postinstall`

## [0.2.3](https://github.com/dotenvx/dotenvx/compare/v0.2.2...v0.2.3)

### Changed

* Patch `dotenvx` binary install across multiple edge cases

## [0.2.2](https://github.com/dotenvx/dotenvx/compare/v0.2.1...v0.2.2)

### Changed

* Adjust installation of `dotenvx` binary on demand

## [0.2.1](https://github.com/dotenvx/dotenvx/compare/v0.2.1...v0.2.1)

### Added

* Install the `dotenvx` binary on install of the python package

## 0.2.0

Please see commit history.
