Artifact upload tool for Sonatype Nexus 3
Project description
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for snaut-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26482e8ff480933038a3cf66bb6ae3f71d76367d4ae1c411dc026e5ed85bab8d |
|
MD5 | ccff01a88f5eabdfe22848e8fdb1970d |
|
BLAKE2b-256 | 75ef1f618c8b1d277998641cec5eea447c82b89ce2d1955ca3021fa16939180f |