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.
artifact-client
2.2.9
One-liner (summary)
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
| Status | Completed |
|---|---|
| Checksum (MD5) | ed44a996f3d9c41f0dd6ac786f078c81 |
| Checksum (SHA-1) | 206ef7d79eb63a39f323673cecadfcfc94fbf557 |
| Checksum (SHA-256) | 17dc7fc08d1592a11b9018c7783ddcc13e054312bdbfbe4a91617aaba694e247 |
| Checksum (SHA-512) | 242e58567cf7c8b0c9ea4eaac24c9da68124eb580ca3a2bf85281c393e11b15c0d… |
| 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 |
|
| Slug Id | artifact_client-229-py3-none-anywhl-rbqx |
| Unique Id | Fy6GZXhJbI29ds5l |
| Version (Raw) | 2.2.9 |
| Version (Parsed) |
|
| 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.9-py3-none-… |
5
53.9 KB |
md5 | sha1 | sha256 | sha512 |
This package has 39 files/directories.
| Newer |
|
artifact-client |
6 |
|
||
| Newer |
|
artifact-client |
5 |
|
||
| Newer |
|
artifact-client |
4 |
|
||
| Newer |
|
artifact-client |
5 |
|
||
| Newer |
|
artifact-client |
5 |
|
||
| Newer |
|
artifact-client |
6 |
|
||
| Newer |
|
artifact-client |
6 |
|
||
|
|
artifact-client |
5 |
|
|||
| Older |
|
artifact-client |
4 |
|
||
| Older |
|
artifact-client |
5 |
|
||
| Older |
|
artifact-client |
5 |
|
||
| Older |
|
artifact-client |
4 |
|
||
| Older |
|
artifact-client |
5 |
|
||
| Older |
|
artifact-client |
5 |
|
||
| Older |
|
artifact-client |
5 |
|
||
| Older |
|
artifact-client |
5 |
|
||
| Older |
|
artifact-client |
5 |
|
||
| Older |
|
artifact-client |
5 |
|
||
| Older |
|
artifact-client |
4 |
|
||
| Older |
|
artifact-client |
5 |
|
Last scanned
4 months, 3 weeks ago
Scan result
Clean
Vulnerability count
0
Max. severity
UnknownPackage statistics are no longer available on cloudsmith.io. Please visit our new web app to access this feature.
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/~demo-docs/repos/awesome-repo/packages/detail/python/artifact-client/2.2.9/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.9/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.9/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.9/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.9/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.9/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.9/a=noarch;xf=bdist_wheel;xn=artifact-client;xv=py3/?render=true" alt="This version of 'artifact-client' @ Cloudsmith" /></a>
rendered as:
To embed the badge for the latest package version, use the following:
[](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:
These instructions assume you have setup the repository first (or read it).
To install/use artifact-client @ version 2.2.9 ...
pip install 'artifact-client==2.2.9'
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.9
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.9
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.9