Metadata-Version: 2.1
Name: tmobile-call-log
Version: 0.1.0
Summary: Creates plots from T-Mobile personal call logs.
Home-page: UNKNOWN
License: MIT
Author: Manny Ochoa
Author-email: dev@manuelochoa.com
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: matplotlib (>=3.0,<4.0)
Requires-Dist: numpy (>=1.15,<2.0)
Requires-Dist: pandas (>=0.23.4,<0.24.0)
Description-Content-Type: text/markdown

# tmobile_call_log
Creates bar charts and pie charts from call logs. Processes CSV files
downloaded directly from T-Mobile's website (customer interface). Works as of
2017.

# Installation
To install tmobile_call_log, use pip (or similar):
```{.sourceCode .bash}
pip install tmobile-call-log
```

# Documentation

## Create log object to compile all data

* `data_dir` is the directory where all the call logs (downloaded csv files)
are located.
* `ignore_number` is any other number that is also yours and appears in the
log (e.g., Google voice number).

```python
log = CallActivity(data_dir='./data/', ignore_number='(123) 555-1234')
```

## Plot bar charts

Plots bar charts for call time and call quantity using the top `n`
most frequent phone numbers.
```python
log.plot_bar(n=15)
```


## Plot pie charts

Plots pie charts for call time and call quantity using the top `n`
most frequent phone numbers.
```python
log.plot_pie(n=9)
```

