Hub
Pricing About
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Community Hub
  • knime
  • Spaces
  • Python Script Space
  • 04_Sharing_Python_Scripts_in_Components
  • Sharing_Component_with_Custom_Python_Packages
WorkflowWorkflow

Sharing Component with Custom Python Packages

Geo Distance Component Python Python Script GeoPy
+1
KNIME profile image

Last edited: 

Drag & drop
Like
Download workflow
Copy short link
Workflow preview
This worklow demonstrates the creation of Geo Distance Component that uses geopy python package for distance calculation given the GPS coordinates. The Python Script node uses the python package geopy for distance calculation. The conda environment propagation node makes sure the python environment required for the execution of the Python Script node is made available at the user's system. The geopy package is not included in the Bundled environment that comes with the Python Script node, which is why we create a new environment with geopy package and ship this environment using the Conda Environment Propagation node.

External resources

  • KNIME Python API Documentation
  • KNIME Python Integration Guide
  • Data Transfer between KNIME and Python Just Got Faster

Used extensions & nodes

Created with KNIME Analytics Platform version 4.7.0
  • Go to item
    KNIME Base nodes Trusted extension

    KNIME AG, Zurich, Switzerland

    Versions 4.6.1, 4.6.2, 4.7.0

    KNIME profile image
    knime
  • Go to item
    KNIME Conda Integration Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    KNIME profile image
    knime
  • Go to item
    KNIME Python Integration Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    KNIME profile image
    knime
  • Go to item
    KNIME Quick Forms Trusted extension

    KNIME AG, Zurich, Switzerland

    Versions 4.6.0, 4.7.0

    KNIME profile image
    knime
  • Go to item
    KNIME Views (Labs) Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    KNIME profile image
    knime
  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item
Loading deployments
Loading ad hoc executions

Legal

By using or downloading the workflow, you agree to our terms and conditions.

Discussion
Discussions are currently not available, please try again later.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Business Hub
© 2023 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits