Kraken datatype
Project description
Library to extract, validate and normalize datatypes.
datatypes:
- url
- 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.8.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for kraken_datatype-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8285f934d139e4a3b43d5f66349a99dd73cefd0cc7c59ee0d0e9676218991436 |
|
MD5 | 88dd404eeb3ad8b097ed69d5b3f07c57 |
|
BLAKE2b-256 | f5186b657358af4888e7556e3054461d3c5bda378b448d702db3f3696050fedb |