Skip to main content

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_django
  • poetry run python manage.py runserver

Flask

  • cd e2e/highlight_flask
  • poetry 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_fastapi
  • poetry run uvicorn main:app

Running Celery worker:

  • cd e2e/highlight_fastapi
  • poetry run celery -A e2e.highlight_fastapi.work worker --loglevel=INFO

Loguru

  • cd e2e/highlight_loguru
  • poetry run python main.py

Run tests

  • poetry run pytest

Lint

  • poetry run black .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

highlight_io-0.10.2.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

highlight_io-0.10.2-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

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

Hashes for highlight_io-0.10.2.tar.gz
Algorithm Hash digest
SHA256 b910fafb25b21fd6a645fedb146d006f5685b37acc28b030c79495ade1f35bab
MD5 b71fe0cf76fd0431701fe02fdc7e84ed
BLAKE2b-256 ee12ebff8666228ec1b783d728cc7cb1fff8e215051a5ba803335290b3d26cd0

See more details on using hashes here.

Provenance

The following attestation bundles were made for highlight_io-0.10.2.tar.gz:

Publisher: python.yml on launchdarkly/observability-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for highlight_io-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 664e90bcdccf96e614c60228c1c4bf035d9935cbba5fb6bba73771b3ad329324
MD5 bffd5b4aac9278a7d3d4d5c3b667be00
BLAKE2b-256 be20501fb00345536422f335f673c0608a3628c2baa17777c8de4520173fb83b

See more details on using hashes here.

Provenance

The following attestation bundles were made for highlight_io-0.10.2-py3-none-any.whl:

Publisher: python.yml on launchdarkly/observability-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page