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)
Release files for kraken-datatype 0.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kraken-datatype-0.0.14.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kraken_datatype-0.0.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / kraken-datatype-0.0.14.tar.gz
| Download URL | kraken-datatype-0.0.14.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69fabbcd264b4d65447e65c7176f37bdc37d0b0796841f9c612d22af427066ec
|
|
BLAKE2b-256 checksum How to use checksums |
49beae4db1b8d1829c5c1dbdc5e7fcfc1a96f8cc00cd0071f37fde7c46292089
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / kraken_datatype-0.0.14-py3-none-any.whl
| Download URL | kraken_datatype-0.0.14-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0baad506ae68cac1e11c9bb6a0fc45f56b3edd1609f7a58a850bbba089a7cdd8
|
|
BLAKE2b-256 checksum How to use checksums |
c39db787cd1f59ac05285758227eee0a24ad8d44d030c3d0d95b6cdb9a033e75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|