autoread-dotenv


Nameautoread-dotenv JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/libranet/autoread-dotenv
SummaryAutomatically set env-vars at the beginning of every python-process in your in-project virtualenv.
upload_time2023-04-30 17:39:20
maintainerWouter Vanden Hove
docs_urlNone
authorWouter Vanden Hove
requires_python>=3.8.0
licenseMIT
keywords entrypoints dotenv sitecustomize
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Testing](https://img.shields.io/github/actions/workflow/status/libranet/autoread-dotenv/testing.yaml?branch=main&longCache=true&style=flat-square&label=tests&logo=GitHub%20Actions&logoColor=fff")](https://github.com/libranet/autoread-dotenv/actions/workflows/testing.yaml)
[![Linting](https://img.shields.io/github/actions/workflow/status/libranet/autoread-dotenv/linting.yaml?branch=main&longCache=true&style=flat-square&label=linting&logo=GitHub%20Actions&logoColor=fff")](https://github.com/libranet/autoread-dotenv/actions/workflows/linting.yaml)
[![Read the Docs](https://readthedocs.org/projects/autoread-dotenv/badge/?version=latest)](https://autoread-dotenv.readthedocs.io/en/latest/)
[![Codecov](https://codecov.io/gh/libranet/autoread-dotenv/branch/main/graph/badge.svg?token=QTOWRXGH61)](https://codecov.io/gh/libranet/autoread-dotenv)
[![PyPi Package](https://img.shields.io/pypi/v/autoread-dotenv?color=%2334D058&label=pypi%20package)](https://pypi.org/project/autoread-dotenv/)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/libranet/autoread-dotenv/blob/main/docs/license.md)



## Installation

Install via pip:

```bash
> bin/pip install autoread-dotenv
```

Or add to your poetry-based project:

```bash
> poetry add autoread-dotenv
```


## Usage

The only thing left to do for you is the create a ``.env`` in the root of your project.


## Registered sitecustomize-entrypoint

The ``autoread_dotenv.entrypoint``-function is registered as a ``sitecustomize``-entrypoint in our pyproject.toml_:

``` toml
    [tool.poetry.plugins]
    [tool.poetry.plugins."sitecustomize"]
    autoread_dotenv = "autoread_dotenv:entrypoint"
```

Sitecustomize and all its registered entrypoints will be executed at the start of *every* python-process.
For more information, please see [sitecustomize-entrypoints](http://pypi.python.org/pypi/sitecustomize-entrypoints)


## Compatibility

 [![Python Version](https://img.shields.io/pypi/pyversions/autoread-dotenv?:alt:PyPI-PythonVersion)](https://pypi.org/project/autoread-dotenv/)
 [![PyPI - Implementation](https://img.shields.io/pypi/implementation/autoread-dotenv?:alt:PyPI-Implementation)](https://pypi.org/project/autoread-dotenv/)

``autoread-dotenv``  works on Python 3.8+, including PyPy3. Tested until Python 3.11,


## Notable dependencies

- [sitecustomize-entrypoints](http://pypi.python.org/pypi/sitecustomize-entrypoints)
- [python-dotenv](http://pypi.python.org/pypi/python-dotenv)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/libranet/autoread-dotenv",
    "name": "autoread-dotenv",
    "maintainer": "Wouter Vanden Hove",
    "docs_url": null,
    "requires_python": ">=3.8.0",
    "maintainer_email": "wouter@libranet.eu",
    "keywords": "entrypoints,dotenv,sitecustomize",
    "author": "Wouter Vanden Hove",
    "author_email": "wouter@libranet.eu",
    "download_url": "https://files.pythonhosted.org/packages/3d/90/8c421f99291f2b6d81cba402020ac3f568b74be8b300365328f6459c5589/autoread_dotenv-1.0.2.tar.gz",
    "platform": null,
    "description": "[![Testing](https://img.shields.io/github/actions/workflow/status/libranet/autoread-dotenv/testing.yaml?branch=main&longCache=true&style=flat-square&label=tests&logo=GitHub%20Actions&logoColor=fff\")](https://github.com/libranet/autoread-dotenv/actions/workflows/testing.yaml)\n[![Linting](https://img.shields.io/github/actions/workflow/status/libranet/autoread-dotenv/linting.yaml?branch=main&longCache=true&style=flat-square&label=linting&logo=GitHub%20Actions&logoColor=fff\")](https://github.com/libranet/autoread-dotenv/actions/workflows/linting.yaml)\n[![Read the Docs](https://readthedocs.org/projects/autoread-dotenv/badge/?version=latest)](https://autoread-dotenv.readthedocs.io/en/latest/)\n[![Codecov](https://codecov.io/gh/libranet/autoread-dotenv/branch/main/graph/badge.svg?token=QTOWRXGH61)](https://codecov.io/gh/libranet/autoread-dotenv)\n[![PyPi Package](https://img.shields.io/pypi/v/autoread-dotenv?color=%2334D058&label=pypi%20package)](https://pypi.org/project/autoread-dotenv/)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/libranet/autoread-dotenv/blob/main/docs/license.md)\n\n\n\n## Installation\n\nInstall via pip:\n\n```bash\n> bin/pip install autoread-dotenv\n```\n\nOr add to your poetry-based project:\n\n```bash\n> poetry add autoread-dotenv\n```\n\n\n## Usage\n\nThe only thing left to do for you is the create a ``.env`` in the root of your project.\n\n\n## Registered sitecustomize-entrypoint\n\nThe ``autoread_dotenv.entrypoint``-function is registered as a ``sitecustomize``-entrypoint in our pyproject.toml_:\n\n``` toml\n    [tool.poetry.plugins]\n    [tool.poetry.plugins.\"sitecustomize\"]\n    autoread_dotenv = \"autoread_dotenv:entrypoint\"\n```\n\nSitecustomize and all its registered entrypoints will be executed at the start of *every* python-process.\nFor more information, please see [sitecustomize-entrypoints](http://pypi.python.org/pypi/sitecustomize-entrypoints)\n\n\n## Compatibility\n\n [![Python Version](https://img.shields.io/pypi/pyversions/autoread-dotenv?:alt:PyPI-PythonVersion)](https://pypi.org/project/autoread-dotenv/)\n [![PyPI - Implementation](https://img.shields.io/pypi/implementation/autoread-dotenv?:alt:PyPI-Implementation)](https://pypi.org/project/autoread-dotenv/)\n\n``autoread-dotenv``  works on Python 3.8+, including PyPy3. Tested until Python 3.11,\n\n\n## Notable dependencies\n\n- [sitecustomize-entrypoints](http://pypi.python.org/pypi/sitecustomize-entrypoints)\n- [python-dotenv](http://pypi.python.org/pypi/python-dotenv)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Automatically set env-vars at the beginning of every python-process in your in-project virtualenv.",
    "version": "1.0.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/libranet/autoread-dotenv/issues",
        "Docs": "https://autoread-dotenv.readthedocs.io",
        "Documentation": "https://autoread-dotenv.readthedocs.io",
        "Homepage": "https://github.com/libranet/autoread-dotenv",
        "Repository": "https://github.com/libranet/autoread-dotenv",
        "repository": "https://github.com/libranet/autoread-dotenv"
    },
    "split_keywords": [
        "entrypoints",
        "dotenv",
        "sitecustomize"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8a4d3e886499361679c34cd0537879fb666165b9a32f50f3cf00469efb31ae4e",
                "md5": "e91ae5cefee661e1f3c4a902453b83d9",
                "sha256": "745d3ca5d33714d34ee1993cb2947d8d90c573c5688e911f38a6f38057259d08"
            },
            "downloads": -1,
            "filename": "autoread_dotenv-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e91ae5cefee661e1f3c4a902453b83d9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8.0",
            "size": 4198,
            "upload_time": "2023-04-30T17:39:18",
            "upload_time_iso_8601": "2023-04-30T17:39:18.202465Z",
            "url": "https://files.pythonhosted.org/packages/8a/4d/3e886499361679c34cd0537879fb666165b9a32f50f3cf00469efb31ae4e/autoread_dotenv-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d908c421f99291f2b6d81cba402020ac3f568b74be8b300365328f6459c5589",
                "md5": "6a8ca94f8cd063cfc42d91da81093578",
                "sha256": "fbc25cbad12d9991825037741bba8a2b748eb7df7c52d99f9eb0e91885a72d73"
            },
            "downloads": -1,
            "filename": "autoread_dotenv-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "6a8ca94f8cd063cfc42d91da81093578",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.0",
            "size": 5931,
            "upload_time": "2023-04-30T17:39:20",
            "upload_time_iso_8601": "2023-04-30T17:39:20.114058Z",
            "url": "https://files.pythonhosted.org/packages/3d/90/8c421f99291f2b6d81cba402020ac3f568b74be8b300365328f6459c5589/autoread_dotenv-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-30 17:39:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "libranet",
    "github_project": "autoread-dotenv",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "autoread-dotenv"
}
        
Elapsed time: 0.07971s