{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/6"},{"label":"Internet","url":"https://skillfed.io/packages/category/internet/4"}],"enrichment":{"capability":"PyLD is a Python implementation of the JSON-LD specification that transforms, expands, compacts, frames, and normalizes JSON-LD documents according to W3C standards.","skillfed_tags":["linked-data","semantic-web","w3c-standard"],"use_cases":["Compact verbose JSON-LD documents using a context to make them more readable and reduce payload size","Expand JSON-LD to explicit form for RDF processing, semantic analysis, or interoperability with linked data systems","Normalize documents to a canonical form for content hashing, deduplication, or cryptographic signing","Frame JSON-LD documents into a specific tree structure for application-specific data models","Validate and process ActivityStreams, Verifiable Credentials, or DID documents using bundled W3C contexts","Build semantic web services that need to handle multiple structured data formats (Microdata, RDFa, Microformats)"],"what_it_does":"PyLD is a Python library that implements the JSON-LD 1.1 specification and related W3C recommendations for processing Linked Data in JSON. It provides core operations to transform JSON documents: compact (reduce verbosity using a context), expand (make all IRIs explicit), flatten (normalize nested structures), frame (reshape to a template), and normalize (create a canonical form for comparison or hashing). The library depends on cachetools for memoization, frozendict for immutable dictionaries, and lxml for XML processing.\n\nThe package is designed for applications that need to add semantic meaning to JSON, interoperate with RDF systems, or work with structured data formats like Microformats and Microdata. It includes a FrozenDocumentLoader for air-gapped deployments that prevents remote context fetches, and supports custom document loaders via Requests or aiohttp for production environments. The library aims for W3C spec conformance and is actively maintained.","worth_installing":"Yes. PyLD is a mature, actively maintained implementation of a W3C standard with no known vulnerabilities, low install friction, and a permissive license. Install it if you need to process JSON-LD documents, work with linked data, or add semantics to JSON. The FrozenDocumentLoader and optional async support make it suitable for both development and production use."},"id":"pyld","links":{"html":"https://skillfed.io/packages/pyld","md":"https://skillfed.io/packages/pyld.md","pypi":"https://pypi.org/project/pyld/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-19","license_spdx":null,"license_treatment":"permissive","name":"PyLD","python_support":"unspecified","summary":"Python implementation of the JSON-LD API"},"popularity":{"monthly_downloads":358441,"position":7261,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.0"}
