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

Uploaded Source

Built Distribution

kraken_thing-0.0.29-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-thing-0.0.29.tar.gz
  • Upload date:
  • Size: 34.2 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.29.tar.gz
Algorithm Hash digest
SHA256 44ce1835e7494e8b87fe4a74bfe216992a938d231a80c77197142f06b827cf03
MD5 792693809398eeff826f50a89fd8b7d6
BLAKE2b-256 a0c19f9b3b802614688c5a12dc582a9185641556f2b3e895be95dc92394facba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kraken_thing-0.0.29-py3-none-any.whl
Algorithm Hash digest
SHA256 661401b9decefc5f8c57c0d18101b44136c95c906dcb7635515a227f507b87cc
MD5 87e1d1178cd6eefdf8e8b1a3a1d8b62c
BLAKE2b-256 befd95ebddcf1424291080ad7c167b7af49f73674fac9549d398534c455eb983

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