Skip to main content

Wakatime data manipulation

Project description

==================== 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 it

Quick example:

Code: ::

from wakapy import User

user = User('/home/surister/data.json')
chart = user.pie_chart('lan')
# lan = languages. See the different options here.
# Shows the chart.'/home/surister/mychart.png')
# Saves the chart to the desired filepath.

This would output:

.. image:: /docs/source/_static/example1.png

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wakapy, version 0.0.1
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
Filename, size wakapy-0.0.1.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page