Featured Article

Mastering Dataiku External Libraries with JSON

William Aug 14, 2026

Dataiku's external libraries feature allows you to extend the capabilities of Dataiku Data Science, making it a powerful tool for custom functionality. One of the ways to create and share these external libraries is through JSON configuration files, which is the focus of this guide.

Data Science in the Library: Tools and Strategies for Supporting Data-Driven Research and Instruction
Data Science in the Library: Tools and Strategies for Supporting Data-Driven Research and Instruction

Let's explore how you can work with Dataiku external libraries using JSON, with a particular focus on those built using Python and R, the two primary languages supported by Dataiku.

Concept | Jupyter notebook
Concept | Jupyter notebook

Understanding Dataiku's External Libraries JSON Configuration

Dataiku's external libraries are designed to be modular, making JSON an ideal configuration format for managing dependencies, run-time paths, and other library-specific settings.

Top 31 Python Libraries for Data Science in 2026
Top 31 Python Libraries for Data Science in 2026

Each external library is defined within a JSON file, with a specific structure that outlines library metadata and required dependencies. The JSON file's name is typically the same as the library's name, followed by 'json.json'.

JSON File Hierarchy

Best Python libraries for Data Science-2021
Best Python libraries for Data Science-2021

Every JSON file for an external library follows a specific hierarchy, starting with the 'library' root element. This root houses four primary sub-elements: 'name', 'version', 'dependencies', and 'script_params'.

Each of these sub-elements plays a vital role in defining the library and its behavior within Dataiku:

  • name: The unique name of the library.
  • version: The library's version number.
  • dependencies: An array of required libraries and their versions.
  • script_params: A list of key-value pairs representing parameters needed for the library's scripts.
dataiku external libraries json
dataiku external libraries json

Working with Python and R Libraries

Dataiku's external libraries support both Python and R, offering developers a choice of programming language depending on their preference and the use case at hand.

Irrespective of the chosen language, the JSON configuration file follows the same structure. The differences lie in the specifics of the 'script_params' and the actual scripts (Python or R) that make up the external library.

Top Python Libraries You Must Know for Data Science, AI & Web Development
Top Python Libraries You Must Know for Data Science, AI & Web Development

Practical Examples: Creating and Using External Libraries with JSON

To illustrate the power and flexibility of Dataiku's external libraries and their JSON configuration, let's consider a practical example of creating a simple Python and an R library.

the poster shows how to use python library for data processing and other information about each object
the poster shows how to use python library for data processing and other information about each object
French startup Dataiku raises $400 million to bring AI and data into the enterprise
French startup Dataiku raises $400 million to bring AI and data into the enterprise
Top 10 Python Libraries Every Data Analyst Must Know in 2026
Top 10 Python Libraries Every Data Analyst Must Know in 2026
JavaScript Visual libraries for your next project
JavaScript Visual libraries for your next project
an image of a diagram on the computer screen with many different symbols and colors in it
an image of a diagram on the computer screen with many different symbols and colors in it
#databricks # unitycatalog
#databricks # unitycatalog
How These Data Science Libraries Work Together-IABAC
How These Data Science Libraries Work Together-IABAC
20 Facts About Dataiku
20 Facts About Dataiku
Coding Lessons, Coding Tutorials, Learn Programming, Software Testing, Data Center, Programming Languages, Cloud Computing, Programming, Web Development
Coding Lessons, Coding Tutorials, Learn Programming, Software Testing, Data Center, Programming Languages, Cloud Computing, Programming, Web Development
Me Too Shoes
Me Too Shoes
15 startups europeas que despuntaron en VivaTech y prometen cambiar el mundo
15 startups europeas que despuntaron en VivaTech y prometen cambiar el mundo
Top Python Libraries Every Data Scientist Should Master
Top Python Libraries Every Data Scientist Should Master
an image of different types of data in the center of a circle with other symbols
an image of different types of data in the center of a circle with other symbols
Concept | The Result tab within the visual ML tool
Concept | The Result tab within the visual ML tool
Jupyter Notebooks Versus Dataiku DSS for Data Science | Towards Data Science
Jupyter Notebooks Versus Dataiku DSS for Data Science | Towards Data Science
Create Lists From JSON Data in Javascript (Simple Examples)
Create Lists From JSON Data in Javascript (Simple Examples)
the top python library for data science is shown in this poster, with information about it
the top python library for data science is shown in this poster, with information about it
a poster with the words python library for data science
a poster with the words python library for data science
an image of a table with numbers and tables for each piece in the game, which is
an image of a table with numbers and tables for each piece in the game, which is

We'll walk through defining and using these libraries through JSON config files, and demonstrate how to access and manage them within Dataiku.

Creating a Simple Python Library

Let's create a simple Python external library that defines a function to greet a given name. The JSON configuration file (greet.json.json) would look like this:

{
  "library": {
    "name": "greet",
    "version": "1.0.0",
    "dependencies" : [],
    "script_params": {
      "greet_message": {
        "type": "text",
        "default": "Hello"
      }
    }
  }
}

Creating a Simple R Library

Now, let's create a similar library in R, using the same 'greet' function. The JSON configuration file (greet.json.json) will differ slightly, as R handles parameters differently:

{
  "library": {
    "name": "greet",
    "version": "1.0.0",
    "dependencies" : [],
    "script_params": {
      "greet_message": {
        "type": " 둣ext 또는 text"
      }
    }
  }
}

With these JSON configuration files, we've created two external libraries - one in Python and one in R - that offer a simple greeting functionality. The final step is to upload these libraries to your Dataiku DSS environment and start using them in your data science projects.

In doing so, you unlock a world of possibilities for extending Dataiku's capabilities, sharing best practices across your team, and enables repeatable data science workflows.

Remember, this is just the starting point. Dataiku's external libraries can be as complex or as simple as your use case requires, limited only by your imagination and the boundaries of what's possible with Python and R.