Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/surister/wakapy
Wakatime data manipulation
https://github.com/surister/wakapy
Last synced: 8 days ago
JSON representation
Wakatime data manipulation
- Host: GitHub
- URL: https://github.com/surister/wakapy
- Owner: surister
- License: mit
- Created: 2019-01-10T16:03:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-11T12:06:53.000Z (almost 6 years ago)
- Last Synced: 2024-10-12T03:23:03.025Z (4 months ago)
- Language: Python
- Homepage:
- Size: 154 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.md
Awesome Lists containing this project
README
====================
Introduction
====================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 `_ 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).Wakapy features:
----------------
1. **Extensive data class containerization**
(Every bit of data from the json file is accessible with the library).2. **Extra functionalities** added to ease
the data manipulation.3. **Date slicing**, in other words, you can get the data from a chosen range,
similar to the Wakatime *paid features*4. 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 itQuick example:
--------------
Code: ::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