PyLD
blockprotocol
PyLD | blockprotocol | |
---|---|---|
29 | 3 | |
581 | 1,331 | |
0.7% | 0.6% | |
5.2 | 8.2 | |
2 months ago | 3 days ago | |
Python | TypeScript | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
PyLD
-
Lucky like a 7 — Seven SymfonyCasts Courses to Master Symfony 7
"API Platform contains a PHP library (Core) to create fully featured hypermedia (or GraphQL) web APIs supporting industry-leading standards: JSON-LD with Hydra, OpenAPI, etc.
- I Wrote an Activitypub Server in OCaml: Lessons Learnt, Weekends Lost
- JSON for Linking Data
-
I'm currently in the interview process for a Jr. Full Stack Developer position, and I was given this take-home test that has me on the verge of pulling my hair out.
3) Things I would need to refresh: JSON-LD (This is actually really useful): https://json-ld.org/
-
The need for a more semantic web
Some documentation for you OP: - RDFa. - JSON-LD doesn't have to be in HTML. It's just a specification built on JSON to represent RDF data. Also, from experience, Turtle) is more popular - If you want to dig into what defining semantic vocabularies (ontologies) entails, read on RDF, RDFS, and OWL2.
- Making SEO better for blog posts with Structured Data
-
Beginners Guide to Yoast SEO 2023
Schema markup can be added to a web page using the JSON-LD format, which is a structured data format that is supported by Yoast SEO.
-
Getting Started with ActivityPub
It's a big long, so the response is at the bottom in Appendix A. The format is JSON for Linking Data, or JSON-LD.
blockprotocol
-
Learning HTML was too hard so I made a compiler instead
Relevant to this conversation, I saw Joel Spolsky giving a talk about his new big project/stab at addressing this problem The Block Protocol.
-
The Block Protocol
1) The spec says that a block package includes its source code, and the block hub seems to be a browser of block packages, but it doesn't give me the full view into said block packages. Is there a reason for this? Is it on the to-do list?
It's on the to-list indeed - we are going to add links to the source of blocks. The package for distribution will typically be minified and less illuminating, although we can look to expose that too (as well as making it available for request via the API).
2) What's going on with the type signatures here?
The type signatures on functions in the spec definitely need cleaning up to be consistent and more helpful. They are pseudo-code. There are TypeScript types for them (https://github.com/blockprotocol/blockprotocol/blob/main/pac...) which won't be much use to you, but I am including in case they are of someone else.
The schema you mention in the Hub is autogenerated from the TypeScript interface for the block, which can lead to weird artefacts of the sort you identify. We need to add custom codegen to better handle this. It should valid JSON Schema.
What are some alternatives?
RDFLib plugin providing JSON-LD parsing and serialization - JSON-LD parser and serializer plugins for RDFLib
solid - Solid - Re-decentralizing the web (project directory)
ultrajson - Ultra fast JSON decoder and encoder written in C with Python bindings
custom-elements-manifest - A file format for describing custom elements
marshmallow - A lightweight library for converting complex objects to and from simple Python datatypes.
icestudio - :snowflake: Visual editor for open FPGA boards
rdflib - RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
awesome-jsonschema - A curated list of awesome JSON Schema resources, tutorials, tools, and more.
serpy - ridiculously fast object serialization
libasciidoc - A Golang library for processing Asciidoc files.
jsons - 🐍 A Python lib for (de)serializing Python objects to/from JSON
OctoBase - 🐙 OctoBase is the open-source database behind AFFiNE, local-first, yet collaborative. A light-weight, scalable, data engine written in Rust.