|Fast JSON schema for Python||PyLD|
|3 months ago||about 1 year ago|
|BSD 3-clause "New" or "Revised" License||BSD 1-Clause License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Fast JSON schema for Python
I wrote okjson - A fast, simple, and pythonic JSON Schema Validator
8 projects | reddit.com/r/Python | 31 Mar 2022
I had a requirement to process and validate large payloads of JSON concurrently for a web service, initially I implemented it using jsonschema and fastjsonschema but I found the whole JSON Schema Specification to be confusing at times and on top of that wanted better performance. Albeit there are ways to compile/cache the schema, I wanted to move away from the schema specification so I wrote a validation library inspired by the design of tiangolo/sqlmodel (type hints) to solve this problem easier.
A Starter Guide to Build an SEO Friendly Website (For 2022 SEO Noobs)
1 project | dev.to | 9 Jun 2022
Structured data is a modern data format that can be included in HTML pages and adheres to the JSON-LD specification. As mentioned in "Understand how structured data works," search engines like Google read structured data to understand the content of the page as well as to gather information about the web and the world in general. Here's an easy example. Tweet a thanks
Understanding SEO and Web Vitals for your NextJS site and how to improve them?
13 projects | dev.to | 1 May 2022
We can help google search engine understand the content of our site even more by adding structured data with the help of JSON-LD. Google can use the structured data to enable special search features which in turn boost your page rank. You can read more about this here: https://developers.google.com/search/docs/advanced/structured-data/intro-structured-data
The Block Protocol
8 projects | news.ycombinator.com | 27 Jan 2022
Exactly what I was thinking. The Semantic Web done the heavy lifting of defining general schemas (https://schema.org) and extending JSON (https://json-ld.org) and yet people don't subscribe to it. On the other hand, it has a lot of historical baggage (RDF, old schemas) that maybe a new standard can actually be better
What is Structured Data?
2 projects | dev.to | 29 Oct 2021
Web pages are an interesting example of both structured and unstructured data. There are specific elements one could look at for certain information like the element or other semantic elements like
. The problem though is that these elements are more like our "address" example earlier - they often contain more than just the strict data we are looking for. A title might have a prefix or suffix of the website's name. An article or section might have many other layers of,
or any other elements to help form the site's structure. To top it off, the HTML structure can vary wildly from site to site. If you were wanting to extract data from multiple websites, it can get very hard very fast.
That said, there are a number of ways to embed structured data into web pages. A web page could use Microdata, RDFa, JSON-LD or Open Graph to express structured data. More than that though, a web page can use multiple of these at the same time. Open Graph is commonly used as a method of defining details for a link preview while the others might express more complex data like product pricing or reviews.
Having standard formats like Microdata or JSON-LD are a good start but only represent the format of the data - we need a common vocabulary so we can understand the data those formats encode. One common vocabulary used is called Schema.org and provides over 700 types including types to describe people, places, products, recipes, reviews, vehicles, movies and medical devices. Using Schema.org for structured data on a website can help search engines provide richer experiences in the search results.
Structured data, through standardising expected properties and value formats, makes the sharing and processing of data easier. Web pages in particular benefit from encoding structured data in their mark-up where it can be used by search engines and other tools.
Json-ld spices up the staticness of static site generator
4 projects | dev.to | 27 Oct 2021
Json-ld is a linked data format based on json. If you have never heard of json-ld, that's ok. The most important thing to know is that it's just plain old json with a few extra special fields. It's also a w3c standard and you can check out the complete spec. We don't really need to understand the whole spec, we're just interested in the way json-ld can reference other data fragments with a url using the keyword "@id "
Schema.org json-ld static site generator
2 projects | dev.to | 10 Oct 2021
Sambal natively supports schema.org json-ld as the content model so you can render webpage directly from any schema.org json-ld data. By using the open and well known schema.org vocabularies to structure your content from day one, it saves you the trouble of modeling your own content and later realizing it's not compatible with anyone else's content.
What is Structured Data for Advanced SEO?
1 project | dev.to | 8 Aug 2021
JSON-LD is a format to create a unified structured data vocabulary for the web. If you want to read more about JSON-LD, then read this https://json-ld.org/. But I want to focus here on how you can use it in your projects to use SEO for maximum traction.
Standard for metadata sidecar files like .metadata.json?
1 project | reddit.com/r/datacurator | 3 Jun 2021
I'm facing a similar issue and decided to use JSON Linked Data.
Advice on File Structure for REST API
1 project | reddit.com/r/symfony | 26 May 2021
Order of formats matters. The first is the returned format by default, so in this case default returned data is in ld+json format (instead of plain json). It's simply better ;-) (here's why)
Nano.Community Update — SEO ready
3 projects | reddit.com/r/nanocurrency | 14 May 2021
what do you recommend? is this the spec that should be used https://json-ld.org/ ?
What are some alternatives?
marshmallow - A lightweight library for converting complex objects to and from simple Python datatypes.
jsonschema - JSON Schema validation library
cattrs - Complex custom class converters for attrs.
serpy - ridiculously fast object serialization
rdflib - RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
Trafaret - Ultimate transformation library that supports validation, contexts and aiohttp.
RDFLib plugin providing JSON-LD parsing and serialization - JSON-LD parser and serializer plugins for RDFLib
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
ultrajson - Ultra fast JSON decoder and encoder written in C with Python bindings
python-rapidjson - Python wrapper around rapidjson