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.83.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.0.tar.gz (29.2 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.0-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: outline_wiki_api-0.3.0.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for outline_wiki_api-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b9284e6a7087cd376bb6ec9797b19d73cdd25787f0b1202bed29b67dd47592d7
MD5 cfb648af8e47055a4eb0dd96961e074c
BLAKE2b-256 83069ca2d993dbb11e53191c9d0dc50af722127e3530dc1d01488c212db04e66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for outline_wiki_api-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a38bb165959afbb36bf17878c6d10f4ff3739ccc7506b50025d1790ed086199
MD5 893155bd780e7e66b6ec079d87fdf5fc
BLAKE2b-256 ae6275d5367d0b75fb7f1f62ea9fe5df6054fe624a8fc483bb14dbe44cea956b

See more details on using hashes here.

Provenance

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