Skip to content

🔵 🔵 🔵 Avoid Mixpanel overage charges by identifying and deleting incomplete user profiles.

License

Notifications You must be signed in to change notification settings

toddbirchard/mixpanel-delete-profiles

Repository files navigation

Mixpanel Delete User Profiles

Python Mixpanel GitHub Last Commit GitHub Issues GitHub Stars GitHub Forks

Avoid Mixpanel overage charges by identifying and deleting incomplete user profiles.

Getting Started

This script assumes you've exported a CSV of your Mixpanel users via the Mixpanel UI, as I'm too lazy to write a script to do this for you.

Installation

Install and run this bot via any of the 3 methods below:

Installation via requirements.txt:

$ git clone https://github.com/toddbirchard/mixpanel-delete-profiles.git
$ cd mixpanel-delete-profiles
$ python3 -m venv myenv
$ source myenv/bin/activate
$ pip3 install -r requirements.txt
$ python3 main.py

Installation via Pipenv:

$ git clone https://github.com/toddbirchard/mixpanel-delete-profiles.git
$ cd mixpanel-delete-profiles
$ pipenv shell
$ pipenv update
$ python3 main.py

Installation via Poetry:

$ git clone https://github.com/toddbirchard/mixpanel-delete-profiles.git
$ cd mixpanel-delete-profiles
$ poetry shell
$ poetry update
$ poetry run

Configuration

Replace the values in .env.example with your values and rename this file to .env:

  • MIXPANEL_API_TOKEN: Your Mixpanel API token.

Remember never to commit secrets saved in .env files to Github.

About

🔵 🔵 🔵 Avoid Mixpanel overage charges by identifying and deleting incomplete user profiles.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages