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, and1, 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)
| File | Size | Uploaded | |
|---|---|---|---|
| td_ml_ps_stats_scan-0.0.28.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| td_ml_ps_stats_scan-0.0.28-py3-none-any.whl | Python 3 | none | any | Details |
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
|