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 details)
Built Distribution
File details
Details for the file kraken-thing-0.0.25.tar.gz
.
File metadata
- Download URL: kraken-thing-0.0.25.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 | f4e4ef3e623e25dc266d3261d14d35a58ff1f4b2c62eefa347e45430689fe4a2 |
|
MD5 | ba23fa09c42ec03d4b759ecf7dcfbc90 |
|
BLAKE2b-256 | aef270e8cbd5673370d42d344149c02f789a42189e5798ac423f3478d5ad8e19 |
File details
Details for the file kraken_thing-0.0.25-py3-none-any.whl
.
File metadata
- Download URL: kraken_thing-0.0.25-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 | 024646bac1c8f39bf13148dc9b5202e60fb7fda4643c2f63eb4548715325c703 |
|
MD5 | c18aa6ab988a89a210ff5d6d6cbcd494 |
|
BLAKE2b-256 | e6bcd9d5e709a4cf81e7e7e49356def1483b175bbb8c8b126379895aba8fe2ed |