{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "[![image](https://travis-ci.org/perewall/snaut.svg?branch=master)](https://travis-ci.org/perewall/snaut)\n[![image](https://codecov.io/gh/perewall/snaut/branch/master/graph/badge.svg)](https://codecov.io/gh/perewall/snaut)\n[![image](https://img.shields.io/pypi/pyversions/snaut.svg)](https://pypi.org/project/snaut/)\n[![image](https://img.shields.io/pypi/l/snaut.svg)](https://pypi.org/project/snaut/)\n[![image](https://img.shields.io/pypi/v/snaut.svg)](https://pypi.org/project/snaut/)\n\n\n# Snaut\nArtifact upload tool for Sonatype Nexus 3\n\nAlternative to `curl -X POST -u user:pwd -F \"pypi.asset=@mypackage.whl\" ...`\n\nSupported asset types: `pypi`, `rubygems`, `nuget`, `npm`\n\nSee [API docs](https://help.sonatype.com/repomanager3/rest-and-integration-api/components-api#ComponentsAPI-UploadComponent)\n\n\n## Installation\n`pip install snaut`\n\n\n## Usage\n`snaut --help`\n\n`snaut -r http://host/service/rest/v1/components?repository=myrepo -a pypi mypackage.whl`\n\nEnvironment variables or `.env` file can be useful in your CI/CD pipeline:\n- SNAUT_REPO\n- SNAUT_ASSET\n- SNAUT_DIRECTORY\n- SNAUT_USERNAME\n- SNAUT_PASSWORD\n- SNAUT_VERBOSE\n- SNAUT_TIMEOUT\n- SNAUT_NO_VERIFY\n\nExample:\n```\npython setup.py sdist bdist_wheel\nsnaut dist/*\n```\nRAW asset type:\n```\nsnaut -d /mypath dist/*\nsnaut -d / myfile.zip\n```\n\n\n### Requirements\n* [click](https://click.palletsprojects.com)\n* [requests2](https://2.python-requests.org)\n* [python-dotenv](https://github.com/theskumar/python-dotenv)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/perewall/snaut", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "snaut", "package_url": "https://pypi.org/project/snaut/", "platform": "", "project_url": "https://pypi.org/project/snaut/", "project_urls": { "Homepage": "https://github.com/perewall/snaut" }, "release_url": "https://pypi.org/project/snaut/1.1.0/", "requires_dist": [ "click (<8.0,>=7.0)", "requests (<3.0,>=2.0)", "python-dotenv (<1.0,>=0.10)" ], "requires_python": "", "summary": "Artifact upload tool for Sonatype Nexus 3", "version": "1.1.0" }, "last_serial": 5752354, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "25b319146c4a2b3416966733fc7000bf", "sha256": "0d35cce47d212b921e80c76c82735de75cc123ebb602a2a88e1074208f46d5aa" }, "downloads": -1, "filename": "snaut-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "25b319146c4a2b3416966733fc7000bf", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3709, "upload_time": "2019-08-17T17:23:39", "url": "https://files.pythonhosted.org/packages/af/e8/4c8049758f6c730781febf48b8b3e1917009aa451eaf35dcfa0368a9b2e9/snaut-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76521a64a4f3920215afd8a259341226", "sha256": "c25d7f5fba1bce4ae8417549d4b53da0447f778282b7450bdfdeddf25f4f7da1" }, "downloads": -1, "filename": "snaut-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "76521a64a4f3920215afd8a259341226", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3707, "upload_time": "2019-08-17T15:26:09", "url": "https://files.pythonhosted.org/packages/b9/27/2ac4825585a38f3312643780c5d6716dc9fccf07668ff029b4e5021fa07c/snaut-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f7195643446273ca086e1c1a90502ea2", "sha256": "9cf3ffc2a1a87690d100f54516b5691f031ffc3eada01b81b161a4890d4260de" }, "downloads": -1, "filename": "snaut-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f7195643446273ca086e1c1a90502ea2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2578, "upload_time": "2019-08-17T15:26:11", "url": "https://files.pythonhosted.org/packages/66/92/b1814eb5be4ba5e5998dd8baf7b36405e52a3de700ab08a96b914f925353/snaut-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "ccff01a88f5eabdfe22848e8fdb1970d", "sha256": "26482e8ff480933038a3cf66bb6ae3f71d76367d4ae1c411dc026e5ed85bab8d" }, "downloads": -1, "filename": "snaut-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ccff01a88f5eabdfe22848e8fdb1970d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4312, "upload_time": "2019-08-29T13:00:31", "url": "https://files.pythonhosted.org/packages/75/ef/1f618c8b1d277998641cec5eea447c82b89ce2d1955ca3021fa16939180f/snaut-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d35abe645afe4282ace199ef2bf4af5f", "sha256": "d25dd566d455cb4e42df9221231a717dada5c7e30a9c167bc0ce9dfc4f07095e" }, "downloads": -1, "filename": "snaut-1.1.0.tar.gz", "has_sig": false, "md5_digest": "d35abe645afe4282ace199ef2bf4af5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3322, "upload_time": "2019-08-29T13:00:33", "url": "https://files.pythonhosted.org/packages/76/7c/84dd99cbe2288d1e8f109799c095f320162061e5c45ebdba60f36a4612ae/snaut-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ccff01a88f5eabdfe22848e8fdb1970d", "sha256": "26482e8ff480933038a3cf66bb6ae3f71d76367d4ae1c411dc026e5ed85bab8d" }, "downloads": -1, "filename": "snaut-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ccff01a88f5eabdfe22848e8fdb1970d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4312, "upload_time": "2019-08-29T13:00:31", "url": "https://files.pythonhosted.org/packages/75/ef/1f618c8b1d277998641cec5eea447c82b89ce2d1955ca3021fa16939180f/snaut-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d35abe645afe4282ace199ef2bf4af5f", "sha256": "d25dd566d455cb4e42df9221231a717dada5c7e30a9c167bc0ce9dfc4f07095e" }, "downloads": -1, "filename": "snaut-1.1.0.tar.gz", "has_sig": false, "md5_digest": "d35abe645afe4282ace199ef2bf4af5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3322, "upload_time": "2019-08-29T13:00:33", "url": "https://files.pythonhosted.org/packages/76/7c/84dd99cbe2288d1e8f109799c095f320162061e5c45ebdba60f36a4612ae/snaut-1.1.0.tar.gz" } ] }