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 .
Release files for highlight-io 0.10.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| highlight_io-0.10.2.tar.gz | 13.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| highlight_io-0.10.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.1 kB
Release files / highlight_io-0.10.2.tar.gz
| Download URL | highlight_io-0.10.2.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b910fafb25b21fd6a645fedb146d006f5685b37acc28b030c79495ade1f35bab
|
|
BLAKE2b-256 checksum How to use checksums |
ee12ebff8666228ec1b783d728cc7cb1fff8e215051a5ba803335290b3d26cd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 3, 2025.
Transparency logRelease files / highlight_io-0.10.2-py3-none-any.whl
| Download URL | highlight_io-0.10.2-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
664e90bcdccf96e614c60228c1c4bf035d9935cbba5fb6bba73771b3ad329324
|
|
BLAKE2b-256 checksum How to use checksums |
be20501fb00345536422f335f673c0608a3628c2baa17777c8de4520173fb83b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 3, 2025.
Transparency log