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
Alarmer is a tool focus on error reporting for your application.

alarmer Alarmer is a tool focus on error reporting for your application. Installation pip install alarmer Usage It's simple to integrate alarmer in yo

long2ice 20 Jul 03, 2022
Typing-toolbox for Python 3 _and_ 2.7 w.r.t. PEP 484.

Welcome to the pytypes project pytypes is a typing toolbox w.r.t. PEP 484 (PEP 526 on the road map, later also 544 if it gets accepted). Its main feat

Stefan Richthofer 188 Dec 29, 2022
A Python utility / library to sort imports.

Read Latest Documentation - Browse GitHub Code Repository isort your imports, so you don't have to. isort is a Python utility / library to sort import

Python Code Quality Authority 5.5k Jan 06, 2023
An app to show the total number of lines of code written by an user.

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

B.Jothin kumar 10 Jan 26, 2022
Robocop is a tool that performs static code analysis of Robot Framework code.

Robocop Introduction Documentation Values Requirements Installation Usage Example Robotidy FAQ Watch our talk from RoboCon 2021 about Robocop and Robo

marketsquare 132 Dec 29, 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
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
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
Checkov is a static code analysis tool for infrastructure-as-code.

Checkov - Prevent cloud misconfigurations during build-time for Terraform, Cloudformation, Kubernetes, Serverless framework and other infrastructure-as-code-languages with Checkov by Bridgecrew.

Bridgecrew 5.1k Jan 03, 2023
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.

Rafael 2 Feb 18, 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
Code audit tool for python.

Pylama Code audit tool for Python and JavaScript. Pylama wraps these tools: pycodestyle (formerly pep8) © 2012-2013, Florent Xicluna; pydocstyle (form

Kirill Klenov 966 Dec 29, 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
Static type checker for Python

Static type checker for Python Speed Pyright is a fast type checker meant for large Python source bases. It can run in a “watch” mode and performs fas

Microsoft 9.4k Jan 07, 2023
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

Google 4k Dec 31, 2022
Data parsing and validation using Python type hints

pydantic Data validation and settings management using Python type hinting. Fast and extensible, pydantic plays nicely with your linters/IDE/brain. De

Samuel Colvin 12.1k Jan 05, 2023
Find dead Python code

Vulture - Find dead code Vulture finds unused code in Python programs. This is useful for cleaning up and finding errors in large code bases. If you r

Jendrik Seipp 2.4k Jan 03, 2023
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
Unbearably fast O(1) runtime type-checking in pure Python.

Look for the bare necessities, the simple bare necessities. Forget about your worries and your strife. — The Jungle Book.

1.4k Dec 29, 2022
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

5 Dec 28, 2022