A small Python CLI and library for practical Wiki.js GraphQL page operations
Project description
wikijs-client
A small Python CLI and library for practical Wiki.js GraphQL page operations.
What it does
- exact path checks
- global text search
- predictable page listing
- page reads by exact path
- idempotent page upsert
- page move/rename
- page delete with explicit confirmation
- script-friendly JSON output
Commands
Global options
--versioncheckcheck the server version against the project target (2.5.312)--jsonemit structured JSON instead of human-readable output--quietsuppress successful stdout output; errors still go to stderr--debugemit debug details to stderr without contaminating stdout
list
List pages for browsing or server-backed discovery.
--query QUERY--path PATH--regex REGEX
search
Search pages globally by text.
text--json
exists
Check whether a page exists at an exact path.
path
get
Fetch page content by exact path.
path--file FILE
upsert
Create a page when it does not exist, or update it when it does.
path-- Requiredtitle-- Required--file FILE--description DESCRIPTION--tags [TAGS ...]--replace-description--replace-tags--dry-run--diff
move
Move a page to a new path, optionally changing the title.
source_path-- Requireddestination_path--Required--title TITLE--dry-run
delete
Delete a page by exact path.
For safety, real deletes require --force.
path--dry-run
Usage examples
wikijs-client exists docs/getting-started
wikijs-client get docs/getting-started --file getting-started.md
wikijs-client delete docs/scratch --dry-run
Installation
Requires Python 3.11, 3.12, or 3.13.
pip install wikijs-client
More documentation
For deeper behavior and contract details, use the project wiki: https://github.com/orionshock/wikijs-client/wiki
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wikijs_client-0.1.2.tar.gz.
File metadata
- Download URL: wikijs_client-0.1.2.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
840a811d26a92307babdfa9b80dada0d1be280e3424cb967619d3d090f8b0ba5
|
|
| MD5 |
8750096d303f3d3ffe8e511df0cf8a14
|
|
| BLAKE2b-256 |
82bd4b3799f881f5b1e55741211399a075f86b6f2d5442c6a16d736d90d06da7
|
Provenance
The following attestation bundles were made for wikijs_client-0.1.2.tar.gz:
Publisher:
release.yml on orionshock/wikijs-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wikijs_client-0.1.2.tar.gz -
Subject digest:
840a811d26a92307babdfa9b80dada0d1be280e3424cb967619d3d090f8b0ba5 - Sigstore transparency entry: 1394937950
- Sigstore integration time:
-
Permalink:
orionshock/wikijs-client@1a7cc962836b1f59c686cb9f6622eb3ba8f58795 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/orionshock
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1a7cc962836b1f59c686cb9f6622eb3ba8f58795 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wikijs_client-0.1.2-py3-none-any.whl.
File metadata
- Download URL: wikijs_client-0.1.2-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f803ddb5e577b858510a868a37b1f2fba5a5cbf9b7de9a7713820074131467d
|
|
| MD5 |
8fb8522f0cc47a9f46a91c5d7c29db4e
|
|
| BLAKE2b-256 |
8b0f59d52f76978460a90296720668decf8038e362aa83a535d46abab1609dc7
|
Provenance
The following attestation bundles were made for wikijs_client-0.1.2-py3-none-any.whl:
Publisher:
release.yml on orionshock/wikijs-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wikijs_client-0.1.2-py3-none-any.whl -
Subject digest:
2f803ddb5e577b858510a868a37b1f2fba5a5cbf9b7de9a7713820074131467d - Sigstore transparency entry: 1394937959
- Sigstore integration time:
-
Permalink:
orionshock/wikijs-client@1a7cc962836b1f59c686cb9f6622eb3ba8f58795 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/orionshock
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1a7cc962836b1f59c686cb9f6622eb3ba8f58795 -
Trigger Event:
push
-
Statement type: