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

Uploaded Source

Built Distribution

kraken_thing-0.0.26-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-thing-0.0.26.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.26.tar.gz
Algorithm Hash digest
SHA256 e09aed71fc60820000fa4f4d53810cea1fafef29c5f8dc331bb1d25727bc6b7d
MD5 76acff1bb57f40c9dc75df4386f1941a
BLAKE2b-256 e97142eb6823a114b587d49efd3b8f4077d578245fd2e33f2af4f444e218f52a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kraken_thing-0.0.26-py3-none-any.whl
Algorithm Hash digest
SHA256 484ae06e3e8ccb755a7d3e9f8e671caae1e67d5514ade04426f98cbbece68fd5
MD5 bd4f68fcc16b94b671d5efd9b2b02f5f
BLAKE2b-256 b8fb0ba6979787f432a90d92be68c7df9039b201d0001ba2c6975204ba56d5f6

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