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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-datatype-0.0.9.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for kraken-datatype-0.0.9.tar.gz
Algorithm Hash digest
SHA256 ca6e56841786bd5a6a51024ffc7b65af11598b127628762a6bbf38414f3c4be8
MD5 dbc67b605c1838ad2c620d9b652774bf
BLAKE2b-256 4a709a9c77febd2a8fe0fe90e644def26d1700ef8d83ee0bb74f3df66097d02d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kraken_datatype-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 45a1acd8a8bafe2859193cc50c97fadecc889c5f2bad0c24bf788efe95fcbfaa
MD5 e060203345e80d83e66d53fc87f40130
BLAKE2b-256 e234b236b11029712d12408446008a54958ad24ebdc9c3253335dacec0b85ab9

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