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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-thing-0.0.24.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.24.tar.gz
Algorithm Hash digest
SHA256 cbb69d626caddc20910937c413acef34786eb69858861c9fcff31d25fb40803b
MD5 5b392223fa386358e275844555383d17
BLAKE2b-256 6d6a2d673c7c6f6d882d7128b5e140eca69ab3d426ceca7c473b4199939da1ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kraken_thing-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 9bab777626409237b3cb0461d945a5e22c385e6ea7f7c687807e1f557b7a3fe0
MD5 ede74fea630f953dbc43c4a66686695d
BLAKE2b-256 652a6032b463ca233e9eaeb37a5f970b7cb0179d7e3f5311a3570857cbf60190

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