vnlog
matplotlib
Our great sponsors
vnlog | matplotlib | |
---|---|---|
24 | 1 | |
158 | 4 | |
- | - | |
6.7 | 0.0 | |
3 months ago | over 5 years ago | |
Perl | C++ | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vnlog
-
Qsv: Efficient CSV CLI Toolkit
An incomplete list of other similar tools: https://github.com/dkogan/vnlog/#description
For simple analyses (i.e. what most people do most of the time) doing this on the commandline gets you there faster. I use vnlog (https://github.com/dkogan/vnlog/). By the time you fired up your editor to write your Python code, I already have analyses and plots ready.
-
Joining CSV Data Without SQL: An IP Geolocation Use Case
Alternative very appropriate for some uses cases: `vnl-join` from the vnlog toolkit (https://github.com/dkogan/vnlog). Uses the `join` tool from coreutils (works well, has been around forever), and `vnlog` for nice column labelling
-
Miller: Like Awk, sed, cut, join, and sort for CSV, TSV, and tabular JSON
There's also https://github.com/dkogan/vnlog/ which is a wrapper around the existing coreutils, so all the options work, and there's nothing to learn
-
jupyter and vim
I found using shell as an interactive environment to be pretty productive using https://github.com/dkogan/feedgnuplot and https://github.com/dkogan/vnlog. The filesystem becomes your state (instead of in memory state of your Python interpreter) which forces you to write Unix-style tools. Plotting with feedgnuplot spins up an interactive Qt plotter which I often used to explore 3D plots. It's not "inline" and fancy and does take a bit of grokking but I eventually found it more productive than Jupyter, especially as my development moved away from Python.
-
Miller CLI β Like Awk, sed, cut, join, and sort for CSV, TSV and JSON
Similar, but using the ACTUAL awk, sed, join, sort tools you already have and know about: https://github.com/dkogan/vnlog/
- A Straightforward Way to Extend CSV with Metadata
-
Best scientific graphing library?
Write space delimited tabular data (ideally in vnlog format) and plot it using feedgnuplot. Also helps decouple concerns (data generating application focuses on generating data).
-
plotpipe: plot data from a pipe
I use feedgnuplot in conjunction with vnlog all the time at work! Itβs a great pipeline.
-
Setting up personal OKR (objectives and key-results)
I have a text file in a known location. It's backed up on git.
I can open and edit that file quickly using bash. From within VIM I can quickly commit to reduce the # keystrokes. More details: https://github.com/jodavaho/bashlog
(Really though, you can just save as an environment variable your file location)
The text file is structured with space-delimited text, like this: https://github.com/dkogan/vnlog
My current structure:
"# date item amount"
Easy to open, easy to plop down today's date and the item / amount. Save multiple date/item entries and add them inscripts ... Easy to save. Done.
The work came in building stuff to plot it:
I have other files that link "items" to goals or other metadata like categories, etc. Like a relational database, but easily edited in text.
For example, to make a link from daily items to Key Results
"# item okr"
okr is structured like this: ...
For example:
2020.Q4.01.01 is workout 90x (1/day)
2020.Q4.02.02 is get through 26 textbook chapters
2020.Q4.02.03 is 100 h studying literature
The categories are usually Fighting (I box), Tech, Mental health, and Social, but YMMV
Another example is "workout-mapping.vnl" with structure:
matplotlib
-
Best scientific graphing library?
By using pybind11 that one can be written with far fewer lines of code.
What are some alternatives?
matplotplusplus - Matplot++: A C++ Graphics Library for Data Visualization ππΎ
ttyplot - a realtime plotting utility for terminal/console with data input from stdin
implot - Immediate Mode Plotting
matplotlib-cpp - Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
feedgnuplot - Tool to plot realtime and stored data from the commandline, using gnuplot.
RecordStream - commandline tools for slicing and dicing JSON records.
nvim-ipy - IPython/Jupyter plugin for Neovim
jupytext.vim - Vim plugin for editing Jupyter ipynb files via jupytext
nushell - A new type of shell