Skip to main content

Persona360 interface bundle

Project description

p360-interface-bundle

Interface between Persona360 app instance and a project with Daipe Feature store.

Many operations need to be done between a feature store is populated and an app is working properly based on it. We may want to adjust some nomenclature in metadata for the app, we surely need to ensure the latest snapshot of the feature store is propagated to the app's underlying Clickhouse database. For these operational services, p360-interface-bundle comes to hand.

Setup

Nothing more to do then to add p360-interface-bundle to your project:

poetry add p360-interface-bundle

Tools

Feature store post-actions


metadata_adjustment.CreateMetadataJsonFiles

  • Get feature store metadata
  • Rename some of their columns
  • Introduce subcategory mapping
  • Save the resulting metadata JSONs for an app to ADLS

Configuration

Add the following configuration to your project's config.yaml:

parameters:
  p360_interface_bundle:
    featurestore:
      post_actions:
        metadata_adjustment:
          export_path: "abfss://<container>@<adls domain>/<path to folder>"
          mapping:
            general:
              <original column name in FS metadata>: <replacement value>
              <another original column name in FS metadata>: <another replacement value>
            category:
              <category name>:
                - <first subcategory of this category>
                - <second subcategory of this category>
              <another category name>:
                - <first subcategory of this category>
                - <second subcategory of this category>

Latest Changes

0.1.1

0.1.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

p360_interface_bundle-0.2.1-py3-none-any.whl (25.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page