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.12+ 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.1.1.tar.gz (166.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.1.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: louieai-0.1.1.tar.gz
  • Upload date:
  • Size: 166.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.1.1.tar.gz
Algorithm Hash digest
SHA256 6c0eabe0811fc0eac98b3c2f3fe1bcfca9ca473adb6671e203fc253893bb5e41
MD5 a70f8f45f5bf6eb0444760b41e85073a
BLAKE2b-256 a18b07b9d8ac53474c6084c0c57a96af83cd5f3c01d7e674d0d1d2b40c2cda05

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: louieai-0.1.1-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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac5998913e1aedac6eafbf2b0e50d61cc59f27c70e195a126bd3bf618218acd3
MD5 781871b598b8829a0fba3ac3517a9009
BLAKE2b-256 a34b50b0a17b6521cdf9264f9261a8c11e93cf5bad1ff6ec949ad6a94fa17a9d

See more details on using hashes here.

Provenance

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