Northflank

The self-service developer platform that automates and unifies deployment of any workload, on any cloud, at any scale.

Integrate the Northflank API with the Python API

Setup the Northflank API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Northflank and Python remarkably fast. Free for developers.

Create Domain with the Northflank API

Creates a new domain on Northflank. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Create Project with the Northflank API

Creates a new project on Northflank. See the documentation

 
Try it
Get Domains with the Northflank API

List all domains with pagination. See the documentation

 
Try it
Get Projects with the Northflank API

Lists all projects with pagination. See the documentation

 
Try it

Overview of Northflank

The Northflank API offers a range of functionality for managing and automating deployment workflows, handling various aspects from creating and managing services to scaling and monitoring applications. On Pipedream, you can use this API to create seamless automation that connects your deployment processes with other services and tools, crafting custom continuous deployment pipelines, generating real-time alerts, or automating service scaling based on specific triggers.

Connect Northflank

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    northflank: {
      type: "app",
      app: "northflank",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.northflank.com/v1/projects`,
      headers: {
        Authorization: `Bearer ${this.northflank.$auth.api_token}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}