Kraken datatype
Project description
kraken datatype
Overview
Library to extract, validate and normalize datatypes.
datatypes:
- url
- domain
- date
- country
- address
- telephone
- bool
- currency
- domain
functions:
- validate: returns True false if validate
- normalize: returns normalized value or None
- guess: return best guess or None of datatype
How to use:
import kraken_datatype as dt
result = dt.validate('email', 'name@test.com')
print(result)
result = dt.normalize('email', 'name@test.com')
print(result)
result = dt.guess('name@test.com')
print(result)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kraken-datatype-0.0.14.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for kraken_datatype-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0baad506ae68cac1e11c9bb6a0fc45f56b3edd1609f7a58a850bbba089a7cdd8 |
|
MD5 | ace0664608adaeb9bd4a55d865b5a687 |
|
BLAKE2b-256 | c39db787cd1f59ac05285758227eee0a24ad8d44d030c3d0d95b6cdb9a033e75 |