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:
- Log in to Toggl
- Open profile
- 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.
Metadata
Release files for llama-index-readers-toggl 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_readers_toggl-0.6.0.tar.gz | 4.6 kB | Without provenance | Details for llama_index_readers_toggl-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_toggl-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_toggl-0.6.0-py3-none-any.whl |
Total release size: 8.9 kB
Release files / llama_index_readers_toggl-0.6.0.tar.gz
| Download URL | llama_index_readers_toggl-0.6.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1839e7e97d312b2789a7c81ea56722ad3dd04d272fc608bd1af4ac0b5c904b4
|
|
BLAKE2b-256 checksum How to use checksums |
d34b75a6e2630a374d1efdf7ef675ae7971ab3ec97581c6d205ab8e75e87726a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / llama_index_readers_toggl-0.6.0-py3-none-any.whl
| Download URL | llama_index_readers_toggl-0.6.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70518faece5487f7ed35866322dc4bcff4dc4ca3d8f2bb283e797735bc5a34ab
|
|
BLAKE2b-256 checksum How to use checksums |
33210b2f6a32fe913221939eb9f08ab7e11d4b5323c28f682e15904f0b93f2a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for llama-index-readers-toggl 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.