Skip to main content

A Python wrapper for the Wikifunctions function call API

Project description

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 example

import wikifunctions as wf
result = wf.call("Z801", "echo")["Z22K1"]
print(result)

This code will print "echo", because Z801 is the echo function.

Disclamers

  • 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.

Source code and issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wikifunctions-0.2.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wikifunctions-0.2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file wikifunctions-0.2.0.tar.gz.

File metadata

  • Download URL: wikifunctions-0.2.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for wikifunctions-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a208d2f8c92315c63fd86cd91327e82585b29e54211f8b225fbd6c2f75303ad5
MD5 91af124a49578c5e1df88cab59fb9437
BLAKE2b-256 29cdd2288d5b488d91501baff29012cbada3119620af8185330e884cfff76d85

See more details on using hashes here.

File details

Details for the file wikifunctions-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wikifunctions-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for wikifunctions-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a90b2865cf082affaec0dfd3128df98aad75783365e74cd9a088965d2426829
MD5 5e899b9c21656054c376c5fc74b36d87
BLAKE2b-256 fdd7b13472627fdd87963db7ae9ed56a30e603bfda6d88ed04fe7b17e015e3f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page