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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for kraken_schema_org-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd4f6310d193e5e232cb081a60219cb0f852e3241274bb5903d2668910dcb2ab |
|
MD5 | 4be83d5ca48ce58e4e326fb52d8dbafb |
|
BLAKE2b-256 | 345384abe45059a5a27eeb855d2d6ba7d0cb48aadc5937d3f31bfb1dfe5efea2 |