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 0.87.3

[!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.2.tar.gz (24.0 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.2-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file outline_wiki_api-0.3.2.tar.gz.

File metadata

  • Download URL: outline_wiki_api-0.3.2.tar.gz
  • Upload date:
  • Size: 24.0 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.2.tar.gz
Algorithm Hash digest
SHA256 2d3c89655bc1919bd4136666f6d36d220e674482d020c5dd198205e9789711b6
MD5 b9877a019d3949a1e7a8a958404f6d5f
BLAKE2b-256 8c9782d16362eb6ead40a2615745846c6b6f5aa35e6e60f59899cfc2b42fdbab

See more details on using hashes here.

Provenance

The following attestation bundles were made for outline_wiki_api-0.3.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for outline_wiki_api-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5eab47760dfb12d4bd5246b2c21f6b22ba791028f3d755625fea8d0c3dfebbd8
MD5 1afcda864635b958630f6d955c923a12
BLAKE2b-256 28638a505fab8553bb55760a9718e52e45a362e99ce1de2f7a86ee715b40299f

See more details on using hashes here.

Provenance

The following attestation bundles were made for outline_wiki_api-0.3.2-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