highlight-io


Namehighlight-io JSON
Version 0.9.0 PyPI version JSON
download
home_pagehttps://www.highlight.io
SummarySession replay and error monitoring: stop guessing why bugs happen!
upload_time2024-10-16 22:23:49
maintainerNone
docs_urlNone
authorVadim Korolik
requires_python<4,>=3.9
licenseApache-2.0
keywords web framework
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://python-poetry.org/docs/#installing-with-the-official-installer)
* `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  .`
            

Raw data

            {
    "_id": null,
    "home_page": "https://www.highlight.io",
    "name": "highlight-io",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.9",
    "maintainer_email": null,
    "keywords": "web, framework",
    "author": "Vadim Korolik",
    "author_email": "vadim@highlight.io",
    "download_url": "https://files.pythonhosted.org/packages/37/dd/b0d4552cdb7527374e1756fc23089fcd84b197d0767c35ef209b4e42fd6e/highlight_io-0.9.0.tar.gz",
    "platform": null,
    "description": "# highlight-io Python SDK\n\nThis directory contains the source code for the Highlight Python SDK.\n\n### E2E\n\nThe `e2e` directory contains supported Python frameworks integrated with our SDK for local development and testing.\nDo not use the snippets verbatim as they are configured for local development and will not work in production without changes.\n\n\n## Install\n\n* Install [poetry](https://python-poetry.org/docs/#installing-with-the-official-installer)\n* `poetry install --all-extras`\n\n## Run e2e apps\n\n### Django\n\n* `cd e2e/highlight_django`\n* `poetry run python manage.py runserver`\n\n### Flask\n\n* `cd e2e/highlight_flask`\n* `poetry run flask run`\n\n### Fastapi\n\nStart Redis:\n* `cd docker`\n* `./start_infra` (in order to start Redis)\n\nUsing Boto/Boto3 endpoints:\n* Update the have the following environment variables (edit Run Confirguration in PyCharm)\n* `E2E_AWS_ACCESS_KEY` (from IAM account)\n* `E2E_AWS_SECRET_KEY` (from IAM account)\n* `SQS_QUEUE_URL` (from SQS queue information)\n\nRunning the main app:\n* `cd e2e/highlight_fastapi`\n* `poetry run uvicorn main:app`\n\nRunning Celery worker:\n* `cd e2e/highlight_fastapi`\n* `poetry run celery -A e2e.highlight_fastapi.work worker --loglevel=INFO`\n\n### Loguru\n\n* `cd e2e/highlight_loguru`\n* `poetry run python main.py`\n\n## Run tests\n\n* `poetry run pytest`\n\n## Lint\n\n* `poetry run black  .`",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Session replay and error monitoring: stop guessing why bugs happen!",
    "version": "0.9.0",
    "project_urls": {
        "Documentation": "https://www.highlight.io/docs",
        "Homepage": "https://www.highlight.io",
        "Repository": "https://github.com/highlight/highlight"
    },
    "split_keywords": [
        "web",
        " framework"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "686a5db5f4e2e5b8aa5de7dc403c6ccd7242f7da6c8cba7589cb5f3d227cba2b",
                "md5": "011d4500b6600e65623c41455d50124c",
                "sha256": "2421a4b75e6b9cdefe3395a4bea9b1c630895c8c00ff3985a0c4a4cf7f765f12"
            },
            "downloads": -1,
            "filename": "highlight_io-0.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "011d4500b6600e65623c41455d50124c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.9",
            "size": 22596,
            "upload_time": "2024-10-16T22:23:47",
            "upload_time_iso_8601": "2024-10-16T22:23:47.532058Z",
            "url": "https://files.pythonhosted.org/packages/68/6a/5db5f4e2e5b8aa5de7dc403c6ccd7242f7da6c8cba7589cb5f3d227cba2b/highlight_io-0.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "37ddb0d4552cdb7527374e1756fc23089fcd84b197d0767c35ef209b4e42fd6e",
                "md5": "92ae21517d22df909913a70a7eaac46b",
                "sha256": "57297edabfe5462150b333e6f2b46333a6049023735e241712b401661baf8cd7"
            },
            "downloads": -1,
            "filename": "highlight_io-0.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "92ae21517d22df909913a70a7eaac46b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.9",
            "size": 12988,
            "upload_time": "2024-10-16T22:23:49",
            "upload_time_iso_8601": "2024-10-16T22:23:49.661186Z",
            "url": "https://files.pythonhosted.org/packages/37/dd/b0d4552cdb7527374e1756fc23089fcd84b197d0767c35ef209b4e42fd6e/highlight_io-0.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-16 22:23:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "highlight",
    "github_project": "highlight",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "highlight-io"
}
        
Elapsed time: 0.37694s