Skip to main content

This plugin allows vdk-core to access vdk-control-cli functionality.

Upon installing it enhances vdk with CLI commands for data job lifecycle management available from vdk-control-cli package

It will also install properties plugin and switch Properties in vdk to use Control Service Properties API. By default no Properties backend is used otherwise.

Usage

pip install vdk-plugin-control-cli

New CLI commands

Then on the vdk CLI you should be able to see the new commands. Run

vdk --help

and you will see extra commands being added:

Commands:
  ...
  login                  Authentication against the Control Service.
  logout                 Logout the user from the Data Jobs Service by...
  create                 Creates a new data job in cloud and locally.
  delete                 Deletes a data job from the cloud.
  deploy                 Deploys a data job.
  ...

And you can use them from the same CLI vdk

New properties backend client registered

You can now access remote properties from Control Service Properties API Store state, configuration or secrets there using CLI or Python JobInput API

For example, let's store some api-uri

vdk properties --set 'api-uri' 'http://cool.cool.api.com'

and then we can use it in our data job

def run(job_input: IJobInput):
    uri = job_input.get_property('api-uri')
    print(requests.get(uri))

Metadata

Release files for vdk-plugin-control-cli 0.1.414800992

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

Source distribution (sdist)

Source distribution for vdk-plugin-control-cli 0.1.414800992
File Size Uploaded
vdk-plugin-control-cli-0.1.414800992.tar.gz 9.1 kB Details

Release files / vdk-plugin-control-cli-0.1.414800992.tar.gz

Download URL vdk-plugin-control-cli-0.1.414800992.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2cbcc7f9cefcbdc536a3296b1039a50d3313e1c065189c304620b752eed91526
BLAKE2b-256 checksum
How to use checksums
bcd966c506fda7adc704d1c73c45bf26024e24005f45a3e391f53decfdff7c03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

Release history Release notifications | RSS feed

This release

0.1.414800992 This release

1 release file

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