String Validator Action
The purpose of this plugin is to validate data. We need to specify a type of validation.
We can choose from:
- email - for example example@mail.com
- url - for example tracardi.com
- ipv4 for example 192.168.1.1
- date for example 01.01.1900
- time for example 01:01
- int for example 3
- float for example 3.4
- number_phone for example +48123456789
Configuration
This node require configuration.
Configuration values
- validate_regex - type of validation.
- data - the string that we would like to validate
Data can be a dotted notation path to value inside profile, event, session, etc. or any string.
Examples
{
"validate_regex" : "url",
"data" : "profile@traits.private.email"
}
It will return payload on valid output port. invalid port will stay inactive.
{
"validate_regex" : "email",
"data" : "12341232"
}
It will return payload on invalid output port. valid port will stay inactive.
Input payload
This node does not process input payload. Input payload will not be returned on output.
Output
This plugin has to port valid and invalid. Depending on validation result the appropriate ports will be launched with payload copied as data.
Metadata
Release files for tracardi-string-validator 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tracardi-string-validator-0.6.0.tar.gz | 8.8 kB | Without provenance | Details for tracardi-string-validator-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tracardi_string_validator-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for tracardi_string_validator-0.6.0-py3-none-any.whl |
Total release size: 19.0 kB
Release files / tracardi-string-validator-0.6.0.tar.gz
| Download URL | tracardi-string-validator-0.6.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85c7046de9ec7cbbad70019c05b1084eecd3b9400f1aafc4ced0cc3120a51bd7
|
|
BLAKE2b-256 checksum How to use checksums |
60f07e1f4514aaa51b16ee67ad4cfef047cc0e96cd659c69aced39635f09a9f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / tracardi_string_validator-0.6.0-py3-none-any.whl
| Download URL | tracardi_string_validator-0.6.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c8c3acdaff7ff806a7ac424895cff831f845d0e2d5eefaa093f0173a59df5bd
|
|
BLAKE2b-256 checksum How to use checksums |
79863aa7046ed041a8741f1da4355409d1938c2493d092a5c592e8b878065b09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Security for tracardi-string-validator 0.6.0
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.