Skip to main content

Tools for working with artifact repositories

Project description

CI Build

Python API and command-line interface for working with Sonatype Nexus

How to install

pip install repositorytools

Some command line examples

for more commands run repo -h and artifact -h

export REPOSITORY_URL=http://repo.example.com
export REPOSITORY_USER=admin
export REPOSITORY_PASSWORD=mysecretpassword

artifact upload foo-1.2.3.ext releases com.fooware
artifact resolve com.fooware:foo:latest

Some library examples

import repositorytools

artifact = repositorytools.RemoteArtifact.from_repo_id_and_coordinates('test', 'com.fooware:foo:1.2.3')
client = repositorytools.repository_client_factory()
client.resolve_artifact(artifact)
print(artifact.url)

Documentation

is on http://repositorytools.readthedocs.org/en/latest/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repositorytools-4.0.1.tar.gz (10.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page