Skip to main content

Toggl reader

pip install llama-index-readers-toggl

This loader fetches time entries from Toggl workspace and project into Documents.

Before working with Toggl's API, you need to get API token:

  1. Log in to Toggl
  2. Open profile
  3. Scroll down and click -- Click to reveal -- for API token

Usage

from llama_index.readers.toggl import TogglReader
from llama_index.readers.toggl.dto import TogglOutFormat
import datetime

reader = TogglReader(api_token="{{YOUR_API_TOKEN}}")

docs = reader.load_data(
    workspace_id="{{WORKSPACE_ID}}",
    project_id="{{PROJECT_ID}}",
    start_date=datetime.datetime.now() - datetime.timedelta(days=7),
    out_format=TogglOutFormat.markdown,
)

Examples

This loader is designed to be used as a way to load data into LlamaIndex.

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_toggl-0.6.0.tar.gz (4.6 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_toggl-0.6.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_readers_toggl-0.6.0.tar.gz
  • Upload date:
  • Size: 4.6 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_toggl-0.6.0.tar.gz
Algorithm Hash digest
SHA256 b1839e7e97d312b2789a7c81ea56722ad3dd04d272fc608bd1af4ac0b5c904b4
MD5 3e137816e51698d8d57b59cd05aac405
BLAKE2b-256 d34b75a6e2630a374d1efdf7ef675ae7971ab3ec97581c6d205ab8e75e87726a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_toggl-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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_toggl-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70518faece5487f7ed35866322dc4bcff4dc4ca3d8f2bb283e797735bc5a34ab
MD5 776486638cc39652413813af00445fbc
BLAKE2b-256 33210b2f6a32fe913221939eb9f08ab7e11d4b5323c28f682e15904f0b93f2a8

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

0.1.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