Skip to main content

LlamaIndex Readers Integration: Gitbook

Overview

Simple Gitbook Reader allows loading data from a gitbook space. It collects & converts contents from gitbook space into documents used by LlamaIndex.

Installation

You can install Gitbook Reader via pip:

pip install llama-index-readers-gitbook

Usage

from llama_index.readers.gitbook import SimpleGitbookReader

# Initialize SimpleGitbookReader
reader = SimpleGitbookReader(
    api_token="<Gitbook API Token>",  # Gitbook API Token
)

# load data from Gitbook
documents = reader.load_data(
    space_id="<Gitbook Space Id>",  # Id of the gitbook space
    metadata_names=None,  # Names of the fields to add to metadata attribute (available: 'path', 'title', 'description', 'parent')
)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_gitbook-0.6.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

llama_index_readers_gitbook-0.6.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_gitbook-0.6.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_gitbook-0.6.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_gitbook-0.6.0.tar.gz
Algorithm Hash digest
SHA256 942c030f9dc4e9e49a7e1edb1fb3ebdba3aa52a654db7378e32607172c63d387
MD5 958481c3a3fa4642707250c41c2d616b
BLAKE2b-256 979987626b365f5e7bd9a439fec0dd27d2a6b4919a8b20c8cfb28c2fd4120efa

See more details on using hashes here.

File details

Details for the file llama_index_readers_gitbook-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_gitbook-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_gitbook-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cab408875a88e50f699541be828410b1bd68bb1251767e51cfdc2642d3bc863
MD5 b1ef26289ccc8086597cb55e42f52a4b
BLAKE2b-256 4618b42682c0d336edc09710a495d367e48246964e8127101c0a7144a42a8172

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page