Wakatime data manipulation
Wakapy is a python library aiming for Python 3.6+ versions whose purpose is to provide easy data manipulation to the developer.
.. note:: 1. This project is not related to
WakaTime <https://wakatime.com/>_ or its developer team in any way.
2. This project revolves around the json file that you can download from your Wakatime account
Wakapy basically loads the big json file containing all of your data provided for free by WakaTime and group every piece of data in convenient classes. The Wakatime json file is big, a 161 days file, where only 121 days actually contain relevant data is roughly 75k long (in my case).
Extensive data class containerization (Every bit of data from the json file is accessible with the library).
Extra functionalities added to ease the data manipulation.
Date slicing, in other words, you can get the data from a chosen range, similar to the Wakatime paid features
Some nice charts out of the box for the people who just want to get a quick insight of the data without putting too much effort on it
from wakapy import User user = User('/home/surister/data.json') chart = user.pie_chart('lan') # lan = languages. See the different options here. chart.show() # Shows the chart. chart.save('/home/surister/mychart.png') # Saves the chart to the desired filepath.
This would output:
.. image:: /docs/source/_static/example1.png
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size wakapy-0.0.1-py3-none-any.whl (11.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size wakapy-0.0.1.tar.gz (9.1 kB)||File type Source||Python version None||Upload date||Hashes View hashes|