Skip to main content

Coconerd (COde COunt for NERD)

PyPI version Build Status Coverage Downloads

Count how many lines of code you had written during your doctoral study.

Note: this package use regular expression to code the specific set of attributes in python file without importing the module, thus the code is safe (anyway, be aware of which github repo you are downloading from).

Install

pip install coconerd

Usage

coconerd [path_or_url] -cache --clear

Argument Help
path_or_url path to local directory or url to github repo, multiple input concatenated by ,
-cache path to cache directory
--clear clear all cached source code

Example

coconerd https://github.com/trungnt13/odin-ai,https://github.com/trungnt13/sisua
Processing: 377files [00:00, 5727.62files/s]
https://github.com/trungnt13/sisua
 for_loop  : 891
 while_loop: 3
 if_cond   : 1199
 func_def  : 422
 class_def : 43
 lines     : 16744
https://github.com/trungnt13/odin-ai
 for_loop  : 3841
 while_loop: 57
 if_cond   : 6130
 func_def  : 3260
 class_def : 575
 lines     : 83649
---Total:
 for_loop  : 4732
 while_loop: 60
 if_cond   : 7329
 func_def  : 3682
 class_def : 618
 lines     : 100393

Metadata

Release files for coconerd 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coconerd 0.3
File Size Uploaded
coconerd-0.3.linux-x86_64.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coconerd 0.3
File Interpreter ABI Platform
coconerd-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.2 kB

Release files / coconerd-0.3.linux-x86_64.tar.gz

Download URL coconerd-0.3.linux-x86_64.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f9108008236df88a9c7fda9263b08df0962b726f49c1b263e57e693e8a94bb4c
BLAKE2b-256 checksum
How to use checksums
7819960d18810d6c7cbfd644645d187657c1c38408af69c212886f9e9bb075b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.6

Release files / coconerd-0.3-py3-none-any.whl

Download URL coconerd-0.3-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9ecf9792fa708254b5f72118af057d60b2801e4a28f2a266c3827694d5753ef
BLAKE2b-256 checksum
How to use checksums
b48d11b90456bcf22628b59931069ee22568b9644c3f665e5779593983b5bf05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page