A python API for Outline Wiki.
Project description
Outline Wiki Python API
A python wrapper for Outline knowledge base platform API.
For full Outline API documentation visit Outline Developers page.
[!NOTE] Relevant for Outline version 1.4.0
[!IMPORTANT] The main branch may be in an unstable or even broken state during development. For stable versions, see releases.
Installation
python3 -m pip install outline-wiki-api
Usage
Let's try to search a document in our knowledge base and look through the results:
from outline_wiki_api import OutlineWiki
OUTLINE_URL = "https://my.outline.com"
OUTLINE_TOKEN = "mysecrettoken"
app = OutlineWiki(url=OUTLINE_URL, token=OUTLINE_TOKEN)
search_results = app.documents.search(query='outline').data
for result in search_results:
print(f"document_title: {result.document.title} | "
f"ranking: {result.ranking} | "
f"context: {result.context[0:20].replace('\n', ' ')}\n")
You can find more usage examples in the docs.
Community Tools & Examples
The following third-party scripts/extensions use outline-wiki-api and may be useful for specific workflows:
- Outline -> RAGFlow Sync Tool - a tool sync documents between Outline and RAGFlow (made by @metorm)
[!NOTE] These tools are maintained by the community and not part of the core
outline-wiki-apiproject.
License
This library is a wrapper, not affiliated with Outline.
Outline itself is BSL 1.1 licensed.
Use of Outline’s API via this wrapper must comply with Outline's licensing terms.
The original code of the wrapper is under the Apache 2.0 license. See the LICENSE file for details.
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
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 outline_wiki_api-0.3.3.tar.gz.
File metadata
- Download URL: outline_wiki_api-0.3.3.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c4889728a15ddb1092c731131c192892b9c8b3ad7c36e83ff107ec03ff0683a
|
|
| MD5 |
583605fc8030fa26119a0e0fc9046b24
|
|
| BLAKE2b-256 |
132f0da49c7ccc2f3850f1cfdc6773a8dea2947cb515aebbd1c7937cfdc18692
|
Provenance
The following attestation bundles were made for outline_wiki_api-0.3.3.tar.gz:
Publisher:
python-publish.yml on eppv/outline-wiki-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
outline_wiki_api-0.3.3.tar.gz -
Subject digest:
1c4889728a15ddb1092c731131c192892b9c8b3ad7c36e83ff107ec03ff0683a - Sigstore transparency entry: 1069743050
- Sigstore integration time:
-
Permalink:
eppv/outline-wiki-api@56b00d4c98c5f47bb1d2b749215a419c39ddd54a -
Branch / Tag:
refs/tags/0.3.3-alpha - Owner: https://github.com/eppv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@56b00d4c98c5f47bb1d2b749215a419c39ddd54a -
Trigger Event:
release
-
Statement type:
File details
Details for the file outline_wiki_api-0.3.3-py3-none-any.whl.
File metadata
- Download URL: outline_wiki_api-0.3.3-py3-none-any.whl
- Upload date:
- Size: 39.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29902dd02beb5c518088e455e9f1da63816eb05f018d6b21e3c8ded2b045d36e
|
|
| MD5 |
6ac75f72bf470f50afe6280fb7cd5c98
|
|
| BLAKE2b-256 |
cbf44b655a018cce69ee8e84a4010707b2c3353bf71dcfe89701516ea995a0f9
|
Provenance
The following attestation bundles were made for outline_wiki_api-0.3.3-py3-none-any.whl:
Publisher:
python-publish.yml on eppv/outline-wiki-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
outline_wiki_api-0.3.3-py3-none-any.whl -
Subject digest:
29902dd02beb5c518088e455e9f1da63816eb05f018d6b21e3c8ded2b045d36e - Sigstore transparency entry: 1069743067
- Sigstore integration time:
-
Permalink:
eppv/outline-wiki-api@56b00d4c98c5f47bb1d2b749215a419c39ddd54a -
Branch / Tag:
refs/tags/0.3.3-alpha - Owner: https://github.com/eppv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@56b00d4c98c5f47bb1d2b749215a419c39ddd54a -
Trigger Event:
release
-
Statement type: