Kraken thing
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:
from kraken_thing.kraken_class_thing.kraken_class_thing import Thing
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-thing-0.0.25.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for kraken_thing-0.0.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 024646bac1c8f39bf13148dc9b5202e60fb7fda4643c2f63eb4548715325c703 |
|
MD5 | c18aa6ab988a89a210ff5d6d6cbcd494 |
|
BLAKE2b-256 | e6bcd9d5e709a4cf81e7e7e49356def1483b175bbb8c8b126379895aba8fe2ed |