A silly utility to explore your Tinder data.
Project description
Tinderdata: Get insight on your Tinder user data.
A very simple package to mine your Tinder user data, and get insight on your time on the service.
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
The script parses arguments from the commandline. The usage goes as:
python -m tinder_data [-h] -p PATH [--show-figures SHOW] [--save-figures SAVE] [-l LOG_LEVEL]
The different options are as follows:
usage: __main__.py [-h] -p PATH [--show-figures SHOW] [--save-figures SAVE]
[-l LOG_LEVEL]
Getting insight on your Tinder usage.
optional arguments:
-h, --help show this help message and exit
-p PATH, --path-to-data PATH
Absolute path to the json file of your tinder data.
Can be absolute or relative.
--show-figures SHOW Whether or not to show figures when plotting insights.
Defaults to False.
--save-figures SAVE Whether or not to save figures when plotting insights.
Defaults to False.
-l LOG_LEVEL, --logs LOG_LEVEL
The base console logging level. Can be 'debug',
'info', 'warning' and 'error'. Defaults to 'info'.
An example command is then:
python -m tinderdata -p path_to_tinderdata.json --logs debug --save-figures True
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("tinderdata.json")
tinder.output_sankey_string()
tinder.plot_messages_loyalty(showfig=True, savefig=False)
Output example
Here are examples of the script's outputs:
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
Built Distribution
File details
Details for the file tinderdata-0.3.0.tar.gz
.
File metadata
- Download URL: tinderdata-0.3.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a26959606a77fb196eaaa9d7d91a21c9345101b08dc6293d4daafaee0587fc |
|
MD5 | f9f5691ba6b3d33656fb04ca55065706 |
|
BLAKE2b-256 | ba46ba91a2c6114c09e2c6bd57d9b12ded9793176054c349070dc08a12c92623 |
File details
Details for the file tinderdata-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: tinderdata-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d214d37513c48374c5a46d04721cabe155bc116b343d7f834ef238da8da7fe2 |
|
MD5 | 597b2e4f90e195359a3e5855647152e2 |
|
BLAKE2b-256 | 75c1703e904ba9dd449ac140b70d251a58e89169da70d5c72e29bd2bc565de3f |