#bindings #foundation #wikimedia #data #wikibase

wikidata

A library for working with Wikidata in Rust

6 releases (1 stable)

new 1.0.0 Apr 6, 2024
0.3.1 Nov 10, 2023
0.3.0 Dec 25, 2021
0.2.1 Jul 28, 2021
0.1.1 May 28, 2021

#2 in #wikimedia

Download history 4/week @ 2023-12-22 2/week @ 2023-12-29 5/week @ 2024-01-05 4/week @ 2024-02-02 1/week @ 2024-02-09 1/week @ 2024-02-16 12/week @ 2024-02-23 11/week @ 2024-03-01 7/week @ 2024-03-08 2/week @ 2024-03-15 77/week @ 2024-03-29

87 downloads per month
Used in 3 crates

Apache-2.0

56KB
1K SLoC

wikidata - Rust bindings for 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.7MB
~52K SLoC