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
File details
Details for the file elm_license_finder-1.0.1.tar.gz
.
File metadata
- Download URL: elm_license_finder-1.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31321a9274069ffc9b8f5176596c871e2d29dd13e1cfe69d3be420a17a2c8b30 |
|
MD5 | 7e97cb146925e1229c70c0ea285e1d15 |
|
BLAKE2b-256 | e62bbf9ca34e774060bad002f77ab752a80d0c0727d1062341d99b73f22fb6ab |
File details
Details for the file elm_license_finder-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: elm_license_finder-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3567043ae408d2b803207707cdc7a813c428b49883234e2f755f86059b2e257 |
|
MD5 | 2053e627245c4a07490e3c978a76d218 |
|
BLAKE2b-256 | c7595cb38a83ea9c70c816783fd17c080d8f69dfac6d1162179c1d30de94f44a |