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 all currently supported Python versions. Install it in your virtual enrivonment with:

python -m 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: python -m tinderdata [OPTIONS] [DATA_PATH]                                      
                                                                                        
 Get insight on your Tinder usage.                                                      
                                                                                        
╭─ Arguments ──────────────────────────────────────────────────────────────────────────╮
│   data_path      [DATA_PATH]  Location, relative or absolute, of the exported JSON   │
│                               file with your user data.                              │
│                               [default: None]                                        │
╰──────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────╮
│ --show-figures          --no-show-figures          Whether or not to show figures    │
│                                                    when plotting insights.           │
│                                                    [default: no-show-figures]        │
│ --save-figures          --no-save-figures          Whether or not to save figures    │
│                                                    when plotting insights.           │
│                                                    [default: no-save-figures]        │
│ --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


Made with ♥︎ by fsoubelet
MIT © 2019 Felix Soubelet

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.2.tar.gz (5.4 MB view details)

Uploaded Source

Built Distribution

tinderdata-0.4.2-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinderdata-0.4.2.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for tinderdata-0.4.2.tar.gz
Algorithm Hash digest
SHA256 3db02f1ca9e12822e00ce3e10ed7c15e020eb07351a54ff19c21cf547a45f2fb
MD5 1466479d0f4a3483ba8f819a1eba7c07
BLAKE2b-256 b5ba732470cfb76f99a593583055aaa9aed6374eafc5fb7d2e51d517aea7a829

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tinderdata-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for tinderdata-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b0afb7e124074fb4f96ef726f67ae96b3983d8123aad91ee92b8751231c61688
MD5 09551f18ec41ef394da1e8c9cbd3c04c
BLAKE2b-256 d7f5269ec9317c39b08ab93d7234dfb2cd5ca77a13079ea2d084a9e878922b1b

See more details on using hashes here.

Provenance

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