Skip to main content

Kraken thing

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-thing-0.0.23.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

kraken_thing-0.0.23-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file kraken-thing-0.0.23.tar.gz.

File metadata

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

File hashes

Hashes for kraken-thing-0.0.23.tar.gz
Algorithm Hash digest
SHA256 93a01fae6bc215aa936ee2336c2468f742210d0b3e7018b52fe94a6ada2ff3bb
MD5 010dcccea78913705d7663c14815410e
BLAKE2b-256 0a9792a95346f92cd7d3a0de8dc71cca5cb041955679e44f22476c26bc88cf03

See more details on using hashes here.

File details

Details for the file kraken_thing-0.0.23-py3-none-any.whl.

File metadata

File hashes

Hashes for kraken_thing-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 6e0d92ef0e706d11006612b401184300d7531407e510514f4b75427d8e9e129b
MD5 614508ef138242aa101c59af7760619e
BLAKE2b-256 c47f107b77f13d32ca0bad53ff64a1bbc2f5072eeaf66376c2094314a8579ac5

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