Skip to main content

A plugin for nodestream providing pipeline shell execution.

Project description

Nodestream Shell Plugin

This plugin provides a Nodestream shell extractor.

NOTE: This plugin is currently in development and is not yet ready for production use.

Installation

pip install nodestream-plugin-shell

For commands that return output in json format

# pipeline.yaml
- implementation: nodestream_plugin_shell:Shell
  arguments:
    command: curl
    arguments:
      - https://example.com/api/data/json
    options: 
      X: GET
      header: "Accept: application/json"
    ignore_stdout: false #Provide json output from command to next step in pipeline.

This would be equivalent to running:

curl https://example.com/api/data.json -X GET --header "Accept: application/json"

For commands that create files that you would like to read into the pipeline

Terminal command

# pipeline.yaml
- implementation: nodestream_plugin_shell:Shell
  arguments:
    command: curl
    arguments:
      - https://example.com/api/data.json
    options: 
      X: GET
      header: "Accept: application/json"
    flags: 
      - O
    ignore_stdout: true #Do not provide output from command to next step in pipeline.

- implementation: nodestream.pipeline.extractors:FileExtractor
  arguments:
    globs:
    - data.json

This would be equivalent to running:

curl https://example.com/api/data.json -X GET --header "Accept: application/json" -O
cat data.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nodestream_plugin_shell-0.14.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nodestream_plugin_shell-0.14.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file nodestream_plugin_shell-0.14.0.tar.gz.

File metadata

  • Download URL: nodestream_plugin_shell-0.14.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nodestream_plugin_shell-0.14.0.tar.gz
Algorithm Hash digest
SHA256 ab5afc7c5e591063e093c22109c1cb484ed0b74dd8873eb65a1abb78262e8096
MD5 dc14e54f7d31a1dd218a761b7e8d3aed
BLAKE2b-256 df0dc24ffdcb5a9a1d45081f1b28a8049ee041864d2c9cc91b33d6f975661935

See more details on using hashes here.

Provenance

The following attestation bundles were made for nodestream_plugin_shell-0.14.0.tar.gz:

Publisher: release.yaml on nodestream-proj/nodestream-plugin-shell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nodestream_plugin_shell-0.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nodestream_plugin_shell-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 beddf9d46e83e5d5797bfc288f4a77e8582626df4353191f493554f3e88f410e
MD5 f92fc7d8b2abf24210b9f2244702e79d
BLAKE2b-256 38e090431a3de3d406415536ad09a745ed2568eda809db7db4919daed48ac9cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for nodestream_plugin_shell-0.14.0-py3-none-any.whl:

Publisher: release.yaml on nodestream-proj/nodestream-plugin-shell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page