What is Cloudsmith?

Cloudsmith is the only source of truth for programming teams; it provides a centralized repository for software assets, operating systems and container package management. Package management is the mechanism of installing and upgrading dependencies, thereby producing artifacts that will be deployed and distributed to production. One of the major features of Cloudsmith is the scanning of the various packages, which ensures a secure and traceable process from integration to delivery.

The cofounders of Cloudsmith, Alan Carson and Lee Skillen, spotted the difficulties in package and software management at their first startup and decided to build a solution to cater to this problem.

Cloudsmith streamlines the addition of existing packages from an unstable public upstream into the user's system thereby, isolating packages from any risk of instability.

Integration

Cloudsmith is able to integrate with a variety of CI/CD tools through the following methods:

  • First-class integration

  • Application Programming Interface (API)

  • Command-line Interface (CLI)

Installation of the CLI

On Linux, the CLI can be installed with package installer for Python using the pip command:

pip install --upgrade cloudsmith-cli

This can also be achieved with the latest prerelease of Cloudsmith:

pip install --upgrade cloudsmith-cli --extra-index-
url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/index/

On Windows, the same can be achieved with Chocolatey. First, install Chocolatey with the following command in the powershell terminal:

pip install --upgrade cloudsmith-cli --extra-index-
url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/index/

Then, install the Cloudsmith CLI:

choco install python -y
refreshenv
choco install cloudsmith-cli --source python

API Integration

The integration of Cloudsmith can be done through Representational State Transfer (REST) architecture. This describes how the client sends an http request in the form of a Uniform Resource Locator (URL), and how the response may come in the form of json or xml format.

Cloudsmith API is Open API 2.0 Specification compliant and uses Swagger to generate the client that interacts programmatically with the specified libraries.

Example of API Integration with Swagger:

widget
REST Architecture
REST Architecture

Accelerate pull request to production

Cloudsmith Content Delivery Network (CDN), powers the pace of its global delivery. Its speedy setup, together with the support of the most popular formats—such as Node Package Management (NPM), or Maven—ensures a pain-free product delivery.

Free Resources