Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

highlight-io

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlight-io

Session replay and error monitoring: stop guessing why bugs happen!

  • 0.9.0
  • PyPI
  • Socket score

Maintainers
1

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 .

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc