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 <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).
Wakapy features:
-
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
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.
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
Project details
Release history Release notifications | RSS feed
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 wakapy-0.0.1.tar.gz
.
File metadata
- Download URL: wakapy-0.0.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4065544e414753216cbdcebb23f7b0984c31bfa85b5ff233327f161daa27d988 |
|
MD5 | 2d9590e387282919e5894387f81fbc47 |
|
BLAKE2b-256 | 69aeb8086d53454f25d93e6d5816880482d7aa89a958a41aaa44801e62057b75 |
File details
Details for the file wakapy-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: wakapy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed90d8d06c19cfd98766ec330413dc27699eff4fa51c4b76a58b3449eccd7972 |
|
MD5 | 19bcb050ebe7585eb68c0f01318bf322 |
|
BLAKE2b-256 | d5eafa16270ba8f1a020ea6d1586492d1a24efcbad8ab692036599f3eb5c7e98 |