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

Feature: Add Python import API usage #91

Open
2 tasks done
MattTheCuber opened this issue Oct 7, 2024 · 1 comment
Open
2 tasks done

Feature: Add Python import API usage #91

MattTheCuber opened this issue Oct 7, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@MattTheCuber
Copy link

Before You Begin

Before proceeding, please make sure to follow these steps:

  • I have checked for similar feature requests in the project's issue tracker
    to avoid duplicates.
  • I have searched existing issues to see if this feature has been discussed
    before.

Feature Details

I would be great if we could use this tool dynamically in Python using imports to check licenses.

Describe the solution you'd like

Something like this:

import licensecheck

licensecheck.check()
licensecheck.check("/path/to/requirements.txt")

Describe alternatives you've considered

We could use system calls from Python.

@MattTheCuber MattTheCuber added the enhancement New feature or request label Oct 7, 2024
@FredHappyface
Copy link
Member

Hey thanks for the issue. I agree this would be awesome. I'll look at this next time I get some time on the project (in addition to some of the bugs too!)

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