You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.
Search by package name:
my-package
(implicit)
name:my-package
(explicit)
Search by package filename:
my-package.ext
(implicit)
filename:my-package.ext
(explicit)
Search by package tag:
latest
(implicit)
tag:latest
(explicit)
Search by package version:
1.0.0
(implicit)
version:1.0.0
(explicit)
prerelease:true
(prereleases)
prerelease:false
(no prereleases)
Search by package architecture:
architecture:x86_64
Search by package distribution:
distribution:el
Search by package license:
license:MIT
Search by package format:
format:deb
Search by package status:
status:in_progress
Search by package file checksum:
checksum:5afba
Search by package security status:
severity:critical
Search by package vulnerabilities:
vulnerabilities:>1
vulnerabilities:<1000
Search by # of package downloads:
downloads:>8
downloads:<100
Search by package type:
type:binary
type:source
Search by package size (bytes):
size:>50000
size:<10000
Search by dependency name/version:
dependency:log4j
dependency:log4j=1.0.0
dependency:log4j>1.0.0
Search by uploaded date:
uploaded:>"1 day ago"
uploaded:<"August 14, 2022 EST"
Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY
Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true
Search by repository:
repository:repo-name
Search queries for all Debian-specific (and related) package types
Search by component:
deb_component:unstable
Search queries for all Maven-specific (and related) package types
Search by group ID:
maven_group_id:org.apache
Search queries for all Docker-specific (and related) package types
Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)
Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)
Field type modifiers (depending on the type, you can influence behaviour)
For all queries, you can use:
~foo
for negation
For string queries, you can use:
^foo
to anchor to start of term
foo$
to anchor to end of term
foo*bar
for fuzzy matching
For number/date or version queries, you can use:
>foo
for values greater than
>=foo
for values greater / equal
<foo
for values less than
<=foo
for values less / equal
Need a secure and centralised artifact repository to deliver Alpine,
Cargo,
CocoaPods,
Composer,
Conan,
Conda,
CRAN,
Dart,
Debian,
Docker,
Go,
Helm,
Hex,
LuaRocks,
Maven,
npm,
NuGet,
P2,
Python,
RedHat,
Ruby,
Swift,
Terraform,
Vagrant,
Raw & More packages?
Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.
With support for all major package formats, you can trust us to manage your software supply chain.
These tend to be pre-releases, for stable releases download from PyPi: https://pypi.python.org/pypi/cloudsmith-cli
cloudsmith-cli 0.1.0
One-liner (summary)
Description
Cloudsmith Command Line Interface (CLI)
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.
Features
The CLI currently supports the following commands:
- check: Check the status/version of the service.
- delete: Delete a package from a repository.
- docs: Launch the help website in your browser.
- push: Push/upload a new package to a repository.
- status: Get the synchronisation status for a package.
- token: Retrieve your API authentication token/key.
- whoami: Retrieve your current authentication status.
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 configuration [default] api_key='1234567890abcdef1234567890abcdef' # Profile-based configuration (not working yet) [profile:cloudsmith] api_key='fedcba0987654321fedcba0987654321'
Non-Credentials (config.ini)
TODO
Credentials (credentials.ini)
You can specify the following configuration options:
- api_key: To specify the authentication key/token for API access.
Examples
TODO: Provide a list of examples for the CLI tool.
Contributing
Yes! Please do contribute, this is why we love open source. Please see CONTRIBUTING.md for contribution guidelines when making code changes or raising issues for bug reports, ideas, discussions and/or questions (i.e. help required).
Releasing
To make a new release for cloudsmith-cli follow the procedure for virtualenv setup then:
$ bumpversion <major|minor|revision>
A tag will automatically created along with the version bump commit.
EOF
This quality product was brought to you by Cloudsmith and the fine folks mentioned in CONTRIBUTORS.md.
Status | Completed |
---|---|
Checksum (MD5) | 470c51291184574b037063fd33540c4c |
Checksum (SHA-1) | a4f4073bba3439d5ae0feb800f6f5213edc87ced |
Checksum (SHA-256) | 17033000cb1d79d2c147887a5315345b335a811c0dd20e54f7fab5091d95aed7 |
Checksum (SHA-512) | a8bad848f2b6ae3a51fd939f4f6863b84ef2c692be7d1bac38d4932663e8f34719… |
GPG Signature | |
Storage Region | Dublin, Ireland |
Type | Binary (contains binaries and binary artifacts) |
Uploaded At | 6 years, 11 months ago |
Uploaded By | |
Slug Id | cloudsmith_cli-010-py2py3-none-anywhl |
Unique Id | 8T6EgJeUqK6h |
Version (Raw) | 0.1.0 |
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 License 2.0 | 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.1.0-py2.py3-no… |
288
27.3 KB |
md5 | sha1 | sha256 | sha512 |
This package has 49 files/directories.
Newer |
cloudsmith-cli |
334 | ||||
Newer |
cloudsmith-cli |
11 | ||||
Newer |
cloudsmith-cli |
214 | ||||
Newer |
cloudsmith-cli |
23 | ||||
Newer |
cloudsmith-cli |
29 | ||||
Newer |
cloudsmith-cli |
304 | ||||
Newer |
cloudsmith-cli |
25 | ||||
Newer |
cloudsmith-cli |
34 | ||||
Newer |
cloudsmith-cli |
25 | ||||
Newer |
cloudsmith-cli |
40 | ||||
Newer |
cloudsmith-cli |
28 | ||||
Newer |
cloudsmith-cli |
24 | ||||
Newer |
cloudsmith-cli |
35 | ||||
Newer |
cloudsmith-cli |
27 | ||||
Newer |
cloudsmith-cli |
25 | ||||
Newer |
cloudsmith-cli |
24 | ||||
Newer |
cloudsmith-cli |
26 | ||||
Newer |
cloudsmith-cli |
26 | ||||
cloudsmith-cli |
288 | |||||
Newer |
cloudsmith-cli |
35 |
Last scanned
3 days, 22 hours ago
Scan result
Clean
Vulnerability count
0
Max. severity
UnknownYou 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 of 'cloudsmith-cli' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.1.0/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true)](https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.1.0/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/)
|This version of 'cloudsmith-cli' @ Cloudsmith|
.. |This version of 'cloudsmith-cli' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.1.0/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true
:target: https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.1.0/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/
image::https://api-prd.cloudsmith.io/v1/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.1.0/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true[link="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.1.0/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/",title="This version of 'cloudsmith-cli' @ Cloudsmith"]
<a href="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.1.0/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.1.0/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true" alt="This version of 'cloudsmith-cli' @ Cloudsmith" /></a>
rendered as:
To embed the badge for the latest package version, use the following:
[![Latest version of 'cloudsmith-cli' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&show_latest=true)](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 of 'cloudsmith-cli' @ Cloudsmith|
.. |Latest version of 'cloudsmith-cli' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&show_latest=true
: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/v1/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&show_latest=true[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 of 'cloudsmith-cli' @ 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/v1/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/a=noarch;xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&show_latest=true" alt="Latest version of 'cloudsmith-cli' @ Cloudsmith" /></a>
rendered as:
These instructions assume you have setup the repository first (or read it).
To install/use cloudsmith-cli @ version 0.1.0 ...
pip install 'cloudsmith-cli==0.1.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 \
--index-url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/simple/ \
cloudsmith-cli==0.1.0
If you've got a project requirements.txt file, you can specify this as a dependency:
--index-url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/simple/
cloudsmith-cli==0.1.0
In addition, you can use this repository as an extra index url. However, please read our documentation on this parameter before using it. For example in a requirements.txt file:
--extra-index-url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/simple/
cloudsmith-cli==0.1.0