Skip to main content

Библиотека для подсчета строк кода с учетом gitignore и git blame

Project description

Code Counter

🔢 Библиотека для подсчета строк кода в проекте с учетом .gitignore и анализом вклада разработчиков.

Возможности

  • ✅ Подсчет общего количества строк кода
  • ✅ Разбивка по типам файлов (расширениям)
  • ✅ Анализ вклада каждого разработчика через git blame
  • ✅ Учет .gitignore (автоматическое игнорирование)
  • ✅ CLI и Python API
  • ✅ Поддержка 30+ языков программирования

Установка

pip install code-counter-ntwusr

Использование

CLI

# Анализ текущей директории
code-counter

# Анализ конкретного проекта
code-counter /path/to/project

# С показом топ-10 файлов
code-counter --files

Требования

  • Python 3.12+
  • Git (для анализа авторства)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

code_counter_ntwusr-0.1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

code_counter_ntwusr-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file code_counter_ntwusr-0.1.1.tar.gz.

File metadata

  • Download URL: code_counter_ntwusr-0.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for code_counter_ntwusr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 182c274c429eaa69bcfb9b3194b3dc0ecb09af4895f4251295e2ca292d8c91ab
MD5 80f6ab9ce575f53d210f4cd04a116235
BLAKE2b-256 4ac52ed6ba53bff3efff15dafe39302acb886eace98f25cd9aa22968aa4c95b7

See more details on using hashes here.

File details

Details for the file code_counter_ntwusr-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for code_counter_ntwusr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96b00ef6b951de5e966cad00f75fda20a2452d5e9ed83e0048742cc1cd51ff92
MD5 1a3f9b211288885011ffc589c671a3f2
BLAKE2b-256 dbb643eb9831e8de738a3eece8a353eee70f141a2824e77d8c760543510127c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page