Skip to main content

Python client for Louie.ai (Graphistry's AI investigation platform)

Project description

LouieAI Python Client

CI PyPI Version License

LouieAI is an AI-driven investigative platform by Graphistry that brings generative AI into your data analysis workflows. This Python client library enables you to programmatically interact with Louie.ai using natural language queries.

Features

  • Simple API: Send natural language queries and receive structured responses
  • Seamless Authentication: Integrates with PyGraphistry authentication
  • Rich Responses: Get text answers, dataframes, and Graphistry visualizations
  • Thread-based Conversations: Maintain context across multiple queries
  • Type-safe: Full type hints for better IDE support

Alpha Release: Core functionality is available with more features coming soon.

Installation

Requires Python 3.10+ and an existing Graphistry account.

# Using uv (recommended)
uv pip install louieai

# Using pip
pip install louieai

Quick Start

import graphistry
import louieai as lui

# Authenticate with your Graphistry account
graphistry.register(api=3, username="your_user", password="your_pass")

# Create a client and make queries
client = lui.Client()
response = client.add_cell("", "Show me patterns in the security logs")

# Access different response types
for text in response.text_elements:
    print(text['text'])
    
for df in response.dataframe_elements:
    print(df['table'])  # pandas DataFrame

Documentation

Links

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

For developers: Check out DEVELOP.md for technical setup and development workflow.

License

Apache 2.0 - see LICENSE

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

louieai-0.3.1.tar.gz (192.0 kB view details)

Uploaded Source

Built Distribution

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

louieai-0.3.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file louieai-0.3.1.tar.gz.

File metadata

  • Download URL: louieai-0.3.1.tar.gz
  • Upload date:
  • Size: 192.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for louieai-0.3.1.tar.gz
Algorithm Hash digest
SHA256 556e7ec1962f57e4fd4bcd7394bd94128dba4e3e513471105354a93b4f12550b
MD5 d2f6590131e26b1a0a7fb7bd8c703d00
BLAKE2b-256 0412ec6cf167b46305f8fe80182d03f0d7948a7b8fb76c4e48079e56e64848cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for louieai-0.3.1.tar.gz:

Publisher: publish.yml on graphistry/louie-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file louieai-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: louieai-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for louieai-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ea1b0a3026ec652371fb852908b633b5b9227d97312382e25e72be25a9c8695
MD5 2fa012adf82547251c1a1e4292d8b5bd
BLAKE2b-256 ffef83dab9be4b5f20775e653e6941d5bd2a7c1ee0aaa7856085393dfbb811ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for louieai-0.3.1-py3-none-any.whl:

Publisher: publish.yml on graphistry/louie-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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