Skip to main content

Parses the contents of a source code directory and determines the programming languages in use.

Project description

WhoDis

Parses the contents of a source code directory and determines the programming languages in use.

Languages Supported:

  • Go
  • Java
  • JavaScript
  • Python
  • Ruby

Usage

from whodis import WhoDis
blah = WhoDis()
blah.parse("/some/valid/path/with/source/code")
blah.language # The dominant programming language in the source path.
blah.all_languages # All languages present in the source path.
blah.files # All non-filtered files in the source path.
blah.files_by_language # All non-filtered files in the source path broken down by language.

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

whodis-0.1.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

whodis-0.1.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

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