How I create GitHub project reporting from scratch

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • GitHub repo OhMyCode

    Analytics and reports for GitHub projects

    All source code you can find on GitHub here.

  • GitHub repo matplotlib

    matplotlib: plotting with Python

    Firstly, I tried the most popular visualization library matplotlib. But its configuration didn’t seem clear to me, so moved on with other options.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo Altair

    Declarative statistical visualization library for Python

    Stopped at altair, its result from the box was quite nice and simple. But I abandoned it as well while implementing the email sending. The reason was that altair saves the rendered image in a specified path. And I would like to avoid disk operations (writing and reading the image in the same process).

  • GitHub repo Pandas

    Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

    Fortunately, I found a chart generator in pandas (a library for data analysis) that uses matplotlib under the hood. Working with it is very simple: create a table, add data, and plot lines.

  • GitHub repo Python-Markdown

    A Python implementation of John Gruber’s Markdown with Extension support.

    For this purpose, I tried markdown library. It's good to create markdown files and very convenient in working with text and tables. However, it renders the content in html without any styles. Hence, the result was far from a pretty looking markdown in editors.

  • GitHub repo marked

    A markdown parser and compiler. Built for speed.

    So I found marked.js and learned that tables are an extension to the original markdown. While I was trying to run CLI of this lib in the console, I got the same result: bare html without css.

  • GitHub repo markdown-it

    Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

    Next was markdown-it.js. It was getting even harder because this lib didn’t have a CLI. But the demo looked tempting, so I wrote a js script that reads the file, uses markdown-it, and writes the result back to the file. And you know what? The same result. Bare html.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo generate-github-markdown-css

    Generate the CSS for github-markdown-css

    And at the moment when I found script that gets styles from GitHub for markdown rendering, I stopped.

  • GitHub repo Jinja2

    A very fast and expressive template engine.

    So I went back to boring technology. I took Jinja2 and rendered html from the template. The code has almost halved, and rationality has doubled.

  • GitHub repo requests

    A simple, yet elegant, HTTP library.

    As an email service, I took Mailgun. It’s free for three months with 5K emails/month, and then $0.8 for every 1K emails. The interface is as simple as possible: send a request for a specific URL with an authentication token. Used requests for HTTP calls.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts