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:
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-thing-0.0.23.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file kraken-thing-0.0.23.tar.gz
.
File metadata
- Download URL: kraken-thing-0.0.23.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93a01fae6bc215aa936ee2336c2468f742210d0b3e7018b52fe94a6ada2ff3bb |
|
MD5 | 010dcccea78913705d7663c14815410e |
|
BLAKE2b-256 | 0a9792a95346f92cd7d3a0de8dc71cca5cb041955679e44f22476c26bc88cf03 |
File details
Details for the file kraken_thing-0.0.23-py3-none-any.whl
.
File metadata
- Download URL: kraken_thing-0.0.23-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e0d92ef0e706d11006612b401184300d7531407e510514f4b75427d8e9e129b |
|
MD5 | 614508ef138242aa101c59af7760619e |
|
BLAKE2b-256 | c47f107b77f13d32ca0bad53ff64a1bbc2f5072eeaf66376c2094314a8579ac5 |