Skip to main content

A silly utility to explore your Tinder data.

Project description

tinderdata

A very simple package to get insight on your Tinder usage.

Install

This code is compatible with Python 3.6+. If for some reason you have a need for it, you can simply install it in your virtual enrivonment with:

pip install tinderdata

Usage

This utility requires that you export your data from the Tinder platform, as described here. You should obtain a single tinderdata.json file, which is the input required for this script.

With this package installed in the activated enrivonment, it can be called through python -m tinderdata or through a newly created tinderdata command.

Detailed usage goes as follows:

Usage: tinderdata [OPTIONS] [DATA_PATH]

  Get insight on your Tinder usage.

Arguments:
  [DATA_PATH]  Location, relative or absolute, of the exported JSON file with
               your user data.


Options:
  --show-figures / --no-show-figures
                                  Whether or not to show figures when plotting
                                  insights.  [default: False]

  --save-figures / --no-save-figures
                                  Whether or not to save figures when plotting
                                  insights.  [default: False]

  --log-level TEXT                The base console logging level. Can be
                                  'debug', 'info', 'warning' and 'error'.
                                  [default: info]

  --install-completion            Install completion for the current shell.
  --show-completion               Show completion for the current shell, to
                                  copy it or customize the installation.

  --help                          Show this message and exit.

An example command is then:

python -m tinderdata path_to_tinderdata.json --save-figures --log-level debug

The script print out a number of insight statements, and finally the text you should paste to get a Sankey diagram. It will then create a plots folder and populate it with visuals.

You can otherwise import the high-level object from the package, and use at your convenience:

from tinderdata import TinderData

tinder = TinderData("path/to/tinderdata.json")
tinder.output_sankey_string()
tinder.plot_messages_loyalty(showfig=True, savefig=False)

Output example

Here are examples of the script's outputs:

Example_1

Example_2

License

Copyright © 2019-2020 Felix Soubelet. MIT License

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

tinderdata-0.4.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

tinderdata-0.4-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file tinderdata-0.4.tar.gz.

File metadata

  • Download URL: tinderdata-0.4.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.3 Darwin/19.6.0

File hashes

Hashes for tinderdata-0.4.tar.gz
Algorithm Hash digest
SHA256 065ea2c19f33212619dc0fbfe93d2dea83ba1ca80e46b55d872a0fdc02819088
MD5 1b628177c87d0a3480edfb5cf74c56bf
BLAKE2b-256 8ae75a05ec1e4a2cb251bff8a8133495b7e4873ef936960f0f1122fab7a55567

See more details on using hashes here.

File details

Details for the file tinderdata-0.4-py3-none-any.whl.

File metadata

  • Download URL: tinderdata-0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.3 Darwin/19.6.0

File hashes

Hashes for tinderdata-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 79956815abd09270205bfc048a0b7b80d5cd78cd86d559675f432b1c69cd5963
MD5 40a9de25f9d771fc09f5805802df4b22
BLAKE2b-256 c6dddf7ea433e953c37bbd255adec6e71c1902016f4db1e56cdac3a71bf5af4e

See more details on using hashes here.

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