Skip to main content

Python client library for TheSeed-based wiki APIs such as NamuWiki.

Project description

pynamubot

Python client library for TheSeed-based wiki APIs (for example, NamuWiki).

Installation

pip install pynamubot

If you need Selenium-based utilities:

pip install "pynamubot[puppet]"

Quick start

from pynamubot.api import TheSeedAPIClient

client = TheSeedAPIClient(
    base_url="https://namu.wiki/api",
    api_token="YOUR_API_TOKEN",
)

response = client.edit_get("TestDocument")
print(response.exists, response.token)

Requirements

  • Python 3.9+
  • A valid API token issued by the target wiki

Reference

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

pynamubot-0.1.9.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

pynamubot-0.1.9-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file pynamubot-0.1.9.tar.gz.

File metadata

  • Download URL: pynamubot-0.1.9.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pynamubot-0.1.9.tar.gz
Algorithm Hash digest
SHA256 85508cf2599167ae42c41ff7bd9e5b21106c35a9334ddbf8eb13536829a4ace3
MD5 8aeb8af94df02786775d4a4cd762864b
BLAKE2b-256 df8ebc0f4b7a858787758aa2469b2712c24dbb0731e69c3acf450ae78ec912d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pynamubot-0.1.9.tar.gz:

Publisher: publish-pypi.yml on OpenIodine/pynamubot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pynamubot-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: pynamubot-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pynamubot-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6044b34866ea4cb6bb18612a728c520b8353ce123870ed7378c59483002bfd35
MD5 2cb72eee7dea2bb7141c10a59d576796
BLAKE2b-256 18970af2ed3de6adfbf3434913dd3165dad48d902dd0ba44cea184654043d667

See more details on using hashes here.

Provenance

The following attestation bundles were made for pynamubot-0.1.9-py3-none-any.whl:

Publisher: publish-pypi.yml on OpenIodine/pynamubot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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