An app to show the total number of lines of code written by an user.

Overview

Lines of code

Have you ever wondered how many lines of code you wrote in github? This tool will calculate it for you! To calculate the total number of lines you (or your friend) have written,

  • Clone this repo using git clone https://github.com/Jothin-kumar/lines-of-code.git.
  • Generate a token from https://github.com/settings/tokens.
  • navigate to lines-of-code/scripts using cd "lines-of-code/scripts".
  • run terminal.py using python terminal.py in windows or python3 terminal.py in ubuntu.
  • Enter the token generated in step 2.
  • Enter user id to claculate your friend's total lines of code or leave it blank to calculate your total lines of code. To find a person's user id, follow the steps here.
  • Wait for it to complete calculating.
  • Done!

How to find a person's user id

To find a person's user id,

You might also like...
A static type analyzer for Python code

pytype - ? ✔ Pytype checks and infers types for your Python code - without requiring type annotations. Pytype can: Lint plain Python code, flagging c

Guesslang detects the programming language of a given source code
Guesslang detects the programming language of a given source code

Detect the programming language of a source code

Learning source code review, spot vulnerability, find some ways how to fix it.

Learn Source Code Review Learning source code review, spot vulnerability, find some ways how to fix it. WordPress Plugin Authenticated Stored XSS on C

Print a directory tree structure in your Python code.

directory-structure Print a directory tree structure in your Python code. Download You can simply: pip install directory-structure Or you can also: Cl

Python package to parse and generate C/C++ code as context aware preprocessor.

Devana Devana is a python tool that make it easy to parsing, format, transform and generate C++ (or C) code. This tool uses libclang to parse the code

Metrinome is an all-purpose tool for working with code complexity metrics.
Metrinome is an all-purpose tool for working with code complexity metrics.

Overview Metrinome is an all-purpose tool for working with code complexity metrics. It can be used as both a REPL and API, and includes: Converters to

Find usage statistics (imports, function calls, attribute access) for Python code-bases

Python Library stats This is a small library that allows you to query some useful statistics for Python code-bases. We currently report library import

A very minimalistic python module that lets you track the time your code snippets take to run.

Clock Keeper A very minimalistic python module that lets you track the time your code snippets take to run. This package is available on PyPI! Run the

A simple stopwatch for measuring code performance with static typing.

A simple stopwatch for measuring code performance. This is a fork from python-stopwatch, which adds static typing and a few other things.

Comments
  • added excepted files and getting user by name instead by ID

    added excepted files and getting user by name instead by ID

    I managed to exclude the lines from files like package.json or package-lock.json. Also I made that the user has to input only the name of the user to look for, not the ID.

    enhancement 
    opened by ticianomorvan 16
  • Module Requirement

    Module Requirement

    Is your feature request related to a problem? Please describe. The problem is it needs a module called Github! But i don't have it

    Describe the solution you'd like Please do a requirement.txt so that pip can read and install the neccesary modules so we don't have to face Module Problems.

    Describe alternatives you've considered I considered u can hardscript the program to install PYGithub or include in readme to install the requirements

    Additional context Don't need!

    enhancement 
    opened by Arghadatta 2
  • Improvements

    Improvements

    The following features are added:

    • Emails, GitHub user/org and repos can be deleted.
    • Emails, GitHub user/org and repos can be double-clicked on listbox to add a new one.
    • Better footer.
    opened by Jothin-kumar 0
Releases(ubuntu)
  • ubuntu(Jan 16, 2022)

    Lines of code v 1.4.3 - Jothin kumar

    Installation instructions:

    • Download and install the attached DEB package.
    • Run lines-of-code setup in terminal.
    • Run lines-of-code --help to get started.

    Release notes:

    Lines of code can be used in GUI or in a CLI. Using GUI is recommended.

    GUI version.

    • Multi threads: Repositories are analyzed with multiple threads for faster results. The maximum thread is 5 by default and can be changed if required.
    • Adding a repository: Repositories can be added manually or can be imported from a GitHub user / organization. (GitHub access token supported).
    • Adding data: Repositories, Emails and GitHub user / organizations can be added by double clicking and can be deleted with del key.
    • Color coding for Repositories:
      1. Red: Not analyzed, queued.
      2. Yellow: Analyzing.
      3. Green: Analyzed successfully.

    CLI version:

    • Multi threads: Repositories are analyzed with multiple threads for faster results like in GUI version. However, there is no maximum thread support. Therefore, GUI version is strongly recommended for large amount of repositories.
    Source code(tar.gz)
    Source code(zip)
    lines-of-code_1.4.3.deb(6.45 MB)
Owner
B.Jothin kumar
A school student from India, interested in programming
B.Jothin kumar
C/C++ Dependency Analyzer: a rewrite of John Lakos' dep_utils (adep/cdep/ldep) from

Version bêta d'un système pour suivre les prix des livres chez Books to Scrape, un revendeur de livres en ligne. En pratique, dans cette version bêta, le programme n'effectuera pas une véritable surv

Olzhas Rakhimov 125 Sep 21, 2022
Metrinome is an all-purpose tool for working with code complexity metrics.

Overview Metrinome is an all-purpose tool for working with code complexity metrics. It can be used as both a REPL and API, and includes: Converters to

26 Dec 26, 2022
pycallgraph is a Python module that creates call graphs for Python programs.

Project Abandoned Many apologies. I've stopped maintaining this project due to personal time constraints. Blog post with more information. I'm happy t

gak 1.7k Jan 01, 2023
Turn your Python and Javascript code into DOT flowcharts

Notes from 2017 This is an older project which I am no longer working on. It was built before ES6 existed and before Python 3 had much usage. While it

Scott Rogowski 3k Jan 09, 2023
coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." ― John F. Woods coala provides a

coala development group 3.4k Jan 02, 2023
Print a directory tree structure in your Python code.

directory-structure Print a directory tree structure in your Python code. Download You can simply: pip install directory-structure Or you can also: Cl

Gabriel Stork 45 Dec 19, 2022
An interpreter for the X1 bytecode.

X1 Bytecode Interpreter The X1 Bytecode is bytecode designed for simplicity in programming design and compilation. Bytecode Instructions push

Thanasis Tzimas 1 Jan 15, 2022
Collection of library stubs for Python, with static types

typeshed About Typeshed contains external type annotations for the Python standard library and Python builtins, as well as third party packages as con

Python 3.3k Jan 02, 2023
Typical: Fast, simple, & correct data-validation using Python 3 typing.

typical: Python's Typing Toolkit Introduction Typical is a library devoted to runtime analysis, inference, validation, and enforcement of Python types

Sean 170 Dec 26, 2022
This is a Python program to get the source lines of code (SLOC) count for a given GitHub repository.

This is a Python program to get the source lines of code (SLOC) count for a given GitHub repository.

Nipuna Weerasekara 2 Mar 10, 2022
Run-time type checker for Python

This library provides run-time type checking for functions defined with PEP 484 argument (and return) type annotations. Four principal ways to do type

Alex Grönholm 1.1k Dec 19, 2022
CodeAnalysis - Static Code Analysis: a code comprehensive analysis platform

TCA, Tencent Cloud Code Analysis English | 简体中文 What is TCA Tencent Cloud Code A

Tencent 1.3k Jan 07, 2023
Inspects Python source files and provides information about type and location of classes, methods etc

prospector About Prospector is a tool to analyse Python code and output information about errors, potential problems, convention violations and comple

Python Code Quality Authority 1.7k Dec 31, 2022
Pymwp is a tool for automatically performing static analysis on programs written in C

pymwp: MWP analysis in Python pymwp is a tool for automatically performing static analysis on programs written in C, inspired by "A Flow Calculus of m

Static Analyses of Program Flows: Types and Certificate for Complexity 2 Dec 02, 2022
A system for Python that generates static type annotations by collecting runtime types

MonkeyType MonkeyType collects runtime types of function arguments and return values, and can automatically generate stub files or even add draft type

Instagram 4.1k Jan 02, 2023
A static analysis tool for Python

pyanalyze Pyanalyze is a tool for programmatically detecting common mistakes in Python code, such as references to undefined variables and some catego

Quora 212 Jan 07, 2023
A very minimalistic python module that lets you track the time your code snippets take to run.

Clock Keeper A very minimalistic python module that lets you track the time your code snippets take to run. This package is available on PyPI! Run the

Rajdeep Biswas 1 Jan 19, 2022
The strictest and most opinionated python linter ever!

wemake-python-styleguide Welcome to the strictest and most opinionated python linter ever. wemake-python-styleguide is actually a flake8 plugin with s

wemake.services 2.1k Jan 05, 2023
🦔 PostHog is developer-friendly, open-source product analytics.

PostHog provides open-source product analytics, built for developers. Automate the collection of every event on your website or app, with no need to send data to 3rd parties. With just 1 click you ca

PostHog 10.3k Jan 01, 2023
A formatter for Python files

YAPF Introduction Most of the current formatters for Python --- e.g., autopep8, and pep8ify --- are made to remove lint errors from code. This has som

Google 13k Dec 31, 2022