Giter Club home page Giter Club logo

docker-n8n-python's Introduction

n8n - docker image with Python 3.10 and custom node PythonFunction

n8n.io - Workflow Automation

This image includes Python 3.10 by default. it can be used to run python scripts inside n8n using the Execute Command node or code snippets using the custom node Python Function.

Run python 3.10 code on n8n.

Docker Hub

GitHub repository

Image Setup

Using docker compose docker-compose.yml

Usage

Run Python Code

The image includes the custom module n8n-nodes-python by default.

We can use this custom node Python Function to run a python code over the items (works the same way as Function node)

Python Function node docs

Run mounted Python scripts using the ExecuteCommand node

You can run *.pyfiles that has been mounted to the container using the ExecuteCommand node.

Installing external packages

The ExecuteCommand node can be used to install python packages or install dependencies from a mounted requirements.txt file to the container.

It can be combined with n8nTrigger to install packages directly after starting the container.

Once the packages are installed, it can be used in the Python Function node. import <package>

Documentation

The official n8n documentation can be found under: https://docs.n8n.io

Additional information and example workflows on the n8n.io website: https://n8n.io

Learn how to run n8n in Docker

docker-n8n-python's People

Contributors

naskio avatar pccr10001 avatar lilmonk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.