Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PythonParser: should parse .py files #5

Closed
nokome opened this issue Oct 15, 2018 · 0 comments
Closed

PythonParser: should parse .py files #5

nokome opened this issue Oct 15, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nokome
Copy link
Member

nokome commented Oct 15, 2018

The PythonParser class scan for parse Python files in a folder and extract a list of unique (non-standard-library) package dependencies from import statements.

See browserify/detective#8 as an example of using JS regexes to parse for requires. A similar approach could be used for Python import statements (since we wont have a python AST to walk in TypeScript) - there are probably already regexes out there for parsing Python import statements

@nokome nokome added the enhancement New feature or request label Oct 15, 2018
@nokome nokome added this to the 0.1.0 milestone Oct 15, 2018
@nokome nokome modified the milestones: 0.1.0, 1.0.0 Oct 17, 2018
@nokome nokome closed this as completed Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants