Sha256: d488366198943f289f096042b10d024adb6159c907c2245d9c09c944498cd977

Contents?: true

Size: 643 Bytes

Versions: 763

Compression:

Stored size: 643 Bytes

Contents

import sys
import json

from lib import parser, hasher

if __name__ == "__main__":
    args = json.loads(sys.stdin.read())

    if args["function"] == "parse_requirements":
        print(parser.parse_requirements(args["args"][0]))
    if args["function"] == "parse_setup":
        print(parser.parse_setup(args["args"][0]))
    elif args["function"] == "get_dependency_hash":
        print(hasher.get_dependency_hash(*args["args"]))
    elif args["function"] == "get_pipfile_hash":
        print(hasher.get_pipfile_hash(*args["args"]))
    elif args["function"] == "get_pyproject_hash":
        print(hasher.get_pyproject_hash(*args["args"]))

Version data entries

763 entries across 761 versions & 2 rubygems

Version Path
dependabot-python-0.142.1 helpers/run.py
dependabot-python-0.142.0 helpers/run.py
dependabot-python-0.141.1 helpers/run.py
dependabot-python-0.141.0 helpers/run.py
dependabot-python-0.140.3 helpers/run.py
dependabot-python-0.140.2 helpers/run.py
dependabot-python-0.140.1 helpers/run.py
dependabot-python-0.140.0 helpers/run.py
dependabot-python-0.139.2 helpers/run.py
dependabot-python-0.139.1 helpers/run.py
dependabot-python-0.139.0 helpers/run.py
dependabot-python-0.138.7 helpers/run.py
dependabot-python-0.138.6 helpers/run.py
dependabot-python-0.138.5 helpers/run.py
dependabot-python-0.138.4 helpers/run.py
dependabot-python-0.138.3 helpers/run.py
dependabot-python-0.138.2 helpers/run.py
dependabot-python-0.138.1 helpers/run.py
dependabot-python-0.138.0 helpers/run.py
dependabot-python-0.137.2 helpers/run.py