Func Runner Help

Create Your Application

Install Dependencies

Create a new Python project and begin by installing a couple of dependencies.

pip install funcrunner python-dotenv

Create the Main Application

# main.py from dotenv import load_dotenv from funcrunner.app import FuncRunnerApp load_dotenv() app = FuncRunnerApp() app.run()

Update .env with API Key

Create a .env file at the root of the project with the following body ensuring you copy over the API key you created in the 'Getting Started' section.

FUNCRUNNER_API_KEY=<paste your API key>

Run Application

To run your application, navigate to the root of your project directory in a terminal window and run the following command

python main.py

You will write your first function in the next step but for now you should see an output similar to the following:

[info ] Starting Func Runner application... [info ] No functions registered.
Last modified: 06 November 2024