Skip to main content

td-ml-ps-stats-scan

Introduction

This Python Library allows you to extract Parent Segment, Folder, Audiences info and store it in a table in TD for reporting purposes and mapping audiences to segments and metrics.

Input Params

config.yml: The workflow YAML file contains the params that are required by this library to extract the neded information. See below:

  • apikey = TD APIKEY
  • tdserver = TD ENDPOINT
  • sink_database = Database where outout tables will be written
  • output_table = name of output table
  • folder_depth = how many nested folders in Audience Studio to look into for segments (default = 10)
  • v5_flag = 1 - scans PSs that are in V5 version, 0 - scans PSs in V4, and 1, 0 - scans PS is in both V4 and V5.
  • apply_ps_filters = yes - applies filters below and only returns info on specific Parent Segments, Folders, or Segments and Journeys, no - returns all objects in Audience Studio
  • ps_to_include = use REGEXP format such as 'name_1|name_2|ec.' to only return info on Parent Segments that match the REGEXP. If you leave blank '', then it will return ALL information.
  • folders_to_include = use REGEXP format such as 'name_1|name_2|etc.' to only return info on Folder Names that match the REGEXP. If you leave blank '', then it will return ALL information.
  • segments_to_include = use REGEXP format such as 'name_1|name_2|etc.' to only return info on Audience Segment Names that match the REGEXP. If you leave blank '', then it will return ALL information.
  • journeys_to_include = use REGEXP format such as 'name_1|name_2|etc.' to only return info on Journey Names that match the REGEXP. If you leave blank '', then it will return ALL information.

Copyright © 2022 Treasure Data, Inc. (or its affiliates). All rights reserved

Metadata

Release files for td-ml-ps-stats-scan 0.0.28

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for td-ml-ps-stats-scan 0.0.28
File Size Uploaded Provenance Actions
td_ml_ps_stats_scan-0.0.28.tar.gz 8.1 kB Without provenance Details for td_ml_ps_stats_scan-0.0.28.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for td-ml-ps-stats-scan 0.0.28
File Interpreter ABI Platform Actions
td_ml_ps_stats_scan-0.0.28-py3-none-any.whl Python 3 none any Details for td_ml_ps_stats_scan-0.0.28-py3-none-any.whl

Total release size: 16.0 kB

Release files / td_ml_ps_stats_scan-0.0.28.tar.gz

Download URL td_ml_ps_stats_scan-0.0.28.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e23e790a14bc09347619c89294e7a1c50e60914b98077c03cf1d595c2921b99d
BLAKE2b-256 checksum
How to use checksums
7ace5269e421c2e17e937e8715d56032dd58b7a37ed2f63bf8ac2ec3971d9243
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.19

Release files / td_ml_ps_stats_scan-0.0.28-py3-none-any.whl

Download URL td_ml_ps_stats_scan-0.0.28-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1253b930946eedb0b32e654ab57208bdfdb7bc48e0e206600f0e711b07bf970
BLAKE2b-256 checksum
How to use checksums
deea325ae28e123d22b9708430f48cf5728016fcc52260233e288fb1358ef6cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.19

Security for td-ml-ps-stats-scan 0.0.28

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page