Skip to main content

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.

Built with Material for MkDocs

Community Tools & Examples

The following third-party scripts/extensions use outline-wiki-api and may be useful for specific workflows:

[!NOTE] These tools are maintained by the community and not part of the core outline-wiki-api project.


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

outline_wiki_api-0.3.3.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

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

outline_wiki_api-0.3.3-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

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

Hashes for outline_wiki_api-0.3.3.tar.gz
Algorithm Hash digest
SHA256 1c4889728a15ddb1092c731131c192892b9c8b3ad7c36e83ff107ec03ff0683a
MD5 583605fc8030fa26119a0e0fc9046b24
BLAKE2b-256 132f0da49c7ccc2f3850f1cfdc6773a8dea2947cb515aebbd1c7937cfdc18692

See more details on using hashes here.

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

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

File details

Details for the file outline_wiki_api-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for outline_wiki_api-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 29902dd02beb5c518088e455e9f1da63816eb05f018d6b21e3c8ded2b045d36e
MD5 6ac75f72bf470f50afe6280fb7cd5c98
BLAKE2b-256 cbf44b655a018cce69ee8e84a4010707b2c3353bf71dcfe89701516ea995a0f9

See more details on using hashes here.

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

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