Metadata-Version: 2.1
Name: snaut
Version: 1.0.0
Summary: Artifact upload tool for Sonatype Nexus 3
Home-page: https://github.com/perewall/snaut
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
Requires-Dist: click (<8.0,>=7.0)
Requires-Dist: requests (<3.0,>=2.0)

# 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`


## Installation
`pip install snaut`


## Usage
`snaut --help`

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

Environment variables can be useful in your CI/CD pipeline:
- SNAUT_REPO
- SNAUT_ASSET
- SNAUT_USERNAME
- SNAUT_PASSWORD
- SNAUT_VERBOSE
- SNAUT_TIMEOUT
- SNAUT_NO_VERIFY

Example:
```
python setup.py bdist_wheel
snaut dist/mypackage.whl
```


### Requirements
* [click](https://click.palletsprojects.com)
* [requests2](https://2.python-requests.org)


