Skip to main content

Indemnipy AI

This is the Indemnipy AI package, which provides a set of tools and capabilities using AI in the wonderful world of insurance. Which inevitably means spreadsheets.

Installation

You can install the package using pip:

pip install indemnipy-ai

or, with uv:

uv pip install indemnipy-ai
# or
uv add indemnipy-ai

Capabilities

This package provides an ExcelCapability that allows you to build Pydantic AI agents which have the ability to work with Excel files (both .xlsx and .xlsm). You can use this capability to read, write, and analyse the data in Excel files.

This capability adds the following abilities to your agent:

  • Automatically discovers named tables and reads them in as Polars dataframes
  • Browses sheets for "table-like" data and can create new tables (again as Polars dataframes) from specific ranges
  • Reads arbitrary ranges of sheets for non-tabular data
  • Non-destructively queries tables using duckdb across sheets and workbooks to create new tables - either to use to help respond to the user or to pass back to the user at the end of a run for their own uses
  • Performs automatic conversion (on data load) of strings which can be unambiguously parsed as datetimes, and optionally does this for dates with missing days (pinning them to the first of the month)
  • Parses any VBA code within the workbook, along with a basic security analysis

Read more about Capabilities in the Pydantic documentation.

Basic Usage

from indemnipy_ai.capabilities.excel import ExcelCapability
from pydantic_ai import Agent

agent = Agent(
    "openai:gpt-4o",
    capabilities=[ExcelCapability()],
    output_type=str,
)

result = agent.run_sync("What spreadsheets do you have access to?")
print(result.output)

Metadata

Release files for indemnipy-ai 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for indemnipy-ai 0.1.3
File Size Uploaded Provenance Actions
indemnipy_ai-0.1.3.tar.gz 16.2 kB Without provenance Details for indemnipy_ai-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for indemnipy-ai 0.1.3
File Interpreter ABI Platform Actions
indemnipy_ai-0.1.3-py3-none-any.whl Python 3 none any Details for indemnipy_ai-0.1.3-py3-none-any.whl

Total release size: 38.1 kB

Release files / indemnipy_ai-0.1.3.tar.gz

Download URL indemnipy_ai-0.1.3.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d74a9d393581b6c074942e708e4541a0003acfc4c63d42f8d6c9f1d0d93c2e8c
BLAKE2b-256 checksum
How to use checksums
7ea09ed2282bad976d0061230c9daca6afc3fada0c60ca3a1bd2f83f856675cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 / indemnipy_ai-0.1.3-py3-none-any.whl

Download URL indemnipy_ai-0.1.3-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a59cd1b79508baf0b5ecf46bd99e5e20e1d163bab803ffb84f39ace214a3622
BLAKE2b-256 checksum
How to use checksums
d9de8aa65054181a77e986b8a2c15517a7f4cd08872d3784d0df7958308cecf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 indemnipy-ai 0.1.3

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.

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