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
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
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
Calculator Python Package

Calculator Python Package This is a Calculator Package of Python. How To Install The Package? Install packagearinjoyn with pip (Package Installer Of P

Arinjoy_Programmer 1 Nov 21, 2021
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

Francisco Massa 13 May 02, 2022
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
Collects all accepted (partial and full scored) codes submitted within the given timeframe and saves them locally for plagiarism check.

Collects all accepted (partial and full scored) codes submitted within the given timeframe of any contest.

ARITRA BELEL 2 Dec 28, 2021
Guesslang detects the programming language of a given source code

Detect the programming language of a source code

Y. SOMDA 618 Dec 29, 2022
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
A bytecode vm written in python.

CHex A bytecode vm written in python. hex command meaning note: the first two hex values of a CHex program are the magic number 0x01 (offset in memory

1 Aug 26, 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
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
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

Shan 24 Dec 31, 2022
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
fixup: Automatically add and remove python import statements

fixup: Automatically add and remove python import statements The goal is that running fixup my_file.py will automatically add or remove import stateme

2 May 08, 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
An analysis tool for Python that blurs the line between testing and type systems.

CrossHair An analysis tool for Python that blurs the line between testing and type systems. THE LATEST NEWS: Check out the new crosshair cover command

Phillip Schanely 836 Jan 08, 2023
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
TidyPy is a tool that encapsulates a number of other static analysis tools and makes it easy to configure, execute, and review their results.

TidyPy Contents Overview Features Usage Docker Configuration Ignoring Issues Included Tools Included Reporters Included Integrations Extending TidyPy

Jason Simeone 33 Nov 27, 2022
Performant type-checking for python.

Pyre is a performant type checker for Python compliant with PEP 484. Pyre can analyze codebases with millions of lines of code incrementally – providi

Facebook 6.2k Jan 07, 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