Skip to main content

Asyncio Snowplow event tracker for Python. Add analytics to your Python and Django apps, webapps and games

Project description

Build Status Test Coverage http://img.shields.io/badge/license-Apache--2-blue.svg?style=flat

Pypi Snowplow Tracker Python Versions Monthly Downloads

Overview

This is a fork of to the official Snowplow Python Tracker that applies asyncio for high-performance event tracking.

With this tracker you can collect event data from your Python-based applications, games or Python web servers/frameworks.

Example

from snowplow_tracker import Tracker, Emitter, Subject
import asyncio

async def main():
    e = Emitter('d3rkrsqld9gmqf.cloudfront.net')
    s = Subject().set_user_id('5432')
    t = Tracker(e, subject=s, app_id='example-app')
    await t.track_page_view('http://example.com', 'Example Page')

asyncio.run(main())

Find out more

Technical Docs

Setup Guide

Contributing

techdocs

setup

contributing

Technical Docs

Setup Guide

Contributing

Python Support

Python version

snowplow-tracker version

>=3.7

1.0.0

Maintainer Quickstart

Assuming pyenv is installed

host$ git clone git@github.com:snowplow/snowplow-python-tracker.git
host$ cd snowplow-python-tracker
host$ pyenv install 3.7.11 && pyenv install 3.8.11 && pyenv install 3.9.6
host$ ./run-tests.sh deploy
host$ ./run-tests.sh test

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

aio-snowplow-tracker-1.0.0a2.tar.gz (23.7 kB view hashes)

Uploaded Source

Built Distribution

aio_snowplow_tracker-1.0.0a2-py3-none-any.whl (29.0 kB view hashes)

Uploaded Python 3

Supported by

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