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

Start My Free 7-Day Trial
Set Me Up
 Open-Source cloudsmith cloudsmith (Cloudsmith) / cli  GitHub Project
Official repository for the Cloudsmith CLI application.
These tend to be pre-releases, for stable releases download from PyPi: https://pypi.python.org/pypi/cloudsmith-cli
Note: Packages in this repository are licensed as Apache License 2.0 (dependencies may be licensed differently).

cloudsmith-cli  0.12.0

uploaded 3 months, 3 weeks ago

Format

Python logo Python (python)

Status

 Sync Completed

License

Apache License 2.0

Size

42.8 KB

Downloads

16

One-liner (summary)

Cloudsmith Command-Line Interface (CLI)

Description

Cloudsmith Command Line Interface (CLI)

|Latest Version @ Cloudsmith| |Python Versions| |PyPI Version| |CircleCI| |Codacy Badge| |Maintainability| |Test Coverage| |Code style: black|

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 (very out of date) GIF demonstrates a small slice of the CLI - View the full video on YouTube:

|CLI Demonstration|

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 rate limits and service status.
  • copy|cp: Copy a package to another repository.
  • delete|rm: Delete a package from a repository.
  • docs: Launch the help website in your browser.
  • entitlements|ents: Manage the entitlements for a repository.
    • create|new: Create a new entitlement in a repository.
    • delete|rm: Delete an entitlement from a repository.
    • list|ls: List entitlements for a repository.
    • refresh: Refresh an entitlement in a repository.
    • sync: Sync entitlements from another repository.
    • update|set: Update (patch) a entitlement in a repository.
  • help: Display the delightful help message and exit.
  • list|ls: List distros, packages, repos and entitlements.
    • distros: List available distributions.
    • entitlements: List entitlements for a repository.
    • packages: List packages for a repository.
    • repos: List repositories for a namespace (owner).
  • move|mv: Move (promote) a package to another repo.
  • push|upload: Push (upload) a new package to a repository.
    • alpine: Push (upload) a new Alpine package upstream.
    • cargo: Push (upload) a new Cargo package upstream.
    • composer: Push (upload) a new Composer package upstream.
    • cran: Push (upload) a new R/CRAN package upstream.
    • deb: Push (upload) a new Deb package upstream.
    • helm: Push (upload) a new Helm package upstream.
    • luarocks: Push (upload) a new Lua module upstream.
    • maven: Push (upload) a new Maven package upstream.
    • npm: Push (upload) a new Npm 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.
  • resync: Resynchronise a package in a repository.
  • 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/c
Unique Id xuMSWSVaPuPV
Sequential Id 46
Package cloudsmith-cli
Version 0.12.0
Type  Source (contains source code or documentation)
License Apache License 2.0
MD5 22962e5738d3c7540750b91d2df87435
SHA-1 8290bfc838bdc519fafd9bd2051a3f7703a800bd
SHA-256 78e6496778e6c8f9ab5850b4b9ec06f5313e3b40662b35ace7c58bc91e78d002
SHA-512 27627f8a750045ab3ce02d7bd2aad81222fad5e190204d048f50a6cf5debde0400…
Classifiers Development Status :: 5 - Production/Stable | 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 1.1
Platforms any
Py Filetype sdist
pkg cloudsmith-cli-0.12.0.tar.gz 16
42.8 KB
md5 sha1 sha256 sha512
Package Contents (cloudsmith-cli-0.12.0.tar.gz)
Loading...

This package has 71 files/directories.

 Newer Python logo
cloudsmith-cli 0.17.3
bdist/wheel whl noarch py2/py3 latest 64.9 KB 1 month, 2 weeks ago
27 lskillen
 Newer Python logo
cloudsmith-cli 0.17.2
bdist/wheel whl noarch py2/py3 64.9 KB 1 month, 2 weeks ago
15 lskillen
 Newer Python logo
cloudsmith-cli 0.17.1
bdist/wheel whl noarch py2/py3 64.9 KB 2 months ago
31 lskillen
 Newer Python logo
cloudsmith-cli 0.17.0
bdist/wheel whl noarch py2/py3 64.9 KB 2 months, 2 weeks ago
36 lskillen
 Newer Python logo
cloudsmith-cli 0.16.0
bdist/wheel whl noarch py2/py3 62.3 KB 2 months, 2 weeks ago
33 lskillen
 Newer Python logo
cloudsmith-cli 0.15.0
bdist/wheel whl noarch py2/py3 62.4 KB 3 months ago
38 lskillen
 Newer Python logo
cloudsmith-cli 0.14.0
bdist/wheel whl noarch py2/py3 62.4 KB 3 months, 1 week ago
48 lskillen
 Same Python logo
cloudsmith-cli 0.12.0
bdist/wheel whl noarch py2/py3 62.1 KB 3 months, 3 weeks ago
37 paddycarey
 Same Python logo
cloudsmith-cli 0.12.0
16 paddycarey
 Older Python logo
cloudsmith-cli 0.11.0
15 paddycarey
 Older Python logo
cloudsmith-cli 0.11.0
bdist/wheel whl noarch py2/py3 62.0 KB 3 months, 3 weeks ago
61 paddycarey
 Older Python logo
cloudsmith-cli 0.10.0
bdist/wheel whl noarch py2/py3 62.0 KB 7 months, 2 weeks ago
57 paddycarey
 Older Python logo
cloudsmith-cli 0.9.0
bdist/wheel whl noarch py2/py3 61.9 KB 7 months, 3 weeks ago
64 lskillen
 Older Python logo
cloudsmith-cli 0.8.2
bdist/wheel whl noarch py2/py3 61.9 KB 8 months ago
63 lskillen
 Older Python logo
cloudsmith-cli 0.8.1
bdist/wheel whl noarch py2/py3 61.9 KB 8 months ago
64 lskillen
 Older Python logo
cloudsmith-cli 0.8.0
bdist/wheel whl noarch py2/py3 61.9 KB 8 months ago
62 lskillen
 Older Python logo
cloudsmith-cli 0.7.2
bdist/wheel whl noarch py2/py3 62.6 KB 9 months, 2 weeks ago
81 lskillen
 Older Python logo
cloudsmith-cli 0.7.1
bdist/wheel whl noarch py2/py3 62.5 KB 9 months, 3 weeks ago
80 lskillen
 Older Python logo
cloudsmith-cli 0.7.0
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 1 month ago
105 lskillen
 Older Python logo
cloudsmith-cli 0.6.3
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 3 months ago
113 lskillen
 Older Python logo
cloudsmith-cli 0.6.2
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 3 months ago
105 lskillen
 Older Python logo
cloudsmith-cli 0.6.1
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 4 months ago
113 lskillen
 Older Python logo
cloudsmith-cli 0.6.0
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 4 months ago
109 lskillen
 Older Python logo
cloudsmith-cli 0.5.7
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 7 months ago
126 lskillen
 Older Python logo
cloudsmith-cli 0.5.6
bdist/wheel whl noarch py2/py3 59.2 KB 1 year, 8 months ago
138 lskillen
Loading...

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:

[![This Version @ Cloudsmith](https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.12.0/xf=sdist;xn=cloudsmith-cli/?render=true&badge_token=gAAAAABd6gbWCOC9RT-9JJXJUUFvjnb6HRZd1ChyouDMrnKC1EiKBJBaKMFkB-dHW_85i6HMN_jPaHDTzNpnkQTOfBABJDGClyn3n8H2At6_wbiKfJHsGh4%3D)](https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.12.0/xf=sdist;xn=cloudsmith-cli/)
|This Version @ Cloudsmith|
.. |This Version @ Cloudsmith| image:: https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.12.0/xf=sdist;xn=cloudsmith-cli/?render=true&badge_token=gAAAAABd6gbWCOC9RT-9JJXJUUFvjnb6HRZd1ChyouDMrnKC1EiKBJBaKMFkB-dHW_85i6HMN_jPaHDTzNpnkQTOfBABJDGClyn3n8H2At6_wbiKfJHsGh4%3D
   :target: https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.12.0/xf=sdist;xn=cloudsmith-cli/
image::https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.12.0/xf=sdist;xn=cloudsmith-cli/?render=true&badge_token=gAAAAABd6gbWCOC9RT-9JJXJUUFvjnb6HRZd1ChyouDMrnKC1EiKBJBaKMFkB-dHW_85i6HMN_jPaHDTzNpnkQTOfBABJDGClyn3n8H2At6_wbiKfJHsGh4%3D[link="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.12.0/xf=sdist;xn=cloudsmith-cli/",title="This Version @ Cloudsmith"]
<a href="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.12.0/xf=sdist;xn=cloudsmith-cli/"><img src="https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.12.0/xf=sdist;xn=cloudsmith-cli/?render=true&badge_token=gAAAAABd6gbWCOC9RT-9JJXJUUFvjnb6HRZd1ChyouDMrnKC1EiKBJBaKMFkB-dHW_85i6HMN_jPaHDTzNpnkQTOfBABJDGClyn3n8H2At6_wbiKfJHsGh4%3D" alt="This Version @ Cloudsmith" /></a>

rendered as: This Version @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/xf=sdist;xn=cloudsmith-cli/?render=true&badge_token=gAAAAABd6gbW--uZdQLijq_urkLJSdq1vnWV7DtMdUMBk3Gs3pjRDSrz8lJhbLMieXf4g2nhIpVzGHBBpOQEGjuO7t2wGV-HSIzamODlKDlyOTp8yg25UpI%3D)](https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/xf=sdist;xn=cloudsmith-cli/)
|Latest Version @ Cloudsmith|
.. |Latest Version @ Cloudsmith| image:: https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/xf=sdist;xn=cloudsmith-cli/?render=true&badge_token=gAAAAABd6gbW--uZdQLijq_urkLJSdq1vnWV7DtMdUMBk3Gs3pjRDSrz8lJhbLMieXf4g2nhIpVzGHBBpOQEGjuO7t2wGV-HSIzamODlKDlyOTp8yg25UpI%3D
   :target: https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/xf=sdist;xn=cloudsmith-cli/
image::https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/xf=sdist;xn=cloudsmith-cli/?render=true&badge_token=gAAAAABd6gbW--uZdQLijq_urkLJSdq1vnWV7DtMdUMBk3Gs3pjRDSrz8lJhbLMieXf4g2nhIpVzGHBBpOQEGjuO7t2wGV-HSIzamODlKDlyOTp8yg25UpI%3D[link="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/xf=sdist;xn=cloudsmith-cli/",title="Latest Version @ Cloudsmith"]
<a href="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/xf=sdist;xn=cloudsmith-cli/"><img src="https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/xf=sdist;xn=cloudsmith-cli/?render=true&badge_token=gAAAAABd6gbW--uZdQLijq_urkLJSdq1vnWV7DtMdUMBk3Gs3pjRDSrz8lJhbLMieXf4g2nhIpVzGHBBpOQEGjuO7t2wGV-HSIzamODlKDlyOTp8yg25UpI%3D" alt="Latest Version @ Cloudsmith" /></a>

rendered as: Latest Version @ Cloudsmith

These instructions assume you have setup the repository first (or read it).

To install/use cloudsmith-cli @ version 0.12.0 ...

pip install 'cloudsmith-cli==0.12.0'

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.12.0

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.12.0
Warning: We highly recommend using pip (or similar) rather than installing directly.
Top