express-env


Nameexpress-env JSON
Version 0.0.2 PyPI version JSON
download
home_page
SummarySafe and easy environment variables management
upload_time2023-06-30 10:28:21
maintainer
docs_urlNone
authorDamian Świstowski
requires_python>=3.11,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Express-env, .env generator

Express env configuration is safe to be committed to the repository,
as it does not contain any secrets, but contain information where secrets are stored.
All secret values are collected from third party services like `vault`,
`1Password`, etc.

## Usage

1. Create confing file: `.ee/default.yml` with the following content:
```yaml
# .ee/default.yml
env:
  CONST_VARIABLE: value
  CONST_VARIABLE_LONG_FORMAT:
    type: const
    value: value
  VARIABLE_FROM_VAULT:
    type: vault
    path: secret/path
    field: value
```

2a. Run `express-env` to generate `.env` file:
```bash
ee generate > .env
```

2b (or) Run `express-env` to set environment variables:
```bash
eval "$(ee generate --format bash)"
```

## Installation

Using pipx:
```bash
pipx install express-env
```

Using pip:
```bash
pip install express-env
```

From source:
```bash
git clone https://github.com/dswistowski/express-env ~/.express-env
cd ~/.express-env
pip install .
```


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "express-env",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Damian \u015awistowski",
    "author_email": "damian@swistowski.org",
    "download_url": "https://files.pythonhosted.org/packages/7f/4a/4eabc64a2d4beb467d38258198464c2dfc9828b6c4cb145f2da0a751f13a/express_env-0.0.2.tar.gz",
    "platform": null,
    "description": "# Express-env, .env generator\n\nExpress env configuration is safe to be committed to the repository,\nas it does not contain any secrets, but contain information where secrets are stored.\nAll secret values are collected from third party services like `vault`,\n`1Password`, etc.\n\n## Usage\n\n1. Create confing file: `.ee/default.yml` with the following content:\n```yaml\n# .ee/default.yml\nenv:\n  CONST_VARIABLE: value\n  CONST_VARIABLE_LONG_FORMAT:\n    type: const\n    value: value\n  VARIABLE_FROM_VAULT:\n    type: vault\n    path: secret/path\n    field: value\n```\n\n2a. Run `express-env` to generate `.env` file:\n```bash\nee generate > .env\n```\n\n2b (or) Run `express-env` to set environment variables:\n```bash\neval \"$(ee generate --format bash)\"\n```\n\n## Installation\n\nUsing pipx:\n```bash\npipx install express-env\n```\n\nUsing pip:\n```bash\npip install express-env\n```\n\nFrom source:\n```bash\ngit clone https://github.com/dswistowski/express-env ~/.express-env\ncd ~/.express-env\npip install .\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Safe and easy environment variables management",
    "version": "0.0.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c4803d8d562d3cbf55c8b1d68ad6d57c90d3a28a23bb1f8f114d341bb0c83648",
                "md5": "9c34dcabe1e74e3303f44297f70f46a2",
                "sha256": "34c07c9431bc68a9c08e2262899f175d33b8c6618bfad8e4c853cad18ee47afc"
            },
            "downloads": -1,
            "filename": "express_env-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9c34dcabe1e74e3303f44297f70f46a2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 9804,
            "upload_time": "2023-06-30T10:28:20",
            "upload_time_iso_8601": "2023-06-30T10:28:20.269841Z",
            "url": "https://files.pythonhosted.org/packages/c4/80/3d8d562d3cbf55c8b1d68ad6d57c90d3a28a23bb1f8f114d341bb0c83648/express_env-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f4a4eabc64a2d4beb467d38258198464c2dfc9828b6c4cb145f2da0a751f13a",
                "md5": "6efbf27b8b21959b9803896dedd11396",
                "sha256": "74cf5a6939e8fe80da294d2911d91d4dd1e653144d0c3b7e14399ed3330a64eb"
            },
            "downloads": -1,
            "filename": "express_env-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "6efbf27b8b21959b9803896dedd11396",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 6326,
            "upload_time": "2023-06-30T10:28:21",
            "upload_time_iso_8601": "2023-06-30T10:28:21.441337Z",
            "url": "https://files.pythonhosted.org/packages/7f/4a/4eabc64a2d4beb467d38258198464c2dfc9828b6c4cb145f2da0a751f13a/express_env-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-30 10:28:21",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "express-env"
}
        
Elapsed time: 2.19512s