Skip to main content

llama-index readers toggl integration

Project description

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.

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

llama_index_readers_toggl-0.5.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.5.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_readers_toggl-0.5.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.5.0.tar.gz
Algorithm Hash digest
SHA256 be617e40848c2c312eb162b8011becbffbc0c78bae0e345fadfbda0f26249739
MD5 da71e11c32dbdb69cba9946d9f643793
BLAKE2b-256 4bad2564d00b1824bd3a38ddb4c031a3c64272f6e52da3d5c34d7c6f6c87517d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_toggl-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a43463d00bbfa697fb95dc6bdbd2a4a56ebdeb0e6f1897e787b262fa8f5e26
MD5 7d43e8ad7eaaa7a7c4d6ff01caf02df0
BLAKE2b-256 c144bbf22cb40af28c8704bde0d7f647e1211bc7d63943be748495e9af67fb48

See more details on using hashes here.

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