Skip to main content

Kraken datatype

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-datatype-0.0.10.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

kraken_datatype-0.0.10-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file kraken-datatype-0.0.10.tar.gz.

File metadata

  • Download URL: kraken-datatype-0.0.10.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for kraken-datatype-0.0.10.tar.gz
Algorithm Hash digest
SHA256 06b4f88b616e814deeb6c704f5788fd4bf612e1fb10520c310837bd371bf9063
MD5 c47e8f2e446da01eb347df9217b86e75
BLAKE2b-256 8adc668f54a0e97dfcc8f727c6970238fd4ead233528573ff36d59459c775d3b

See more details on using hashes here.

File details

Details for the file kraken_datatype-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for kraken_datatype-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f360d549a9fbc996a0056ddb5d2cc2fba09aedbfa0fb48b0c08ac3cf78036014
MD5 15d604b2f2f33858e080525edae03e1f
BLAKE2b-256 3a1504cd80162a5100be06ef7b91469d7d1b57bbb8801c5954a7579882795dd6

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