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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
🦔 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
ticktock is a minimalist library to profile Python code

ticktock is a minimalist library to profile Python code: it periodically displays timing of running code.

Victor Benichoux 30 Sep 28, 2022
The uncompromising Python code formatter

The Uncompromising Code Formatter “Any color you like.” Black is the uncompromising Python code formatter. By using it, you agree to cede control over

Python Software Foundation 30.7k Dec 28, 2022
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