Need your own package repository for Alpine,
Cargo,
CocoaPods,
Composer,
Conan,
CRAN,
Dart,
Debian,
Docker,
Go,
Helm,
LuaRocks,
Maven,
npm,
NuGet,
Python,
RedHat,
Ruby,
Terraform,
Vagrant,
Raw & More?
Cloudsmith
provides better DevOps with simple and secure delivery
of your software, from dev to production.

These tend to be pre-releases, for stable releases download from PyPi: https://pypi.python.org/pypi/cloudsmith-cli
cloudsmith-cli
0.3.4
One-liner (summary)
Description
Cloudsmith Command Line Interface (CLI)
|Python Versions| |PyPI Version| |Travis| |Codecov| |Gemnasium| |Codacy|
The Cloudsmith Command Line Interface (CLI) is a Py2/Py3 text-based interface to the API. This allows users, machines and other services to access and integrate smoothly with Cloudsmith without requiring explicit plugins or tools. Be awesome. Automate Everything.
The following (slightly out of date) GIF demonstrates a small slice of the CLI - View the full video on YouTube:
You can also read our blog article that introduced the first version of the CLI and the Cloudsmith RESTful API.
Changelog
Please see the changelog for the list of changes by version. The current version is displayed in the PyPi badge at the top.
Features
The CLI currently supports the following commands (and sub-commands):
- check: Check the status/version of the service.
- delete: Delete a package from a repository.
- docs: Launch the help website in your browser.
- help: Display the help message and exit.
- list: List distributions, packages and repos.
- distros: List available distributions.
- packages: List packages for a repository.
- repos: List repositories for a namespace (owner).
- push: Push/upload a new package to a repository.
- deb: Push/upload a new Deb package upstream.
- maven: Push/upload a new Maven package upstream.
- python: Push/upload a new Python package upstream.
- raw: Push/upload a new Raw package upstream.
- rpm: Push/upload a new Rpm package upstream.
- ruby: Push/upload a new Ruby package upstream.
- vagrant: Push/upload a new Vagrant package upstream.
- status: Get the synchronisation status for a package.
- token: Retrieve your API authentication token/key.
- whoami: Retrieve your current authentication status.
Installation
You can install the latest CLI application from:
The simplest way is to use pip, such as:
pip install --upgrade cloudsmith-cli
Or you can get the latest pre-release version from Cloudsmith:
pip install --upgrade cloudsmith-cli --extra-index-url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/index/
Configuration
There are two configuration files used by the CLI:
- config.ini: For non-credentials configuration.
- credentials.ini: For credentials (authentication) configuration.
By default, the CLI will look for these in the following locations:
- The current working directory.
- A directory called cloudsmith in the OS-defined application directory. For example:
- Linux: $HOME/.config/cloudsmith
- Windows: C:\Users\YourName\AppData\cloudsmith
Both configuration files use the simple INI format, such as:
[default] api_key=1234567890abcdef1234567890abcdef
Non-Credentials (config.ini)
See the default config in GitHub:
You can specify the following configuration options:
- api_host: The API host to connect to.
- api_proxy: The API proxy to connect through.
- api_user_agent: The user agent to use for requests.
Credentials (credentials.ini)
See the default config in GitHub:
You can specify the following configuration options:
- api_key: T
Status | Completed |
---|---|
Checksum (MD5) | 924b4ab21cfeb07d7886e61e6cf0940d |
Checksum (SHA-1) | 63ed55ca7e16bf3fb489869f0cac3067fe38fc07 |
Checksum (SHA-256) | 949627f3a5087b13cb7bc5b0d9dd1046538471b636c371b2550f81ad54625fba |
Checksum (SHA-512) | 1bd2fffeee13691a363ffd38f34e1eff811a47b6ec086498116a037dd5c6c0a6c0… |
Storage Region | Default Region |
Type | Binary (contains binaries and binary artifacts) |
Uploaded At | 2 years, 10 months ago |
Uploaded By |
![]() |
Unique Id | aSb2D1FvCsab |
Version (Parsed) |
|
extended metadata | |
Author | Cloudsmith Ltd <support@cloudsmith.io> |
Classifiers | Development Status :: 3 - Alpha | Environment :: Console | Intended Audience :: Developers | Intended Audience :: System Administrators | License :: OSI Approved :: Apache Software License | Operating System :: POSIX :: Linux | Programming Language :: Python | Programming Language :: Python :: 2 | Programming Language :: Python :: 3 | Topic :: Internet | Topic :: System :: Systems Administration | Topic :: Utilities |
Homepage URL | https://github.com/cloudsmith-io/cloudsmith-cli |
Keywords | cloudsmith,cli,devops |
Metadata Version | 2.0 |
Platforms | any |
Py Filetype | bdist_wheel |
Py Version | py2.py3 |
pkg | cloudsmith_cli-0.3.4-py2.py3-no… |
241
41.9 KB |
md5 | sha1 | sha256 | sha512 |
This package has 54 files/directories.
Newer |
![]() |
cloudsmith-cli
0.7.1
|
178 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.7.0
|
209 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.6.3
|
215 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.6.2
|
209 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.6.1
|
217 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.6.0
|
213 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.5.7
|
229 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.5.6
|
246 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.5.5
|
245 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.5.4
|
241 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.5.3
|
246 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.5.2
|
233 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.5.1
|
231 |
![]() |
||
Newer |
![]() |
cloudsmith-cli
0.4.1
|
253 |
![]() |
||
Same |
![]() |
cloudsmith-cli
0.3.4
|
241 |
![]() |
||
Older |
![]() |
cloudsmith-cli
0.3.2
|
238 |
![]() |
||
Older |
![]() |
cloudsmith-cli
0.3.1
|
262 |
![]() |
||
Older |
![]() |
cloudsmith-cli
0.3.0
|
244 |
![]() |
||
Older |
![]() |
cloudsmith-cli
0.2.2
|
257 |
![]() |
||
Older |
![]() |
cloudsmith-cli
0.1.0
|
256 |
![]() |
You can embed a badge in another website that shows this or the latest version of this package.
To embed the badge for this specific package version, use the following:
[](https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.3.4/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/)
|This Version @ Cloudsmith|
.. |This Version @ Cloudsmith| image:: https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.3.4/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABgBgd6PuLWs6Gqxyw7KXWMH2OndeJp9KizhOwSY15nWJzO3rM-JaY3u_cPJceNmgMPboZI3NEWNQXECrjm77dN-w_pV03I0TvnPgAFvPBiRzN7NPE%3D
:target: https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.3.4/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/
image::https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.3.4/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABgBgd6PuLWs6Gqxyw7KXWMH2OndeJp9KizhOwSY15nWJzO3rM-JaY3u_cPJceNmgMPboZI3NEWNQXECrjm77dN-w_pV03I0TvnPgAFvPBiRzN7NPE%3D[link="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.3.4/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/",title="This Version @ Cloudsmith"]
<a href="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.3.4/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/"><img src="https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.3.4/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABgBgd6PuLWs6Gqxyw7KXWMH2OndeJp9KizhOwSY15nWJzO3rM-JaY3u_cPJceNmgMPboZI3NEWNQXECrjm77dN-w_pV03I0TvnPgAFvPBiRzN7NPE%3D" alt="This Version @ Cloudsmith" /></a>
rendered as:
To embed the badge for the latest package version, use the following:
[](https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/)
|Latest Version @ Cloudsmith|
.. |Latest Version @ Cloudsmith| image:: https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABgBgd60MDOyil39XpZKhO0lULAGsZHYaY0nHvOTbzhNNH6ID6lABjOdE1Ol-PHkmEDqWNAaEt3KlLoTWjAmjzbZquy3ogsDV1UcOvGs5gqhmjPiy4%3D
:target: https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/
image::https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABgBgd60MDOyil39XpZKhO0lULAGsZHYaY0nHvOTbzhNNH6ID6lABjOdE1Ol-PHkmEDqWNAaEt3KlLoTWjAmjzbZquy3ogsDV1UcOvGs5gqhmjPiy4%3D[link="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/",title="Latest Version @ Cloudsmith"]
<a href="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/"><img src="https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABgBgd60MDOyil39XpZKhO0lULAGsZHYaY0nHvOTbzhNNH6ID6lABjOdE1Ol-PHkmEDqWNAaEt3KlLoTWjAmjzbZquy3ogsDV1UcOvGs5gqhmjPiy4%3D" alt="Latest Version @ Cloudsmith" /></a>
rendered as:
These instructions assume you have setup the repository first (or read it).
To install/use cloudsmith-cli @ version 0.3.4 ...
pip install 'cloudsmith-cli==0.3.4'
You can also install the latest version of this package:
pip install --upgrade 'cloudsmith-cli'
If necessary, you can specify the repository directly:
pip install \
--extra-index-url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/simple/ \
cloudsmith-cli==0.3.4
If you've got a project requirements.txt file, you can specify this as a dependency:
--extra-index-url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/simple/
cloudsmith-cli==0.3.4