Kraken datatype
Project description
kraken datatype
Overview
Library to extract, validate and normalize datatypes.
datatypes:
- url
- domain
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kraken-datatype-0.0.14.tar.gz.
File metadata
- Download URL: kraken-datatype-0.0.14.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69fabbcd264b4d65447e65c7176f37bdc37d0b0796841f9c612d22af427066ec
|
|
| MD5 |
bab24f63e96d03274ef7213f38d4a52f
|
|
| BLAKE2b-256 |
49beae4db1b8d1829c5c1dbdc5e7fcfc1a96f8cc00cd0071f37fde7c46292089
|
File details
Details for the file kraken_datatype-0.0.14-py3-none-any.whl.
File metadata
- Download URL: kraken_datatype-0.0.14-py3-none-any.whl
- Upload date:
- Size: 10.5 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 |
0baad506ae68cac1e11c9bb6a0fc45f56b3edd1609f7a58a850bbba089a7cdd8
|
|
| MD5 |
ace0664608adaeb9bd4a55d865b5a687
|
|
| BLAKE2b-256 |
c39db787cd1f59ac05285758227eee0a24ad8d44d030c3d0d95b6cdb9a033e75
|