Created
January 12, 2022 09:41
-
-
Save Mulperi/6abdfe9bec3f1999afa934b3d1a5cab9 to your computer and use it in GitHub Desktop.
Get license metadata from installed python package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from importlib.metadata import metadata | |
print(metadata("flask-cors")["License"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment