Skip to main content

Kraken datatype

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:

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

Uploaded Source

Built Distribution

kraken_datatype-0.0.12-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kraken-datatype-0.0.12.tar.gz
Algorithm Hash digest
SHA256 1b07b02dcb3887709cb3f68c414999ff02e4ade6c9b9842c51495fb9b565cb35
MD5 5e3d0b87f0f7988bc56b4fc564d04a76
BLAKE2b-256 bc7de9044ed979b1bddf0d5c6dc9be1b1e637d9f0553a0afc27aad852e4201ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kraken_datatype-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 2af9af420cd3fb2211db34b75cc37933fc59413d9941468689275cc98e9277b5
MD5 a872dda658df8ed2fa4f8581a2141a80
BLAKE2b-256 845a89ba6f58106547e2844304df567dab06a74e5999582bb97da9c7d75e2510

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