semvec/pypi-packages huggingface dataset:
lumigo-python-wrapper 0.3.14
Lumigo wrapper to trace distributed architecture
License: Apache License 2.0

# lumigo-python-wrapper :stars:

![CircleCI](https://circleci.com/gh/lumigo-io/lumigo-python-wrapper/tree/master.svg?style=svg&circle-token=d98d1b95f34b49be2caa58c49d8a70d6a7587b88)
![Version](https://badge.fury.io/py/lumigo-python-wrapper.svg)
![codecov](https://codecov.io/gh/lumigo-io/lumigo-python-wrapper/branch/master/graph/badge.svg?token=d8CvqyKTnq)

This is [`lumigo-python-wrapper`](https://), Lumigo's Python tracer for distributed tracing and performance monitoring.

Supported Python Runtimes: 3.6, 3.7, 3.8

# Usage

# Manually

## Configuration
`@lumigo/lumigo_python_wrapper` offers several different configuration options. Pass modify the environment variables:

* `LUMIGO_DEBUG=TRUE` - Enables debug logging
* `LUMIGO_SECRET_MASKING_REGEX=["regex1", "regex2"]` - Prevents Lumigo from sending keys that match the supplied regular expressions. All regular expressions are case-insensitive. By default, Lumigo applies the following regular expressions: `[".*pass.*", ".*key.*", ".*secret.*", ".*credential.*", ".*passphrase.*"]`. 

# Contributing

Contributions to this project are welcome from all! Below are a couple pointers on how to prepare your machine, as well as some information on testing.

## Preparing your machine
Getting your machine ready to develop against the package is a straightforward process:

1. Clone this repository, and open a CLI in the cloned directory
1. Create a virtual environment for the project `virtualenv venv -p python3`
1. Activate the virtualenv: `. venv/bin/activate`
1. Install dependencies: `pip install -r requirements.txt`
1. Navigate to the source directory: `cd src` and 
1. Run the setup script: `python setup.py develop`.
1. Run `pre-commit install` in your repository to install pre-commit hooks

**Note**: If you are using pycharm, ensure that you set it to use the virtualenv virtual environment manager. This is available in the menu under PyCharm -> Preferences -> Project -> Interpreter


## Running the test suite
We've provided an easy way to run the unit test suite:
* Run `./scripts/checks.sh` in the root folder.