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.31.tar.gz
(35.6 kB
view details)
Built Distribution
File details
Details for the file kraken-thing-0.0.31.tar.gz
.
File metadata
- Download URL: kraken-thing-0.0.31.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0865c6e0d53203ad43db6561d25c61f7db6f8b6cbcdb4e8172216d82cd27d37f |
|
MD5 | bb1f2af84800fc9bbda777c6e711a31b |
|
BLAKE2b-256 | a991ec9389895a57345c073e4240f4239daafedb0e6197b5cc32fda568c9beb8 |
File details
Details for the file kraken_thing-0.0.31-py3-none-any.whl
.
File metadata
- Download URL: kraken_thing-0.0.31-py3-none-any.whl
- Upload date:
- Size: 56.1 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 | b99b38a65740ba88d08698419faa2819d6e725786445da9d9e4dfbc255444e70 |
|
MD5 | 06d40b626321c453cc289aba06f7bfed |
|
BLAKE2b-256 | 3c60ec6ccda3c38ca2e8256b1f819ca047a51db138a3a6950dff47e0fbccdd29 |