waitlyst-python


Namewaitlyst-python JSON
Version 1.6.0 PyPI version JSON
download
home_page
SummaryThe easiest way to track product analytics with python.
upload_time2023-01-16 20:39:32
maintainer
docs_urlNone
author
requires_python>=2.7
license
keywords analytics tracking
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Logo](./documentation/assets/waitlyst-github.png)

# waitlyst-python is a lightweight python library for tracking product analytics.

- Track every event on your app
- Understand your users and how to improve your product

## Documentation
Please visit https://waitlyst.co/docs to view the complete documentation.

## Getting Started
This module is distributed via pypi. You can install it using pip:


```sh
pip install waitlyst-python
```

## Tracking product analytics
![Logo](./documentation/assets/github-analytics.png)

#### Using waitlyst-python:

```python
from waitlyst.index import Waitlyst

waitlyst = Waitlyst('YOUR_SECRET_KEY')

# Before tracking any event, you need to identify the user
waitlyst.identify('USER_ID')

waitlyst.identify('USER_ID', {
    'firstName': 'John',
    'lastName': 'Doe',
    'email': 'test@example.com'
})

# or you can use an anonymous id if you don't have a user id
# when you identify a user with an anonymous id, waitlyst will automatically
# reconcile the user in your dashboard
waitlyst.set_anonymous_id('ANONYMOUS_ID')


# Tracking pageviews
waitlyst.page('Home Page')

waitlyst.page('/homepage')

waitlyst.page('/homepage', {
    'url': 'https://example.com/homepage/',
    'title': 'Home page'
})

# Track a custom event
waitlyst.track('itemPurchased', {
    "price": 3000,
    "id": '1234',
    "quantity": 1 
})
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "waitlyst-python",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=2.7",
    "maintainer_email": "",
    "keywords": "analytics,tracking",
    "author": "",
    "author_email": "Waitlyst <support@waitlyst.co>",
    "download_url": "https://files.pythonhosted.org/packages/1b/78/b531a1bc8f1000a3cfe4467afd3954217dedd33d8aababfbbb1e13950294/waitlyst-python-1.6.0.tar.gz",
    "platform": null,
    "description": "![Logo](./documentation/assets/waitlyst-github.png)\n\n# waitlyst-python is a lightweight python library for tracking product analytics.\n\n- Track every event on your app\n- Understand your users and how to improve your product\n\n## Documentation\nPlease visit https://waitlyst.co/docs to view the complete documentation.\n\n## Getting Started\nThis module is distributed via pypi. You can install it using pip:\n\n\n```sh\npip install waitlyst-python\n```\n\n## Tracking product analytics\n![Logo](./documentation/assets/github-analytics.png)\n\n#### Using waitlyst-python:\n\n```python\nfrom waitlyst.index import Waitlyst\n\nwaitlyst = Waitlyst('YOUR_SECRET_KEY')\n\n# Before tracking any event, you need to identify the user\nwaitlyst.identify('USER_ID')\n\nwaitlyst.identify('USER_ID', {\n    'firstName': 'John',\n    'lastName': 'Doe',\n    'email': 'test@example.com'\n})\n\n# or you can use an anonymous id if you don't have a user id\n# when you identify a user with an anonymous id, waitlyst will automatically\n# reconcile the user in your dashboard\nwaitlyst.set_anonymous_id('ANONYMOUS_ID')\n\n\n# Tracking pageviews\nwaitlyst.page('Home Page')\n\nwaitlyst.page('/homepage')\n\nwaitlyst.page('/homepage', {\n    'url': 'https://example.com/homepage/',\n    'title': 'Home page'\n})\n\n# Track a custom event\nwaitlyst.track('itemPurchased', {\n    \"price\": 3000,\n    \"id\": '1234',\n    \"quantity\": 1 \n})\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "The easiest way to track product analytics with python.",
    "version": "1.6.0",
    "split_keywords": [
        "analytics",
        "tracking"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "038a42d7ce9041cb3d498141c24e55c031d261e0bab8b833a96d7994db48d07e",
                "md5": "7d135a600386b1b7aceb57de3d3a1660",
                "sha256": "5873f995f0b45de89afe082da4c9b27a37f7062b068d3e3bef3a9f32bee01065"
            },
            "downloads": -1,
            "filename": "waitlyst_python-1.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7d135a600386b1b7aceb57de3d3a1660",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=2.7",
            "size": 6233,
            "upload_time": "2023-01-16T20:39:30",
            "upload_time_iso_8601": "2023-01-16T20:39:30.835460Z",
            "url": "https://files.pythonhosted.org/packages/03/8a/42d7ce9041cb3d498141c24e55c031d261e0bab8b833a96d7994db48d07e/waitlyst_python-1.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b78b531a1bc8f1000a3cfe4467afd3954217dedd33d8aababfbbb1e13950294",
                "md5": "03603f2d5b6cc5a7ae0e935f5d5f9ecb",
                "sha256": "b13d75b8bfbc944342b12f0be5a616ed42001e96e574cc34a11241d4061ba366"
            },
            "downloads": -1,
            "filename": "waitlyst-python-1.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "03603f2d5b6cc5a7ae0e935f5d5f9ecb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=2.7",
            "size": 5721,
            "upload_time": "2023-01-16T20:39:32",
            "upload_time_iso_8601": "2023-01-16T20:39:32.615465Z",
            "url": "https://files.pythonhosted.org/packages/1b/78/b531a1bc8f1000a3cfe4467afd3954217dedd33d8aababfbbb1e13950294/waitlyst-python-1.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-16 20:39:32",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "waitlyst-python"
}
        
Elapsed time: 0.02965s