amsdal_ml

1.2.0

amsdal_ml plugin for AMSDAL Framework

License
Unknown license
Published
March 4, 2026
17h ago
Package Registry
License Sources
SourceLicenseClass
Licensie (detected)
Pending-
PyPI (reported)
Not reported-

License detection is still in progress for this version.

Loading dependencies…
License File
import sys

import toml


def extract_dependency_names():
    file_path = './pyproject.toml'
    with open(file_path) as file:
        toml_content = toml.load(file)

    project_dependencies = toml_content.get('project', {}).get('dependencies', [])

    dependency_list = [
        dep.split('==')[0].split('<=')[0].split('~=')[0].split('>=')[0].split('[')[0].split('<')[0]
        for dep in project_dependencies
    ]
    return dependency_list


def check_dependencies():
    flag = True
    dependency_list = extract_dependency_names()
    file_path = './amsdal_ml/Third-Party Materials - AMSDAL Dependencies - License Notices.md'
    with open(file_path, encoding='utf-8') as file:
        content = file.read()

    for word in dependency_list:
        if word.startswith('amsdal'):
            continue
        if word not in content:
            print(f'Dependency not found - "{word}"')  # noqa: T201
            flag = False
    if flag is False:
        return sys.exit(1)


if __name__ == '__main__':
    check_dependencies()
Versions
2 versions
VersionLicensePublishedStatus
1.2.0 Latest Viewing-Mar 4, 2026 Pending
1.1.0 -Feb 25, 2026 Pending