Kraken datatype
Project description
kraken datatype
Overview
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.9.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for kraken_datatype-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45a1acd8a8bafe2859193cc50c97fadecc889c5f2bad0c24bf788efe95fcbfaa |
|
MD5 | e060203345e80d83e66d53fc87f40130 |
|
BLAKE2b-256 | e234b236b11029712d12408446008a54958ad24ebdc9c3253335dacec0b85ab9 |