p2panda-gobject provides introspectable GLib/GObject bindings for p2panda's Node
API. The library is called libp2panda.
This project used GObject Introspection to provide support for multiple langugages.
Next to this repository you'll find non-GObject bindings (Go, Node.js, Python) using UniFFI for
p2panda in p2panda-ffi.
🚧 This library is under active development and the APIs are not yet considered stable for production use. Core data types and user-facing APIs may still undergo breaking changes. Stability guarantees will improve with the release of v1.0.0.
p2panda-gobject uses Meson. To install Meson on your system, follow the Getting Meson
instructions.
To build the project the following commands can be used:
meson setup _build -Dcapi_docs=true --reconfigure
meson compile -C _buildTo install libp2panda the following commands can be used:
meson install -C _buildTo generate the docs the following commands can be used:
meson setup -Dcapi_docs=true --reconfigure
meson compile -C _buildThe tests contain an example on how to use libp2panda in python.
Thanks a lot to Sophie Herold, for writing libglycin that was used as a base for figuring out how to write the bindings and Sergey Bugaev for reviewing the GLib introspection API.