User:Feeglgeef/wikifunctions-pip
Appearance
Wikifunctions python library
This library allows you to interface with the Wikifunctions API in your Python code. Wikifunctions is a project of more than 3,800 community-created and community-maintained functions. You can find a list of these on the catalogue.
Installation
pip install wikifunctions
Usage examples
import wikifunctions as wf
result = wf.call("Z801", "echo")["Z22K1"]
print(result)
This code will print "echo", because Z801 is the echo function.
Disclaimers
- Community-Maintained: Wikifunctions is completely community-created and maintained. The author of this project does not control the underlying logic of functions. Users should check that the functions work as expected before using them, and be aware that anyone with functioneer rights on the Wiki may modify the underlying logic.
- External Processing & Privacy: Using this package means sending content over to servers operated by the Wikimedia Foundation for execution. An internet connection is required to utilize the package, and the author of this project has no control over the reliability of WMF services. Users should not send sensitive data through the wrapper.
License
This project is licensed under the Apache License 2.0.