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

Uploaded Source

Built Distribution

kraken_thing-0.0.30-py3-none-any.whl (55.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-thing-0.0.30.tar.gz
  • Upload date:
  • Size: 34.5 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.30.tar.gz
Algorithm Hash digest
SHA256 f611a40a234e5eb3d1be2c6a03fa55a10e41affc693f43f9eb3cac984e5bc82e
MD5 23ea6f2c0070e1dd6cb3741ca8550009
BLAKE2b-256 b3cf72155b774bc742b1f74e2f50f43774a4ad6866d2fd9a229067cc8ea527ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kraken_thing-0.0.30-py3-none-any.whl
Algorithm Hash digest
SHA256 70cecf2c9e7e180888600106546dda628f0b64d52dd4487ea28b059a3818bb55
MD5 2f6cc4c7189d375a2d6675cf4b6b40af
BLAKE2b-256 d9b776cf2c68ceeb7e358f2f28c6fd23fa74665a75c77a10c49cfe8469dbaa40

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