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:

from kraken_thing.kraken_class_thing.kraken_class_thing import Thing

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

Uploaded Source

Built Distribution

kraken_thing-0.0.28-py3-none-any.whl (54.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-thing-0.0.28.tar.gz
  • Upload date:
  • Size: 34.2 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.28.tar.gz
Algorithm Hash digest
SHA256 8bf37567ac24cf4cdacefefe49b60837371cf9d7c5ece3dfc2d4199264e7419d
MD5 2758be12983eea391b5051bcf208b987
BLAKE2b-256 3ce0b48480329a33cb38c8885706ed69d2575b45515b83bf153511362e720b4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kraken_thing-0.0.28-py3-none-any.whl
Algorithm Hash digest
SHA256 8f5a61474b7a5a631f7d35d95c95633d55c0823b0ae10772612ed190e1f1ccc4
MD5 cba7ca171c612d827ab872376be14873
BLAKE2b-256 37da09add0b0415dcad76dd0481428c43d0a68da44f80fe4d11e7f428a8d41af

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