Coder Social home page Coder Social logo

adamjlev / mixpanel-celery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from winhamwr/mixpanel-celery

0.0 2.0 0.0 774 KB

Asynchronous event tracking for Mixpanel using Celery

Home Page: http://winhamwr.github.io/mixpanel-celery/

License: BSD 3-Clause "New" or "Revised" License

Python 96.82% Shell 3.18%

mixpanel-celery's Introduction

mixpanel-celery

Asynchronous event tracking for Mixpanel

Build Status

mixpanel-celery helps you use Celery to asynchronously track your Mixpanel events. Waiting on HTTP requests to Mixpanel's api to complete every time you want to record something slows you down. Using mixpanel-celery gives you all of the Mixpanel goodness without any of the potential performance impact.

Works wherever Celery works

mixpanel-celery works great with Django, but because Celery works with just python, so does mixpanel-celery.

But how do I do the thing?

I'll tell you how! Have Celery running and want to asynchronously track an event? Is your event called my_event? You're in luck!

from mixpanel.tasks import EventTracker

EventTracker.delay(
    'my_event',
    {'distinct_id': 1},
    token='YOUR_API_TOKEN',
)

Boom. Once your Celery worker gets hold of that bad boy, it's tracked.

Full-on Docs

Would you like to know more? Well then you should read the docs, citizen.

Contributing

We love pull requests! Send us one, and you'll probably make Wes's day.

For details, check out the contribution tips documentation.

We like Mixpanel and Celery

This project isn't affiliated with the Mixpanel company. Just a customer's implementation of a client for their service.

mixpanel-celery's People

Contributors

adamjlev avatar antonagestam avatar dlo avatar ipmb avatar lambacck avatar nicholasserra avatar sbisker avatar valyagolev avatar winhamwr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.