{"id":19431977,"url":"https://github.com/naskio/docker-n8n-python","last_synced_at":"2025-04-09T15:04:20.428Z","repository":{"id":37306910,"uuid":"444962659","full_name":"naskio/docker-n8n-python","owner":"naskio","description":"Docker image for running Python on n8n","archived":false,"fork":false,"pushed_at":"2025-04-09T01:12:29.000Z","size":108,"stargazers_count":56,"open_issues_count":10,"forks_count":25,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T15:03:00.333Z","etag":null,"topics":["docker","docker-compose","docker-image","n8n","n8n-nodes-python","n8n-python","python","python3","workflow","workflows"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naskio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-05T22:02:41.000Z","updated_at":"2025-04-09T01:12:33.000Z","dependencies_parsed_at":"2023-02-15T13:40:34.529Z","dependency_job_id":"f39a5b45-c0f0-4e1e-8199-cb1fa9b44490","html_url":"https://github.com/naskio/docker-n8n-python","commit_stats":{"total_commits":254,"total_committers":4,"mean_commits":63.5,"dds":"0.019685039370078705","last_synced_commit":"93ad45c441bac9a5084bf4cb7b7e905d5f64bc0d"},"previous_names":[],"tags_count":106,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naskio%2Fdocker-n8n-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naskio%2Fdocker-n8n-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naskio%2Fdocker-n8n-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naskio%2Fdocker-n8n-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naskio","download_url":"https://codeload.github.com/naskio/docker-n8n-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055275,"owners_count":21040156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","docker-image","n8n","n8n-nodes-python","n8n-python","python","python3","workflow","workflows"],"created_at":"2024-11-10T14:33:30.766Z","updated_at":"2025-04-09T15:04:20.407Z","avatar_url":"https://github.com/naskio.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# n8n - docker image with Python 3.10 and custom node PythonFunction\n\n![n8n.io - Workflow Automation](https://raw.githubusercontent.com/n8n-io/n8n/master/assets/n8n-logo.png)\n\nThis [image](https://hub.docker.com/r/naskio/n8n-python) includes Python 3.10 by default. it can be used to run python\nscripts inside n8n using the [Execute Command](https://docs.n8n.io/nodes/n8n-nodes-base.executeCommand/) node or code\nsnippets using the custom node [Python Function](https://www.github.com/naskio/n8n-nodes-python).\n\n\u003e Run python 3.10 code on n8n.\n\n[Docker Hub](https://hub.docker.com/r/naskio/n8n-python)\n\n[GitHub repository](https://www.github.com/naskio/docker-n8n-python)\n\n## Image Setup\n\nUsing docker compose\n[docker-compose.yml](./demo/docker-compose-local.yml)\n\n## Usage\n\n### Run Python Code\n\nThe image includes the custom module [n8n-nodes-python](https://www.github.com/naskio/n8n-nodes-python) by default.\n\nWe can use this custom node [Python Function](https://www.github.com/naskio/n8n-nodes-python) to run a python code over\nthe `items` (works the same way as [Function](https://docs.n8n.io/nodes/n8n-nodes-base.function) node)\n\n[Python Function node docs](https://www.github.com/naskio/n8n-nodes-python)\n\n### Run mounted Python scripts using the ExecuteCommand node\n\nYou can run `*.py`files that has been mounted to the container using\nthe [ExecuteCommand](https://docs.n8n.io/nodes/n8n-nodes-base.executeCommand/) node.\n\n### Installing external packages\n\nThe [ExecuteCommand](https://docs.n8n.io/nodes/n8n-nodes-base.executeCommand/) node can be used to install python\npackages or install dependencies from a mounted `requirements.txt` file to the container.\n\nIt can be combined with [n8nTrigger](https://docs.n8n.io/nodes/n8n-nodes-base.n8nTrigger) to install packages directly\nafter starting the container.\n\n\u003e Once the packages are installed, it can be used in the Python Function node. `import \u003cpackage\u003e`\n\n## Documentation\n\nThe official n8n documentation can be found under: [https://docs.n8n.io](https://docs.n8n.io)\n\nAdditional information and example workflows on the n8n.io website: [https://n8n.io](https://n8n.io)\n\nLearn [how to run n8n in **Docker**](https://github.com/n8n-io/n8n/tree/master/docker/images/n8n/README.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaskio%2Fdocker-n8n-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaskio%2Fdocker-n8n-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaskio%2Fdocker-n8n-python/lists"}