{"library":"pymaven-patch","title":"PyMaven Patch","description":"Python library for accessing and working with Maven artifacts using Maven coordinates and dependency resolution. Version 0.3.2 is the current release, maintained by nexB as a fork/advanced patch of the original pymaven library. Release cadence is low.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pymaven-patch"],"cli":null},"imports":["from pymaven import mvn","from pymaven import artifact"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pymaven import artifact, mvn\n\n# Create an artifact coordinate\ncoord = artifact.Artifact(group_id='com.example', artifact_id='my-lib', version='1.0.0')\nprint(f\"Coordinate: {coord}\")\n\n# Resolve dependencies (requires internet access to Maven Central)\n# This will fetch the POM and resolve transitive dependencies\ntry:\n    deps = mvn.resolve(coord)\n    print(f\"Number of dependencies: {len(deps)}\")\nexcept Exception as e:\n    print(f\"Resolution failed: {e}\")\n","lang":"python","description":"Create a Maven artifact coordinate and resolve its dependencies.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}