Skip to main content

Kraken datatype

Project description

kraken datatype

Overview

Library to extract, validate and normalize datatypes.

datatypes:

  • email
  • url
  • domain
  • 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.14.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-datatype-0.0.14.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.14.tar.gz
Algorithm Hash digest
SHA256 69fabbcd264b4d65447e65c7176f37bdc37d0b0796841f9c612d22af427066ec
MD5 bab24f63e96d03274ef7213f38d4a52f
BLAKE2b-256 49beae4db1b8d1829c5c1dbdc5e7fcfc1a96f8cc00cd0071f37fde7c46292089

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kraken_datatype-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 0baad506ae68cac1e11c9bb6a0fc45f56b3edd1609f7a58a850bbba089a7cdd8
MD5 ace0664608adaeb9bd4a55d865b5a687
BLAKE2b-256 c39db787cd1f59ac05285758227eee0a24ad8d44d030c3d0d95b6cdb9a033e75

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