# Kedro-Telemetry
[![Python Version](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg)](https://pypi.org/project/kedro-telemetry/)
[![PyPI version](https://badge.fury.io/py/kedro-telemetry.svg)](https://pypi.org/project/kedro-telemetry/)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black)
## What is kedro-telemetry?
Kedro-Telemetry is a [plugin](https://docs.kedro.org/en/stable/extend_kedro/plugins.html)
that gathers anonymised and aggregated usage analytics
to help [the Kedro team](https://docs.kedro.org/en/stable/contribution/technical_steering_committee.html)
understand how Kedro is used and prioritise improvements to the product accordingly.
## What data is being collected?
Read [our Telemetry documentation](https://docs.kedro.org/en/stable/configuration/telemetry.html)
for further information on the intent of the data collection and what data is collected.
For technical information on how the telemetry collection works, you can browse
[the source code of `kedro-telemetry`](https://github.com/kedro-org/kedro-plugins/tree/main/kedro-telemetry).
## How is the data collected
Kedro-Telemetry uses [`pluggy`](https://pypi.org/project/pluggy/) hooks and [`requests`](https://pypi.org/project/requests/) to send data to [Heap Analytics](https://heap.io/). Project maintainers have access to the data and can create dashboards that show adoption and feature usage.
## How do I withdraw consent?
Data collection for telemetry is enabled by default. To withdraw consent, you have a few options:
1. **Set Environment Variables**:
Set the environment variables `DO_NOT_TRACK` or `KEDRO_DISABLE_TELEMETRY` to any value. The presence of any of these environment variables will disable telemetry for all Kedro projects in that environment and will override any consent specified in the `.telemetry` file of the specific project.
2. **CLI Option When Creating a New Project**:
When creating a new project, you can use the command:
```console
kedro new --telemetry=no
```
This will create a new project with a `.telemetry` file in its root folder, containing `consent: false`. This file will be used when executing Kedro commands within that project folder. Note that telemetry data about the execution of the `kedro new` command will still be sent if telemetry has not been disabled using environment variables.
>*Note:* The `.telemetry` file should not be committed to `git` or packaged in deployment. In `kedro>=0.17.4` the file is git-ignored.
3. **Modify or Create the `.telemetry` file manually**:
If the `.telemetry` file exists in the root folder of your Kedro project, set the `consent` variable to `false`. If the file does not exist, create it with the following content:
```yaml
consent: false
```
4. **Uninstall the plugin**:
Remove the `kedro-telemetry` plugin:
```console
pip uninstall kedro-telemetry
```
>*Note:* This is a last resort option, as it will break the dependencies of Kedro (for example, `pip check` will report issues).
## What happens when I withdraw consent?
If you explicitly deny consent from the beginning, no data will be collected. If you withdraw consent later, the processing of data will be stopped from that moment on.
## What licence do you use?
Kedro-Telemetry is licensed under the [Apache 2.0](https://github.com/kedro-org/kedro-plugins/blob/main/LICENSE.md) License.
## Python version support policy
* The [Kedro-Telemetry](https://github.com/kedro-org/kedro-plugins/tree/main/kedro-telemetry) supports all Python versions that are actively maintained by the CPython core team. When a [Python version reaches end of life](https://devguide.python.org/versions/#versions), support for that version is dropped from `kedro-telemetry`. This is not considered a breaking change.
Raw data
{
"_id": null,
"home_page": null,
"name": "kedro-telemetry",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Kedro",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/4a/bf/007dea51582bc8cbcebbd9e79d33e7265c02ccdb9094cc4ca8ac6ecbc1ad/kedro_telemetry-0.6.2.tar.gz",
"platform": null,
"description": "# Kedro-Telemetry\n\n[![Python Version](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg)](https://pypi.org/project/kedro-telemetry/)\n[![PyPI version](https://badge.fury.io/py/kedro-telemetry.svg)](https://pypi.org/project/kedro-telemetry/)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Code Style: Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black)\n\n## What is kedro-telemetry?\n\nKedro-Telemetry is a [plugin](https://docs.kedro.org/en/stable/extend_kedro/plugins.html)\nthat gathers anonymised and aggregated usage analytics\nto help [the Kedro team](https://docs.kedro.org/en/stable/contribution/technical_steering_committee.html)\nunderstand how Kedro is used and prioritise improvements to the product accordingly.\n\n## What data is being collected?\n\nRead [our Telemetry documentation](https://docs.kedro.org/en/stable/configuration/telemetry.html)\nfor further information on the intent of the data collection and what data is collected.\n\nFor technical information on how the telemetry collection works, you can browse\n[the source code of `kedro-telemetry`](https://github.com/kedro-org/kedro-plugins/tree/main/kedro-telemetry).\n\n## How is the data collected\n\nKedro-Telemetry uses [`pluggy`](https://pypi.org/project/pluggy/) hooks and [`requests`](https://pypi.org/project/requests/) to send data to [Heap Analytics](https://heap.io/). Project maintainers have access to the data and can create dashboards that show adoption and feature usage.\n\n## How do I withdraw consent?\n\nData collection for telemetry is enabled by default. To withdraw consent, you have a few options:\n\n1. **Set Environment Variables**:\n Set the environment variables `DO_NOT_TRACK` or `KEDRO_DISABLE_TELEMETRY` to any value. The presence of any of these environment variables will disable telemetry for all Kedro projects in that environment and will override any consent specified in the `.telemetry` file of the specific project.\n\n2. **CLI Option When Creating a New Project**:\n When creating a new project, you can use the command:\n\n ```console\n kedro new --telemetry=no\n ```\n This will create a new project with a `.telemetry` file in its root folder, containing `consent: false`. This file will be used when executing Kedro commands within that project folder. Note that telemetry data about the execution of the `kedro new` command will still be sent if telemetry has not been disabled using environment variables.\n\n >*Note:* The `.telemetry` file should not be committed to `git` or packaged in deployment. In `kedro>=0.17.4` the file is git-ignored.\n\n3. **Modify or Create the `.telemetry` file manually**:\n If the `.telemetry` file exists in the root folder of your Kedro project, set the `consent` variable to `false`. If the file does not exist, create it with the following content:\n ```yaml\n consent: false\n ```\n\n4. **Uninstall the plugin**:\n Remove the `kedro-telemetry` plugin:\n\n ```console\n pip uninstall kedro-telemetry\n ```\n >*Note:* This is a last resort option, as it will break the dependencies of Kedro (for example, `pip check` will report issues).\n\n## What happens when I withdraw consent?\n\nIf you explicitly deny consent from the beginning, no data will be collected. If you withdraw consent later, the processing of data will be stopped from that moment on.\n\n## What licence do you use?\n\nKedro-Telemetry is licensed under the [Apache 2.0](https://github.com/kedro-org/kedro-plugins/blob/main/LICENSE.md) License.\n\n## Python version support policy\n\n* The [Kedro-Telemetry](https://github.com/kedro-org/kedro-plugins/tree/main/kedro-telemetry) supports all Python versions that are actively maintained by the CPython core team. When a [Python version reaches end of life](https://devguide.python.org/versions/#versions), support for that version is dropped from `kedro-telemetry`. This is not considered a breaking change.\n",
"bugtrack_url": null,
"license": "Apache Software License (Apache 2.0)",
"summary": "Kedro-Telemetry",
"version": "0.6.2",
"project_urls": {
"Documentation": "https://github.com/kedro-org/kedro-plugins/blob/main/kedro-telemetry/README.md",
"Source": "https://github.com/kedro-org/kedro-plugins/tree/main/kedro-telemetry",
"Tracker": "https://github.com/kedro-org/kedro-plugins/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5af96e66fb32900c6bcf0b16abb374eb5eb6ae2f75783a1246bdae2ac9a1cb09",
"md5": "0d6f138a018337a57266865c5e7035d9",
"sha256": "a05a4483d1bf2a832ed86a9e72c9f8d4d1e8aa23119a13c77e612f7775d7335f"
},
"downloads": -1,
"filename": "kedro_telemetry-0.6.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0d6f138a018337a57266865c5e7035d9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 9461,
"upload_time": "2024-11-27T15:00:19",
"upload_time_iso_8601": "2024-11-27T15:00:19.481623Z",
"url": "https://files.pythonhosted.org/packages/5a/f9/6e66fb32900c6bcf0b16abb374eb5eb6ae2f75783a1246bdae2ac9a1cb09/kedro_telemetry-0.6.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4abf007dea51582bc8cbcebbd9e79d33e7265c02ccdb9094cc4ca8ac6ecbc1ad",
"md5": "e7079d894a9b81919cce97eccbd126e1",
"sha256": "bf101addd5be071ad242b02047af90ecc6987b64fc76ec4285d0a9328f834fef"
},
"downloads": -1,
"filename": "kedro_telemetry-0.6.2.tar.gz",
"has_sig": false,
"md5_digest": "e7079d894a9b81919cce97eccbd126e1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 15029,
"upload_time": "2024-11-27T15:00:21",
"upload_time_iso_8601": "2024-11-27T15:00:21.060228Z",
"url": "https://files.pythonhosted.org/packages/4a/bf/007dea51582bc8cbcebbd9e79d33e7265c02ccdb9094cc4ca8ac6ecbc1ad/kedro_telemetry-0.6.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-27 15:00:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kedro-org",
"github_project": "kedro-plugins",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "kedro-telemetry"
}