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 ask questions
client = lui.Client()
response = client.ask("Show me patterns in the security logs")

# Access different response types
for text in response.text_elements:
    print(text['text'])
    
for df in response.df_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

The Apache-2.0 license enables easy integration in enterprise environments, Splunk apps, and Jupyter notebooks.

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.2.0.tar.gz (178.4 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.2.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for louieai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 420f2037ddf795f1740d9fb0ad7d1fa850b44ab9db9e4b2e3202d3ac95fd8c01
MD5 b36ba842a4a95c38eba3d9ea555691f2
BLAKE2b-256 6e30f3afe7e65f643b31156db7bbb5a28785acdc6c5a35e411a873aa0abf4389

See more details on using hashes here.

Provenance

The following attestation bundles were made for louieai-0.2.0.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: louieai-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7af41a847627efe4f6fd8beac2196ce3f47c25b0b47fb52af8d1b2476d822a08
MD5 dfe48e0d53a4af53e93cc56dcf0aa931
BLAKE2b-256 b863307de6d5d2559beb67b12383ad61bbabda0f9cf00b4fd40b86e0e53bcb8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for louieai-0.2.0-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