asyncio Python Analytics for Snowplow
Overview
This is a fork of to the official Snowplow Python Tracker that leverages 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 aio_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', 'Title')
asyncio.run(main())
Installation
To install the Snowplow Python Tracker locally, assuming you already have Pip installed:
$ pip install aio-snowplow-tracker --upgrade
To install the Snowplow Tracker with extras:
# Redis extra
$ pip install aio-snowplow-tracker[redis]
# Celery extra
$ pip install aio-snowplow-tracker[celery]
Find out more
The official Snowplow Python Tracker documentation is applicable to this library as well, with some minor changes:
import aio_snowplow_trackerinstead ofimport snowplow_tracker.awaitTracker calls.
Technical Docs |
Contributing |
|---|---|
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
Copyright and license
The Snowplow Python Tracker is copyright 2013-2021 Snowplow Analytics Ltd.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this software except in compliance with the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Metadata
Release files for aio-snowplow-tracker 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| aio-snowplow-tracker-1.0.2.tar.gz | 25.4 kB | Without provenance | Details for aio-snowplow-tracker-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aio_snowplow_tracker-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for aio_snowplow_tracker-1.0.2-py3-none-any.whl |
Total release size: 54.7 kB
Release files / aio-snowplow-tracker-1.0.2.tar.gz
| Download URL | aio-snowplow-tracker-1.0.2.tar.gz |
|---|---|
| Size | 25.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc88833b2804c475b22171e91e141ea09ff00087c2835547a49701c52bdecdb6
|
|
BLAKE2b-256 checksum How to use checksums |
4a2b1118570b1ca94db40eb7ef19da77cbcb3353ed542f8a990287ade7a92904
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / aio_snowplow_tracker-1.0.2-py3-none-any.whl
| Download URL | aio_snowplow_tracker-1.0.2-py3-none-any.whl |
|---|---|
| Size | 29.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
449e464f0dee429699814c75106bf2d6966afa0012878d3615c08db872370a95
|
|
BLAKE2b-256 checksum How to use checksums |
a343619158141746899e5c4d0c7e223b077d465f701335637571ebbc28945c75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for aio-snowplow-tracker 1.0.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.