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-py

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.1.0.tar.gz (7.1 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.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wikifunctions-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8e2659c8f8dab7bef91b0057f9e120848bde02de34c687717feb3975c3fc7fda
MD5 2175f2004057f7b993f18262ec99f996
BLAKE2b-256 17d7513814cc2a67dd97535a57a223b6c91f06d33ddb397a3126b6764d603b8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wikifunctions-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2427e5d7afcb2b61e1b8ded507adf351c7285740060016a7f5e53dac445bc85e
MD5 163581245243e144f1729915a2bf66fb
BLAKE2b-256 3d3d1356fb76136cb450c201906f1df8e02470918cfa4f2e2d9cac9fdc3279fa

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