Skip to main content

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. For versions 0.1.0 and later, the structure of the data files changed, so we provide schema.org 12.0 and later. For older versions of schemaorg, use versions prior to 12.0.

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.

Metadata

Release files for schemaorg 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for schemaorg 0.1.1
File Size Uploaded
schemaorg-0.1.1.tar.gz 6.9 MB Details

Release files / schemaorg-0.1.1.tar.gz

Download URL schemaorg-0.1.1.tar.gz
Size 6.9 MB
Tags Source
SHA-256 checksum
How to use checksums
567f1735df666221c893d2c206dd70f9cddcc983c8cdc39f3a7b7726884d2c51
BLAKE2b-256 checksum
How to use checksums
0eb640e987486379e0f1d41d6587630e77f09238a519f2623e90bbe325e85b1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.24

1 release file

0.0.23

1 release file

0.0.22

2 release files

0.0.21

1 release file

0.0.20

1 release file

0.0.19

1 release file

0.0.18

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page