Skip to main content

Kraken schema.org

Project description

Library to schema_org

How to use:

from kraken_schema_org import kraken_schema_org as k

normalize_type:

record_type = 'person'
normalized_type = k.normalize_type(record_type)

normalize_key:

key = 'givenname'
normalized_key = k.normalize_key(key)

normalize_record:

record = {"@type": "schema:WebPage", "schema:url": "https://www.test.com"}
normalized_record = k.normalize_record(record)

get_keys:

record_type = 'person'
keys = k.get_keys(record_type)

get_datatype():

record_type = 'schema:Person'
key = 'schema:givenName'
datatypes = k.get_datatype(record_type, key)

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-schema-org-0.0.10.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

kraken_schema_org-0.0.10-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

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