Metadata-Version: 2.3
Name: conda-anaconda-telemetry
Version: 0.1.1
Summary: A conda plugin for Anaconda Telemetry
License: BSD 3-Clause License
        
        Copyright (c) 2024, Anaconda, Inc.
        All rights reserved.
        
        Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:
        
            * Redistributions of source code must retain the above copyright
              notice, this list of conditions and the following disclaimer.
            * Redistributions in binary form must reproduce the above copyright
              notice, this list of conditions and the following disclaimer in the
              documentation and/or other materials provided with the distribution.
            * Neither the name of the copyright holder nor the names of its
              contributors may be used to endorse or promote products
              derived from this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
        ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
        WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
        DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
        (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
        LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
        ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
        (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
        SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.9
Requires-Dist: conda>=24.11
Description-Content-Type: text/markdown

# conda-anaconda-telemetry

Anaconda Telemetry for conda

## Development

To begin developing for this project, source the `develop.sh` script (macOS and Linux only).
Run the following command from the root of your project directory.

```bash
source develop.sh
```

This will create a new environment in the `./env` folder of your project and modifies
`CONDA_EXE` to point to an isolated version of conda within this environment.

To update this environment when new dependencies are added to `requirements.txt`, you
can run the same `source develop.sh` command as above.

### Setting up OTEL collector and Elastic Search

This project comes with a `docker-compose.yaml` file which can be used to start
a locally running instance of ElasticSearch and an OTEL collector container that
will submit data to ElasticSearch. To initialize this, you first need to copy
the `env-template` file to the location `.env` with the following command:

```bash
cp env-template .env
```

This `.env` file contains  sensitive information such as passwords and encryption keys.
Please update these environment variables as needed.
