tokei-pie
Render tokei results to charts.
Installation
pip install tokei-pie
Usage
$ tokei -o json | tokei-pie
(This is how django looks like!)
jut - JUpyter notebook Terminal viewer. The command line tool view the IPython/Jupyter notebook in the terminal. Install pip install jut Usage $jut --
ColorShell ─ 1.5 Planned for v2: setup.sh for setup alias This script converts HEX and RGB code to x1b x1b is code for colorize outputs, works on ou
Bokeh is an interactive visualization library for modern web browsers. It provides elegant, concise construction of versatile graphics, and affords hi
whiteboxgui An interactive GUI for WhiteboxTools in a Jupyter-based environment GitHub repo: https://github.com/giswqs/whiteboxgui Documentation: http
plotly.py Latest Release User forum PyPI Downloads License Data Science Workspaces Our recommended IDE for Plotly’s Python graphing library is Dash En
Bokeh is an interactive visualization library for modern web browsers. It provides elegant, concise construction of versatile graphics, and affords hi
nx_altair Draw NetworkX graphs with Altair nx_altair offers a similar draw API to NetworkX but returns Altair Charts instead. If you'd like to contrib
pdvega: Vega-Lite plotting for Pandas Dataframes pdvega is a library that allows you to quickly create interactive Vega-Lite plots from Pandas datafra
plotly.py Latest Release User forum PyPI Downloads License Data Science Workspaces Our recommended IDE for Plotly’s Python graphing library is Dash En
Currently when trying to run on any directory on Windows gives the following error.
Traceback (most recent call last):
File "C:\Users\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\AppData\Local\Programs\Python\Python310\Scripts\tokei-pie.exe\__main__.py", line 7, in <module>
File "C:\Users\AppData\Local\Programs\Python\Python310\lib\site-packages\tokei_pie\main.py", line 227, in main
sectors = read_root(data)
File "C:\Users\AppData\Local\Programs\Python\Python310\lib\site-packages\tokei_pie\main.py", line 197, in read_root
sectors.extend(read_reports(reports, key))
File "C:\Users\erin.power\AppData\Local\Programs\Python\Python310\lib\site-packages\tokei_pie\main.py", line 176, in read_reports
sectors = convert2sectors(tree, dict_reports, parent_id)
File "C:\Users\AppData\Local\Programs\Python\Python310\lib\site-packages\tokei_pie\main.py", line 168, in convert2sectors
dir2sector(".", dirs, reports, sectors, language)
File "C:\Users\AppData\Local\Programs\Python\Python310\lib\site-packages\tokei_pie\main.py", line 112, in dir2sector
subdirs = dirs[dirname]
KeyError: '.'
Reproduce:
$ tokei -o json /path/to/my_code | tokei-pie
Traceback (most recent call last):
File "/Users/fming/wkspace/github/tokei-pie-plate/venv/bin/tokei-pie", line 8, in <module>
sys.exit(main())
File "/Users/fming/wkspace/github/tokei-pie-plate/venv/lib/python3.10/site-packages/tokei_pie/main.py", line 227, in main
sectors = read_root(data)
File "/Users/fming/wkspace/github/tokei-pie-plate/venv/lib/python3.10/site-packages/tokei_pie/main.py", line 197, in read_root
sectors.extend(read_reports(reports, key))
File "/Users/fming/wkspace/github/tokei-pie-plate/venv/lib/python3.10/site-packages/tokei_pie/main.py", line 176, in read_reports
sectors = convert2sectors(tree, dict_reports, parent_id)
File "/Users/fming/wkspace/github/tokei-pie-plate/venv/lib/python3.10/site-packages/tokei_pie/main.py", line 168, in convert2sectors
dir2sector(".", dirs, reports, sectors, language)
File "/Users/fming/wkspace/github/tokei-pie-plate/venv/lib/python3.10/site-packages/tokei_pie/main.py", line 140, in dir2sector
_blanks, _code, _comments = dir2sector(
File "/Users/fming/wkspace/github/tokei-pie-plate/venv/lib/python3.10/site-packages/tokei_pie/main.py", line 140, in dir2sector
_blanks, _code, _comments = dir2sector(
File "/Users/fming/wkspace/github/tokei-pie-plate/venv/lib/python3.10/site-packages/tokei_pie/main.py", line 140, in dir2sector
_blanks, _code, _comments = dir2sector(
[Previous line repeated 1 more time]
File "/Users/fming/wkspace/github/tokei-pie-plate/venv/lib/python3.10/site-packages/tokei_pie/main.py", line 118, in dir2sector
stats = reports[item]
KeyError: './lib/python3.10/site-packages/jinja2/compiler.py'
There seems to be something wrong with the relative path calculation.
When I pass folders as arguments to token I get a key error in tokei-pie
# in tokei repo
token src -o json | tokei-pie
Traceback (most recent call last):
File "/opt/homebrew/bin/tokei-pie", line 8, in <module>
sys.exit(main())
File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 213, in main
sectors = read_root(data)
File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 194, in read_root
sectors.extend(read_reports(reports, key))
File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 173, in read_reports
sectors = convert2sectors(tree, dict_reports, parent_id)
File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 165, in convert2sectors
dir2sector(".", dirs, reports, sectors, language)
File "/opt/homebrew/lib/python3.9/site-packages/tokei_pie/main.py", line 115, in dir2sector
stats = reports[item]
KeyError: './input.rs'
.
by @laixintao in https://github.com/laixintao/tokei-pie/pull/4Full Changelog: https://github.com/laixintao/tokei-pie/compare/v1.1.2...v1.2.0
Source code(tar.gz)colorlover Color scales for humans IPython notebook: https://plot.ly/ipython-notebooks/color-scales/ import colorlover as cl from IPython.display impo
Note: See MarvinT/calmap for the maintained version of the project. That is also the version that gets published to PyPI and it has received several f
RasgoQL Write python locally, execute SQL in your data warehouse ≪ Read the Docs · Join Our Slack » RasgoQL is a Python package that enables you to ea
pivottablejs: the Python module Drag’n’drop Pivot Tables and Charts for Jupyter/IPython Notebook, care of PivotTable.js Installation pip install pivot
Commit Bot Automatically generate GitHub activity! We've all wanted to be the developer that commits every day, but that requires a lot of work. Let's
mplx Some useful extensions for Matplotlib. Contour plots for functions with discontinuities plt.contour mplx.contour(max_jump=1.0) Matplotlib has pro
An open access book on scientific visualization using python and matplotlib
Smarthome Dashboard with Grafana & InfluxDB This is a complete overhaul of my Raspberry Dashboard done with Flask. I switched from sqlite to InfluxDB
VisPy: interactive scientific visualization in Python Main website: http://vispy.org VisPy is a high-performance interactive 2D/3D data visualization
BoxPlotGraphAutomation Automatization of BoxPlot graph usin Python / Excel. This file is an automation of BoxPlot-Graph using python graph library mat
Jalali Pandas Extentsion A pandas extension that solves all problems of Jalai/Iraninan/Shamsi dates Features Series Extenstion Convert string to Jalal
COVID-19-Greece A python-generated website for visualizing the novel coronavirus (COVID-19) data for Greece. Data sources Data provided by Johns Hopki
Dashboard For The DexConnect Platform of Dexterity Global Working prototype submission for internship at Dexterity Global Group. Dashboard for real ti
RockNext is an Open Source extending ERPNext built on top of Frappe bringing enterprise ready utilization.
Bokeh-Python-Visualization A Bokeh project developed for learning and teaching Bokeh interactive plotting! See my medium blog posts about making bokeh
📊 Extensions for Matplotlib
Datapane Teams | Documentation | API Docs | Changelog | Twitter | Blog Share interactive plots and data in 3 lines of Python. Datapane is a Python lib
Data visualisation Hey, You can learn Basic to advanced level Data visualisation techniques from this Repository. Data visualization is the graphic re
Orbitals in Python A small collection of tools made by me, that you can use to visualize atomic orbitals in both 2D and 3D in different aspects, and o
Draw tree diagrams This repository contains two very different scripts to produce hierarchical tree diagrams like this one: $ ./classtree.py collectio