GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lovecgi/docker-n8n-python: Docker image for running Python on n8n

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

248 Commits
248 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
demo
demo
 
 
images
images
 
 
release-versions
release-versions
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
default-requirements.txt
default-requirements.txt
 
 

Repository files navigation

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

About

Docker image for running Python on n8n

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.