wikidata

A library for working with Wikidata in Rust

7 releases (2 stable)

1.1.0 Jun 29, 2024
1.0.0 Apr 6, 2024
0.3.1 Nov 10, 2023
0.3.0 Dec 25, 2021
0.1.1 May 28, 2021
Download history 5/week @ 2024-06-21 152/week @ 2024-06-28 5/week @ 2024-07-05 3/week @ 2024-07-12 2/week @ 2024-07-19 5/week @ 2024-07-26 2/week @ 2024-08-02 9/week @ 2024-09-13 34/week @ 2024-09-20 31/week @ 2024-09-27 6/week @ 2024-10-04

80 downloads per month
Used in 3 crates

Apache-2.0

59KB
1.5K SLoC

wikidata - Rust bindings for Wikidata

https://img.shields.io/crates/v/wikidata https://img.shields.io/docsrs/wikidata

This crate has unofficial Rust bindings for Wikidata to make it easy to use data from Wikidata in Rust programs. This is very much a work in progress right now.


Wikidata is a trademark of the Wikimedia Foundation and is used with the permission of the Wikimedia Foundation. We are not endorsed by or affiliated with the Wikimedia Foundation.


lib.rs:

Rust library for Wikidata. It has some support for Wikibase as well, although the main focus is supporting the Wikidata instance.

A note on serialization

Many items in this crate implement serde::Serialize and serde::Deserialize. Note that the JSON serialization of entities provided by these traits is not the same as the serialization used by Wikidata in data dumps and Special:EntityData, but is instead a serialization specific to this crate.

Dependencies

~1.7–2.8MB
~52K SLoC