{ "info": { "author": "bakdata", "author_email": "opensource@bakdata.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# Templating for Airflow connections\n[![PyPI version](https://badge.fury.io/py/airflow-connection-plugin.svg)](https://badge.fury.io/py/airflow-connection-plugin)\n\nThe connection plugin contains an [Airflow](https://airflow.apache.org/) macro for [templating](https://airflow.apache.org/concepts.html#id1) connections in tasks.\nYou can use it like this:\n\n```\n# prints 'mysql'\n{{ macros.connection_plugin.get_conn('airflow_db').host }}\n```\n`connection_plugin.get_conn` returns the [Connection object](https://airflow.apache.org/_api/airflow/models/connection/index.html#airflow.models.connection.Connection) \nthat you can interact with as described in the documentation.\n\n## Installation\n```\npip install airflow-connection-plugin\n```\n\n## Demo\nTo start the docker container simply run the following command in the root directory:\n```\ncd example && docker-compose up\n```\n\nAfter that you can reach the airflow frontend via [http://localhost:8080](http://localhost:8080).\nYou will find an example DAG that demonstrates how to retrieve different connection information.\n\n**Attention**: Be especially careful when using passwords in templates.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bakdata/connection_plugin", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "airflow-connection-plugin", "package_url": "https://pypi.org/project/airflow-connection-plugin/", "platform": "", "project_url": "https://pypi.org/project/airflow-connection-plugin/", "project_urls": { "Homepage": "https://github.com/bakdata/connection_plugin" }, "release_url": "https://pypi.org/project/airflow-connection-plugin/1.0.0/", "requires_dist": null, "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "summary": "Templating for Airflow connections", "version": "1.0.0" }, "last_serial": 5351499, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "293ef63f9c27f86f3e8eb697009b5f99", "sha256": "88ac4b00f4c320c3958856ca0a022338a6119d111037061a6802f9406d1faf35" }, "downloads": -1, "filename": "airflow-connection-plugin-1.0.0.tar.gz", "has_sig": false, "md5_digest": "293ef63f9c27f86f3e8eb697009b5f99", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 2139, "upload_time": "2019-06-03T09:01:04", "url": "https://files.pythonhosted.org/packages/8e/a3/3242e7a5e14797ad44e3cd183f4b77c281e5aa81dbcef3fd758ebcdca11e/airflow-connection-plugin-1.0.0.tar.gz" } ], "1.0.0rc2": [ { "comment_text": "", "digests": { "md5": "8d5a00b3a39ea9da78a491fb4af90d11", "sha256": "c5bfc88e450b245464cb3522aea62999bf31271a8e753952b60ec615c1d53461" }, "downloads": -1, "filename": "airflow-connection-plugin-1.0.0rc2.tar.gz", "has_sig": false, "md5_digest": "8d5a00b3a39ea9da78a491fb4af90d11", "packagetype": "sdist", "python_version": "source", "requires_python": "==3.6.*", "size": 2840, "upload_time": "2019-05-24T15:03:12", "url": "https://files.pythonhosted.org/packages/3e/ab/c82008c25e2e710cfb3c6c569813b9b9715a363447bdf9142e7127a43e83/airflow-connection-plugin-1.0.0rc2.tar.gz" } ], "1.0.0rc3": [ { "comment_text": "", "digests": { "md5": "b42392a4472c6f5d165af3505be5b3fc", "sha256": "5ba861b0958e4284469836c136ae5338f8f1997e8f9de3a641c9f7d90fa542ed" }, "downloads": -1, "filename": "airflow-connection-plugin-1.0.0rc3.tar.gz", "has_sig": false, "md5_digest": "b42392a4472c6f5d165af3505be5b3fc", "packagetype": "sdist", "python_version": "source", "requires_python": "==3.6.*", "size": 2026, "upload_time": "2019-05-31T10:50:43", "url": "https://files.pythonhosted.org/packages/81/b4/d60b52558f691bca29dd112aad831f4bca0fa5dd5172996413ef60d05bf2/airflow-connection-plugin-1.0.0rc3.tar.gz" } ], "1.0.0rc4": [ { "comment_text": "", "digests": { "md5": "39ad60e42d2d1736cc5f8de725a1efba", "sha256": "d6060feae2b993bb9af7fab1153e3b281adf89129564e40894cdd2bb4c54280e" }, "downloads": -1, "filename": "airflow-connection-plugin-1.0.0rc4.tar.gz", "has_sig": false, "md5_digest": "39ad60e42d2d1736cc5f8de725a1efba", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 2065, "upload_time": "2019-05-31T11:36:43", "url": "https://files.pythonhosted.org/packages/c5/38/93359ac4087aee9a9405704936d78c7952c04223e0bde0e79f06daec9885/airflow-connection-plugin-1.0.0rc4.tar.gz" } ], "1.0.0rc5": [ { "comment_text": "", "digests": { "md5": "3b2ad76136d9fe2803cc2a65ed356bee", "sha256": "e8bf1378fc70c51fa811816e9fc7aa2765d5599c03a339edcd5382e16b0a0184" }, "downloads": -1, "filename": "airflow-connection-plugin-1.0.0rc5.tar.gz", "has_sig": false, "md5_digest": "3b2ad76136d9fe2803cc2a65ed356bee", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 2117, "upload_time": "2019-06-03T08:56:36", "url": "https://files.pythonhosted.org/packages/1b/22/f75b72d27aa2529fb0ad5d446d3821568827d288fa4994ae1d16d2397b32/airflow-connection-plugin-1.0.0rc5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "293ef63f9c27f86f3e8eb697009b5f99", "sha256": "88ac4b00f4c320c3958856ca0a022338a6119d111037061a6802f9406d1faf35" }, "downloads": -1, "filename": "airflow-connection-plugin-1.0.0.tar.gz", "has_sig": false, "md5_digest": "293ef63f9c27f86f3e8eb697009b5f99", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", "size": 2139, "upload_time": "2019-06-03T09:01:04", "url": "https://files.pythonhosted.org/packages/8e/a3/3242e7a5e14797ad44e3cd183f4b77c281e5aa81dbcef3fd758ebcdca11e/airflow-connection-plugin-1.0.0.tar.gz" } ] }