Skip to main content

Python functions for applied use of schema.org

Project description

schemaorg Python

This module will serve functions for researchers and users to apply schema.org definitions to their datasets, software, and other worldly things. For development functions with Python along with the web interface that serves the published specifications, please see https://www.github.com/schemaorg/schemaorg.

What is this not?

This library is not intended to provide advanced functions around querying the ontology, but rather accessing the definitions and tagging content with them.

What is this for?

Please reference the development documentation to read about the intended use cases that we are working on.

Organization

Generally, we are extracting metadata from datasets and software, and then shoving that metadata into a specification from schema.org. The final thing that we produce is likely to be some form of json (e.g., json-ld) that can be embedded in a web page or similar, intended to power search. Since the specific needs of a particular webby place may vary, along with a data type we are extracting, the module provides "templates" in the templates directory. Specifically:

  • The subfolders represent different use cases. For example, templates/google has a simple html template, and a requirements file (called a recipe) to produce a Dataset and SoftwareSourceCode.
  • Each subfolder, in an optional __init__.py file, also contains helper functions toward this goal. For example, the same google subfolder has such a file with a make_person function that users can quickly use to generate a person object.
  • For each corresponding subfolder, there is generally an example in the examples folder that also helps to see how it works.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for schemaorg, version 0.0.22
Filename, size File type Python version Upload date Hashes
Filename, size schemaorg-0.0.22-py3.7.egg (18.4 MB) File type Egg Python version 3.7 Upload date Hashes View hashes
Filename, size schemaorg-0.0.22.tar.gz (17.6 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page