Skip to main content

Artifact upload tool for Sonatype Nexus 3

Project description

image image image image image

Snaut

Artifact upload tool for Sonatype Nexus 3

Alternative to curl -X POST -u user:pwd -F "pypi.asset=@mypackage.whl" ...

Supported asset types: pypi, rubygems, nuget, npm

See API docs

Installation

pip install snaut

Usage

snaut --help

snaut -r http://host/service/rest/v1/components?repository=myrepo -a pypi mypackage.whl

Environment variables or .env file can be useful in your CI/CD pipeline:

  • SNAUT_REPO
  • SNAUT_ASSET
  • SNAUT_DIRECTORY
  • SNAUT_USERNAME
  • SNAUT_PASSWORD
  • SNAUT_VERBOSE
  • SNAUT_TIMEOUT
  • SNAUT_NO_VERIFY

Example:

python setup.py sdist bdist_wheel
snaut dist/*

RAW asset type:

snaut -d /mypath dist/*
snaut -d / myfile.zip

Requirements

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

snaut-1.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

snaut-1.1.0-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file snaut-1.1.0.tar.gz.

File metadata

  • Download URL: snaut-1.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

File hashes

Hashes for snaut-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d25dd566d455cb4e42df9221231a717dada5c7e30a9c167bc0ce9dfc4f07095e
MD5 d35abe645afe4282ace199ef2bf4af5f
BLAKE2b-256 767c84dd99cbe2288d1e8f109799c095f320162061e5c45ebdba60f36a4612ae

See more details on using hashes here.

File details

Details for the file snaut-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: snaut-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

File hashes

Hashes for snaut-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 26482e8ff480933038a3cf66bb6ae3f71d76367d4ae1c411dc026e5ed85bab8d
MD5 ccff01a88f5eabdfe22848e8fdb1970d
BLAKE2b-256 75ef1f618c8b1d277998641cec5eea447c82b89ce2d1955ca3021fa16939180f

See more details on using hashes here.

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