Python client for Louie.ai (Graphistry's AI investigation platform)
Project description
LouieAI Python Client
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
- User Guide - Complete usage examples and tutorials
- API Reference - Detailed API documentation
- Examples - Common patterns and use cases
Links
- Louie.ai Platform - Learn about LouieAI
- PyGraphistry - Required for authentication
- Support - Report issues or get help
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
420f2037ddf795f1740d9fb0ad7d1fa850b44ab9db9e4b2e3202d3ac95fd8c01
|
|
| MD5 |
b36ba842a4a95c38eba3d9ea555691f2
|
|
| BLAKE2b-256 |
6e30f3afe7e65f643b31156db7bbb5a28785acdc6c5a35e411a873aa0abf4389
|
Provenance
The following attestation bundles were made for louieai-0.2.0.tar.gz:
Publisher:
publish.yml on graphistry/louie-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
louieai-0.2.0.tar.gz -
Subject digest:
420f2037ddf795f1740d9fb0ad7d1fa850b44ab9db9e4b2e3202d3ac95fd8c01 - Sigstore transparency entry: 324098335
- Sigstore integration time:
-
Permalink:
graphistry/louie-py@102343d6de4eef81d208ebbb156acc4cf8ef6fe4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/graphistry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@102343d6de4eef81d208ebbb156acc4cf8ef6fe4 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7af41a847627efe4f6fd8beac2196ce3f47c25b0b47fb52af8d1b2476d822a08
|
|
| MD5 |
dfe48e0d53a4af53e93cc56dcf0aa931
|
|
| BLAKE2b-256 |
b863307de6d5d2559beb67b12383ad61bbabda0f9cf00b4fd40b86e0e53bcb8e
|
Provenance
The following attestation bundles were made for louieai-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on graphistry/louie-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
louieai-0.2.0-py3-none-any.whl -
Subject digest:
7af41a847627efe4f6fd8beac2196ce3f47c25b0b47fb52af8d1b2476d822a08 - Sigstore transparency entry: 324098356
- Sigstore integration time:
-
Permalink:
graphistry/louie-py@102343d6de4eef81d208ebbb156acc4cf8ef6fe4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/graphistry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@102343d6de4eef81d208ebbb156acc4cf8ef6fe4 -
Trigger Event:
release
-
Statement type: