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 find_licenses.py
If you are running the python script from a different directory:
python3 find_licenses.py 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
output_tables(deps)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for elm_license_finder-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c2c249488ed834da8b9a5650b8d57ef67221ff9ffd70093900b65d329fb965 |
|
MD5 | 1127cecb96857ea3196272254d75833a |
|
BLAKE2b-256 | 38c06f3c78a74333238df7bfbd8b2357246997ccf992e8fca404e46a4d360d31 |