Session replay and error monitoring: stop guessing why bugs happen!
Project description
highlight-io Python SDK
This directory contains the source code for the Highlight Python SDK.
E2E
The e2e directory contains supported Python frameworks integrated with our SDK for local development and testing.
Do not use the snippets verbatim as they are configured for local development and will not work in production without changes.
Install
- Install poetry
poetry install --all-extras
Run e2e apps
Django
cd e2e/highlight_djangopoetry run python manage.py runserver
Flask
cd e2e/highlight_flaskpoetry run flask run
Fastapi
Start Redis:
cd docker./start_infra(in order to start Redis)
Using Boto/Boto3 endpoints:
- Update the have the following environment variables (edit Run Confirguration in PyCharm)
E2E_AWS_ACCESS_KEY(from IAM account)E2E_AWS_SECRET_KEY(from IAM account)SQS_QUEUE_URL(from SQS queue information)
Running the main app:
cd e2e/highlight_fastapipoetry run uvicorn main:app
Running Celery worker:
cd e2e/highlight_fastapipoetry run celery -A e2e.highlight_fastapi.work worker --loglevel=INFO
Loguru
cd e2e/highlight_logurupoetry run python main.py
Run tests
poetry run pytest
Lint
poetry run black .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file highlight_io-0.10.2.tar.gz.
File metadata
- Download URL: highlight_io-0.10.2.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b910fafb25b21fd6a645fedb146d006f5685b37acc28b030c79495ade1f35bab
|
|
| MD5 |
b71fe0cf76fd0431701fe02fdc7e84ed
|
|
| BLAKE2b-256 |
ee12ebff8666228ec1b783d728cc7cb1fff8e215051a5ba803335290b3d26cd0
|
Provenance
The following attestation bundles were made for highlight_io-0.10.2.tar.gz:
Publisher:
python.yml on launchdarkly/observability-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
highlight_io-0.10.2.tar.gz -
Subject digest:
b910fafb25b21fd6a645fedb146d006f5685b37acc28b030c79495ade1f35bab - Sigstore transparency entry: 206503169
- Sigstore integration time:
-
Permalink:
launchdarkly/observability-sdk@86012564f1826f19af011bb002516b9d0bfba161 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/launchdarkly
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@86012564f1826f19af011bb002516b9d0bfba161 -
Trigger Event:
push
-
Statement type:
File details
Details for the file highlight_io-0.10.2-py3-none-any.whl.
File metadata
- Download URL: highlight_io-0.10.2-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
664e90bcdccf96e614c60228c1c4bf035d9935cbba5fb6bba73771b3ad329324
|
|
| MD5 |
bffd5b4aac9278a7d3d4d5c3b667be00
|
|
| BLAKE2b-256 |
be20501fb00345536422f335f673c0608a3628c2baa17777c8de4520173fb83b
|
Provenance
The following attestation bundles were made for highlight_io-0.10.2-py3-none-any.whl:
Publisher:
python.yml on launchdarkly/observability-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
highlight_io-0.10.2-py3-none-any.whl -
Subject digest:
664e90bcdccf96e614c60228c1c4bf035d9935cbba5fb6bba73771b3ad329324 - Sigstore transparency entry: 206503174
- Sigstore integration time:
-
Permalink:
launchdarkly/observability-sdk@86012564f1826f19af011bb002516b9d0bfba161 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/launchdarkly
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@86012564f1826f19af011bb002516b9d0bfba161 -
Trigger Event:
push
-
Statement type: