Skip to main content

Kraken thing

Project description

kraken datatype

Overview

Library to extract, validate and normalize datatypes.

datatypes:

  • email
  • 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


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.27.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

kraken_thing-0.0.27-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

Details for the file kraken-thing-0.0.27.tar.gz.

File metadata

  • Download URL: kraken-thing-0.0.27.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for kraken-thing-0.0.27.tar.gz
Algorithm Hash digest
SHA256 768cfb2ddcbc651300e12383c02a8791cbb06bcd2f2069f88f71a45d59173b45
MD5 87b58dfa8238035b5f4bf25dc7ed688f
BLAKE2b-256 512cba1fde4187905e11be1ea64868ee11c7965f8cadbc3158a0f16ca0e543d5

See more details on using hashes here.

File details

Details for the file kraken_thing-0.0.27-py3-none-any.whl.

File metadata

File hashes

Hashes for kraken_thing-0.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 d71b47d5b757d9ba06d4e91edccf525473f82b3db92b9767f14ee7a12e280c8c
MD5 ae6bb3e5b7c36e9b5403d3bc44cabb3a
BLAKE2b-256 bfa1d85a6f460cb31f4011c2feb9976c821e718562096629c62ea033a0f86a92

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page