Skip to content

Support additional package manifest types using ScanCode-toolkit available handlers #658

Description

@tdruez
from packagedcode.recognize import recognize_package_data
recognize_package_data("package-lock.json")


from packagedcode import APPLICATION_PACKAGE_DATAFILE_HANDLERS
import pprint
pprint.pprint([
    f"{handler.description} {handler.path_patterns}"
    for handler in APPLICATION_PACKAGE_DATAFILE_HANDLERS
])

List available at https://scancode-toolkit.readthedocs.io/en/stable/cli-reference/help-text-options.html#list-packages-option

See also aboutcode-org/scancode-toolkit#3298 for documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions