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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-datatype-0.0.13.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.13.tar.gz
Algorithm Hash digest
SHA256 f5f746887b1279d6428684ecb8a770cf57d3ee0f8082924868683b5f77df05f9
MD5 49f44734282f1134d8da9408ad55cc9d
BLAKE2b-256 b363790e97a1d2526c8953970995b7384ba16ffa743b59a3257001ce2966ecbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kraken_datatype-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a369965e3085d87a4694c08720a80e0689be263f69037cfb8640c0dd4b02deea
MD5 540c7c8370481e6bbef2810e98b6e73f
BLAKE2b-256 877a08ebdaddac7dd7e549890f450ca4f99356759a17e13fb26288f400b4ad92

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