LeapYear Python Client

The first-party Python client library for LeapYear Core. The Client class opens an authenticated connection to a self-hosted LeapYear server and exposes administrative resources (databases, tables, column definitions, views, users, groups, permissions, privacy profiles) alongside the DataSet query builder, the analytics and model modules for differentially private statistics and machine learning, feature transformers, and an async jobs interface. There is no public multi-tenant endpoint: every deployment runs its own LeapYear Core server, so the client is pointed at a customer-operated host via the url argument or the LY_API_URL environment variable.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/leapyear-python-client"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
aid: leapyear-python-client
name: LeapYear Python Client
description: 'The first-party Python client library for LeapYear Core. The Client class opens an authenticated
  connection to a self-hosted LeapYear server and exposes administrative resources (databases, tables,
  column definitions, views, users, groups, permissions, privacy profiles) alongside the DataSet query
  builder, the analytics and model modules for differentially private statistics and machine learning,
  feature transformers, and an async jobs interface. There is no public multi-tenant endpoint: every deployment
  runs its own LeapYear Core server, so the client is pointed at a customer-operated host via the url
  argument or the LY_API_URL environment variable.'
humanURL: https://leapyear-python-docs.readthedocs-hosted.com/en/4.1.1/
tags:
- Differential Privacy
- Machine-Learning
- Analytics
- Python
tags_raw:
- Differential Privacy
- Machine Learning
- Analytics
- Python
properties:
- type: Documentation
  url: https://leapyear-python-docs.readthedocs-hosted.com/en/4.1.1/
- type: APIReference
  url: https://leapyear-python-docs.readthedocs-hosted.com/en/4.1.1/api.html
- type: GettingStarted
  url: https://leapyear-python-docs.readthedocs-hosted.com/en/4.1.1/tutorial.html