The directory to scan for relevant files
The instance of IUrlFetcher to fetch URLs
Convert a PythonRequirement
into a SoftwarePackage
by augmenting with metadata from PyPI
Does a path exist within the project folder?
The path within the folder
Fetch content from a URL
The URL to fetch
Request options
Parse Python source files are find all imports (including system imports).
Parse Python source files are find any non-system imports, return this as an array of PythonRequirement
s.
Get a list of paths that match a pattern in the project folder.
The glob pattern
Parse a requirements.txt
file at path
and return a list of PythonRequirement
s
Read a file within the project folder
The path within the folder
Parse Python a single Python source file for imports.
Write to a file within the project folder
The path within the folder
The content to write to the file
Generated using TypeDoc
Parser to be used on a directory with Python source code and (optionally) a
requirements.txt
file. If norequirements.txt
file exists then the Parser will attempt to read requirements from the Python source code.