{"library":"maven-artifact","title":"maven-artifact","description":"A Python library for downloading and resolving Maven artifacts from Maven repositories (e.g., Maven Central). It provides a client for fetching POM files, artifacts, and their transitive dependencies, with caching support. Current version is 0.3.5, released periodically.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install maven-artifact"],"cli":null},"imports":["from maven_artifact import MavenArtifact","from maven_artifact import GAV","from maven_artifact.repository import MavenRepository"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from maven_artifact import MavenArtifact, GAV\n\n# Define a Maven artifact coordinate (group:artifact:version)\ngav = GAV('com.google.guava', 'guava', '31.0.1-jre')\n\n# Create a MavenArtifact instance with default Maven Central\nartifact = MavenArtifact(gav)\n\n# Download the artifact JAR file (returns path to local file)\njar_path = artifact.download()\nprint(f'Downloaded JAR to: {jar_path}')\n\n# Resolve transitive dependencies (returns list of GAV)\ndeps = artifact.resolve_dependencies()\nfor dep in deps:\n    print(dep)","lang":"python","description":"Basic usage: instantiate a GAV, create MavenArtifact, download the JAR, and resolve dependencies.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}