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

[Programming question]: Python library licenses #101

Open
haesleinhuepf opened this issue Nov 5, 2024 · 1 comment
Open

[Programming question]: Python library licenses #101

haesleinhuepf opened this issue Nov 5, 2024 · 1 comment
Assignees

Comments

@haesleinhuepf
Copy link
Owner

I have a requirements.txt with a list of Python libraries. Please write a Python Jupyter notebook that uses the pypi API to read out all licenses of these libraries and prints out the libraries and their corresponding license names.

git-bob try to so this

@haesleinhuepf haesleinhuepf self-assigned this Nov 5, 2024
Copy link
Contributor

github-actions bot commented Nov 5, 2024

This message was generated by git-bob (version: 0.14.1dev, model: claude-3-5-sonnet-20241022, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

I created a Jupyter notebook that analyzes Python package licenses using the PyPI API. The notebook reads package names from requirements.txt, fetches their license information from PyPI, and saves the results to a CSV file. I added the requests library to requirements.txt as it's needed for making API calls. The notebook successfully generates a CSV file containing the package names and their corresponding licenses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant