Skip to main content

argo-models

Build Status PyPI version Downloads

argo-models is a argo namespaced package with the argo.models subpackage which contains the generated OpenAPI models from Argo.

Documentations can be found at https://argo-models.readthedocs.io/en/latest/

pip install argo-models
from argo.models import V1alpha1ArtifactLocation, V1alpha1S3Artifact
from kubernetes.client.models import V1SecretKeySelector

# create aws cred
access_key_secret = V1SecretKeySelector(name="s3_secret", key="accesskey")
secret_key_secret = V1SecretKeySelector(name="s3_secret", key="secretkey")

# create artifact config for s3
s3_artifact = V1alpha1S3Artifact(
    bucket="foobar",
    endpoint="s3.amazonaws.com"
    insecure=False,
    access_key_secret=access_key_secret,
    secret_key_secret=secret_key_secret,
    key=""
)

# create artifact location
artifact_location = V1alpha1ArtifactLocation(s3=s3_artifact)

Developer notes

To generate the latest models, update version.txt with the desired argo release (e.g. 2.3.0-rc3) and then run ./generate-api.sh.

To release new version to pypi, create a release with the corresponding version tag (e.g. v2.2.1). Travis will automatically publish the package.

NOTE:

version.txt should hold the current/latest argo version to be generated, as it is also used by setup.py as the argo-models package version.

Please install @openapitools/openapi-generator-cli to generate the openapi specs.

License

This package is licensed under Apache-2.0 and is a derivative of the Argo project using OpenAPI generator.

Metadata

Release files for argo-models 2.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for argo-models 2.7.5
File Size Uploaded Provenance
argo-models-2.7.5.tar.gz 51.9 kB Without provenance Details

Release files / argo-models-2.7.5.tar.gz

Download URL argo-models-2.7.5.tar.gz
Size 51.9 kB
Tags Source
SHA-256 checksum
How to use checksums
26162327e360627cf806223f6b2bb26fbfc7c9b66e1e056ba7101f114f4048e8
BLAKE2b-256 checksum
How to use checksums
9ea8a9d67f55bbe862cdbf08bbf8dc0e9805f070796e005ad103e9e54959df40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7

Security for argo-models 2.7.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page