Skip to main content

Collects license information for Elm project dependencies.

Project description

Elm License Finder

Python Edition

Using Python CLI Script

Requires Python 3

Run python3 -m pip install colorclass terminaltables semver

If you are running the python script from inside your elm.json directory: python3

If you are running the python script from a different directory: python3 relative/path/to/elm/project

Using Python Package

Requires Python 3

Install the package with python3 -m pip install elm_license_finder

Import the two needed functions and use them:

import os
from elm_license_finder import get_project_dependencies, output_tables

dir = os.path.join("path", "to", "elm", "project")

# Parses elm.json and builds dependency and license data
deps = get_project_dependencies(dir)
# Outputs pretty tables with the information

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

elm_license_finder-1.0.1.tar.gz (3.3 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page