Package Search Help

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:
filename:my-package.ext 

Search by package tag:
tag:latest 

Search by package version:
version:1.0.0  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 by last download date:
last_downloaded:<"30 days ago" 
last_downloaded:>"August 14, 2022 EST" 

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)

Search queries for all Generic-specific package types

Search by file path:
generic_filepath:path/to/file.txt

Search by directory:
generic_directory:path/to

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, Generic, Go, Helm, Hex, HuggingFace, LuaRocks, Maven, npm, NuGet, P2, Python, RedHat, Ruby, Swift, Terraform, Vagrant, VSX, 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.

Start My Free Trial

Python logo artifact-client  2.2.8

One-liner (summary)

Python client for the Artifact API

Description

# artifact-client API for interacting with the Artifact Client.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.7.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.

Python 3.7+

## Installation & Usage ### pip install

If the python package is hosted on a repository, you can install directly using:

`sh pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git ` (you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

`python import artifact `

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

`sh python setup.py install --user ` (or sudo python setup.py install to install the package for all users)

Then import the package:

`python import artifact `

### Tests

Execute pytest to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python import os from artifact import ArtifactClient from artifact.models import ApiException from pprint import pprint

# ArtifactClient wraps some of the boilerplate functionality needed to drive the # autogenerated code. The API key can be passed in to the constructor as api_key. # If not specified, the client looks for the key in the environment under ARTIFACT_API_KEY. api_client = ArtifactClient()

# The client supports all the API endpoints. Below are examples of a few of the commonly used actions. graph = api_client.create_graph(name="My First Graph")

doc_str = (
"Input a corpus of text and save it as a string in memory. Then pass it to the ingest method."

) api_client.ingest_document(graph.uuid, doc_str)

# Kick off an async server process to index the graph api_client.index_graph(graph.uuid)

# When the indexing completes, the graph is ready to be queried for useful information. response = api_client.query_graph(graph.uuid) ```

## Documentation for API Endpoints

All URIs are relative to https://api.useartifact.ai

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- DefaultApi | [create_graph](docs/DefaultApi.md#create_graph) | POST /graphs | Create a new graph DefaultApi | [delete_all_graphs](docs/DefaultApi.md#delete_all_graphs) | POST /graphs/delete_all | Deletes all graphs DefaultApi | [delete_graph](docs/DefaultApi.md#delete_graph) | POST /graphs/{graphId}/delete | Delete a graph DefaultApi | [get_graph_documents_meta](docs/DefaultApi.md#get_graph_documents_meta) | POST /graphs/{graphId}/documents_meta | Get graph documents meta DefaultApi | [get_graph_stats](docs/DefaultApi.md#get_graph_stats) | POST /graphs/{graphId}/stats | Get graph statistics DefaultApi | [ingest_document](docs/DefaultApi.md#ingest_document) | POST /graphs/{graphId}/ingest | Ingest a document into a graph DefaultApi | [list_graphs](docs/DefaultApi.md#list_graphs) | GET /graphs | List all graphs DefaultApi | [query_graph](docs/DefaultApi.md#query_graph) | POST /graphs/{graphId}/query | Query a graph

## Documentation For Models

  • [CreateGraphRequest](docs/CreateGraphRequest.md)
  • [DocumentMeta](docs/DocumentMeta.md)
  • [Graph](docs/Graph.md)
  • [GraphStats](docs/GraphStats.md)
  • [IngestDocumentRequest](docs/IngestDocumentRequest.md)
  • [QueryRequest](docs/QueryRequest.md)
  • [QueryResult](docs/QueryResult.md)

<a id="documentation-for-authorization"></a> ## Documentation For Authorization

Authentication schemes defined for the API: <a id="ApiKeyAuth"></a> ### ApiKeyAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

## Author

Size

49.6 KB

Downloads

4

Status  Completed
Checksum (MD5) 5a34765f92529255da407204516f7b2e
Checksum (SHA-1) df9a048a0d6b599f0bfc75683289e2326696eca8
Checksum (SHA-256) 7aed4f63ec8e00552e59c84d4405bbb489277da3d61a0c22943bdaeed6b367a6
Checksum (SHA-512) 85b04721c5aaed67b6804fb4939a0a0ab7df997df91fda23b0beb123280d23d151…
GPG Signature
GPG Fingerprint 6811684bac0b8895434e97bdd4391b8fb999e537
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 4 months, 3 weeks ago
Uploaded By Fetched by Cloudsmith
Slug Id artifact_client-228-py3-none-anywhl-p4nf
Unique Id sVFo74xMpDOEPlRK
Version (Raw) 2.2.8
Version (Parsed)
  • Major: 2
  • Minor: 2
  • Patch: 8
  • Type: SemVer (Compat)
  extended metadata
Author Ozone Dev <ozone@ozone.tech>
Classifiers Intended Audience :: Developers | License :: OSI Approved :: Apache Software License | Operating System :: MacOS | Operating System :: Microsoft :: Windows | Operating System :: OS Independent | Operating System :: POSIX | Operating System :: POSIX :: Linux | Programming Language :: Python :: 3.10 | Programming Language :: Python :: 3.11 | Programming Language :: Python :: 3.12 | Programming Language :: Python :: 3.7 | Programming Language :: Python :: 3.8 | Programming Language :: Python :: 3.9 | Topic :: Software Development :: Libraries :: Python Modules
Keywords Artifact,Artifact Client API,GraphRAG,Ozone
Metadata Version 2.3
Project Urls Homepage, https://github.com/Ozone-App/artifact-python-client | Repository, https://github.com/Ozone-App/artifact-python-client
Py Filetype bdist_wheel
Py Version py3
Requires Dist boto3>=1.35.0 | certifi==2024.7.4 | pydantic>=2 | python-dateutil>=2.9.0 | requests>=2.32.3 | six==1.16.0 | uri>=2.0.1 | urllib3==2.2.2
Requires Python >=3.8
pkg artifact_client-2.2.8-py3-none-… 4
49.6 KB
md5 sha1 sha256 sha512
Package Contents (artifact_client-2.2.8-py3-none-any.whl)
Loading...

This package has 35 files/directories.

 Newer Python logo
artifact-client
 2.4.5
6 Fetched by Cloudsmith
 Newer Python logo
artifact-client
 2.4.4
5 Fetched by Cloudsmith
 Newer Python logo
artifact-client
 2.4.3
4 Fetched by Cloudsmith
 Newer Python logo
artifact-client
 2.4.2
5 Fetched by Cloudsmith
 Newer Python logo
artifact-client
 2.4.1
5 Fetched by Cloudsmith
 Newer Python logo
artifact-client
 2.3.0
6 Fetched by Cloudsmith
 Newer Python logo
artifact-client
 2.2.10
6 Fetched by Cloudsmith
 Newer Python logo
artifact-client
 2.2.9
5 Fetched by Cloudsmith
  Python logo
artifact-client
 2.2.8
4 Fetched by Cloudsmith
 Older Python logo
artifact-client
 2.2.7
5 Fetched by Cloudsmith
 Older Python logo
artifact-client
 2.2.6
5 Fetched by Cloudsmith
 Older Python logo
artifact-client
 2.1.4
4 Fetched by Cloudsmith
 Older Python logo
artifact-client
 2.1.3
5 Fetched by Cloudsmith
 Older Python logo
artifact-client
 2.1.1
5 Fetched by Cloudsmith
 Older Python logo
artifact-client
 2.1.0
5 Fetched by Cloudsmith
 Older Python logo
artifact-client
 2.0.13
5 Fetched by Cloudsmith
 Older Python logo
artifact-client
 2.0.11
5 Fetched by Cloudsmith
 Older Python logo
artifact-client
 1.0.17
5 Fetched by Cloudsmith
 Older Python logo
artifact-client
 1.0.16
4 Fetched by Cloudsmith
 Older Python logo
artifact-client
 1.0.15
5 Fetched by Cloudsmith

Last scanned

4 months, 3 weeks ago

Scan result

Clean

Vulnerability count

0

Max. severity

Unknown

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 of 'artifact-client' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/artifact-client/2.2.8/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/?render=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/artifact-client/2.2.8/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/)
|This version of 'artifact-client' @ Cloudsmith|
.. |This version of 'artifact-client' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/artifact-client/2.2.8/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/?render=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/artifact-client/2.2.8/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/artifact-client/2.2.8/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/?render=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/artifact-client/2.2.8/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/",title="This version of 'artifact-client' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/artifact-client/2.2.8/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/artifact-client/2.2.8/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/?render=true" alt="This version of 'artifact-client' @ Cloudsmith" /></a>

rendered as: This version of 'artifact-client' @ Cloudsmith

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

[![Latest version of 'artifact-client' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/artifact-client/latest/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/?render=true&show_latest=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/artifact-client/latest/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/)
|Latest version of 'artifact-client' @ Cloudsmith|
.. |Latest version of 'artifact-client' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/artifact-client/latest/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/?render=true&show_latest=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/artifact-client/latest/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/artifact-client/latest/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/?render=true&show_latest=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/artifact-client/latest/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/",title="Latest version of 'artifact-client' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/artifact-client/latest/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/artifact-client/latest/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/?render=true&show_latest=true" alt="Latest version of 'artifact-client' @ Cloudsmith" /></a>

rendered as: Latest version of 'artifact-client' @ Cloudsmith

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

To install/use artifact-client @ version 2.2.8 ...

pip install 'artifact-client==2.2.8'

You can also install the latest version of this package:

pip install --upgrade 'artifact-client'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/ \
  artifact-client==2.2.8

If you've got a project requirements.txt file, you can specify this as a dependency:

--index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/
artifact-client==2.2.8

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/demo-docs/awesome-repo/python/simple/
artifact-client==2.2.8
Warning: We highly recommend using pip (or similar) rather than installing directly.
Top