Publishing developer packages
Developer packages enable distribution and sharing of custom Python files used in flows, such as functions and libraries.
You can create a developer package by adding a developer package directory anywhere in the advanced view file explorer. Then, right-click the content directory and select Package. An .ibsolution file is generated at the same level as the solution directory with the name and version specified in the solution’s JSON metadata. Use Marketplace admin to publish the app to the Marketplace (All apps > Marketplace admin > Tools > Publish).
Developer package contents
Developer packages consist of the package payload stored in a src directory and a JSON file that includes package metadata. Developer packages can optionally include a README and screenshots.
Package payload
The package payload is a src directory that contains your custom Python files.
JSON file
A JSON file describes the solution metadata.
Required fields:
-
name- Unique name for the developer package. -
version- Semantic version in major.minor.patch format. -
short_description- Short description that displays in the Marketplace. -
long_description- Long description of the developer package. -
authors- List of solution author or authors. -
accelerator_type- List of accelerator types:package. -
industry- List of industry tags:Financial Services,Healthcare,Insurance,Public Sector, orShared Services. -
business_vertical- List of business verticals:Asset & Wealth Management,Business & Commercial Banking,Corporate & Investment Banking, orRetail & Consumer Banking. -
package_type- List of package tags:integration,refiner,step, orvalidation. -
function_type- List of function tags:formatting,integrations,machine learning,parsing, orvalidating.
Optional fields:
-
icon_url- Path to optional icon. Alwaysicon.png. -
beta-trueadds a visual beta tag to the developer package. -
encryption_config- Dictionary that specifies the encryption protocol to use. Theencryption_typemust be specified with the valuev1.
See the following sample package.json file for a custom library solution:
README
An optional README.md file that describes the solution package. The README might describe use cases, benefits, and instructions.
Screenshots
Optional screenshots in a screenshots/ folder illustrate how the solution works.
