Skip to main content

Kraken datatype

Project description

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kraken-datatype-0.0.8.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

kraken_datatype-0.0.8-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file kraken-datatype-0.0.8.tar.gz.

File metadata

  • Download URL: kraken-datatype-0.0.8.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for kraken-datatype-0.0.8.tar.gz
Algorithm Hash digest
SHA256 e533a460b7a1ec63f4331116a353f14a628f72188f65c3202d34dc113fa443cb
MD5 a8197406e9d8e46940ce2bcc8458e808
BLAKE2b-256 dc4898df2fc3323d7db4628238cdb1f579cdd6bf594e67487da01d5d831b6e74

See more details on using hashes here.

File details

Details for the file kraken_datatype-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: kraken_datatype-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for kraken_datatype-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8285f934d139e4a3b43d5f66349a99dd73cefd0cc7c59ee0d0e9676218991436
MD5 88dd404eeb3ad8b097ed69d5b3f07c57
BLAKE2b-256 f5186b657358af4888e7556e3054461d3c5bda378b448d702db3f3696050fedb

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