Pycarlo is Monte Carlo's Python SDK, providing programmatic access to the Monte Carlo data observability platform's APIs. It enables users to execute queries and mutations against the Monte Carlo API and leverage higher-level features for common data operations. The library is actively maintained and frequently updated, with a current version of 0.12.292 and requires Python 3.9 or greater.
pip install -U pycarloVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize the Pycarlo client and execute a basic query to retrieve the current user's email. Authentication is handled via environment variables (MCD_ID, MCD_TOKEN), a Monte Carlo CLI-configured profile (~/.mcd/profiles.ini), or by explicitly passing credentials to the Session. It's recommended to use environment variables or CLI profiles for security in production environments.
Ensure `MCD_ID` and `MCD_TOKEN` environment variables are set, or run `montecarlo configure` via the CLI to set up a default profile. For explicit control, pass `mcd_id` and `mcd_token` to `pycarlo.core.Session`.
Keep your Pycarlo SDK updated to the latest version to avoid warnings and ensure full feature and schema support. `pip install -U pycarlo`.
Refer to the documentation for specific imports. Most basic operations start with `pycarlo.core`.
No dependency data recorded yet.