SDK for EconCausalAI - Causal Discovery and Economic Simulation Platform
Project description
EconCausalAI SDK
Official Python client for the EconCausalAI platform.
Installation
pip install econcausal
Quick Start
from econcausal import EconCausalClient
# Connect to local instance or cloud
client = EconCausalClient(base_url="http://localhost:8001/api/v1")
# 1. Discover Causal Graph
data = [{"inflation": 0.02, "rate": 0.05}, {"inflation": 0.03, "rate": 0.02}]
graph_result = client.causal.discover(data, algorithm="notears")
# 2. Run Simulation
results = client.simulation.run(
causal_graph=graph_result['graph'],
policy={"instrument": "rate", "value": 0.04, "time_horizon": 10}
)
print(results['summary'])
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
econcausal-0.1.0.tar.gz
(3.1 kB
view details)
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 econcausal-0.1.0.tar.gz.
File metadata
- Download URL: econcausal-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b9b1cb722d06c8990958a49dc364d2c5fea38a3f0aed64830111d162940707f
|
|
| MD5 |
ba2f269a3887bf6a5cc64f8590ef6f9f
|
|
| BLAKE2b-256 |
824978696da52b305d61307bf792110facf3e950d3b82f494bd3593d9e332346
|
File details
Details for the file econcausal-0.1.0-py3-none-any.whl.
File metadata
- Download URL: econcausal-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce49fc14f0e9f5351704342e06c37443898b2b5d6bd28f3d554dbf05e4723108
|
|
| MD5 |
504ad48cf94af646eac78d1d67a44098
|
|
| BLAKE2b-256 |
7bed3060c7723e6ae43442c4ce0f16daafdd2b9fbe3576f2370c2a3ba61862ce
|