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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d25dd566d455cb4e42df9221231a717dada5c7e30a9c167bc0ce9dfc4f07095e
|
|
| MD5 |
d35abe645afe4282ace199ef2bf4af5f
|
|
| BLAKE2b-256 |
767c84dd99cbe2288d1e8f109799c095f320162061e5c45ebdba60f36a4612ae
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26482e8ff480933038a3cf66bb6ae3f71d76367d4ae1c411dc026e5ed85bab8d
|
|
| MD5 |
ccff01a88f5eabdfe22848e8fdb1970d
|
|
| BLAKE2b-256 |
75ef1f618c8b1d277998641cec5eea447c82b89ce2d1955ca3021fa16939180f
|