Skip to main content

boarddata

Python SDK for the BoardData V2 REST API.

Installation

pip install boarddata

Quick Start

from boarddata import BoardDataClient

# From environment variables
client = BoardDataClient.from_env()

# Or explicit configuration
client = BoardDataClient(
    base_url="https://api.boarddata.scalens.com",
    client_id="your-client-id",
    client_secret="your-client-secret",
)

# List companies
companies = client.list_companies(country="FR", page_size=10)

# Get a specific company
company = client.get_company("company-uuid")

# Create or update a company
result = client.upsert_company("FR0000120271", "TotalEnergies", country="FR")
print(result["action"])  # "created" or "updated"
print(result["id"])      # company UUID

Environment Variables

Variable Description
BOARDDATA_BACKEND_URL Base URL of the BoardData API
BOARDDATA_CLIENT_ID OAuth2 client ID (from Django admin)
BOARDDATA_CLIENT_SECRET OAuth2 client secret (from Django admin)

Token Caching

from boarddata import BoardDataClient, FileTokenCache

# File-based cache
client = BoardDataClient.from_env(token_cache="~/.boarddata/token.json")

# Or with explicit cache object
cache = FileTokenCache("~/.boarddata/token.json")
client = BoardDataClient.from_env(token_cache=cache)

Pagination

# Auto-paginate any list endpoint
all_companies = client.paginate(client.list_companies, country="FR")

# Limit pages
first_100 = client.paginate(client.list_companies, max_pages=4, page_size=25)

Available Domains

  • Companies — list_companies, get_company, create_company, update_company, delete_company, upsert_company
  • Persons — list_persons, get_person, create_person, update_person, delete_person, upsert_person
  • Directors — list_directors, get_director, create_director, update_director, delete_director, upsert_director
  • Comex — list_comex, get_comex, create_comex, update_comex, delete_comex, upsert_comex
  • Auditors — list_auditors, get_auditor, create_auditor, update_auditor, delete_auditor
  • Documents — list_documents, get_document, create_document, update_document, delete_document
  • Assemblies — list_assemblies, get_assembly, create_assembly, update_assembly, delete_assembly
  • Resolutions — list_resolutions, get_resolution, update_resolution, delete_resolution
  • ESG — list_iros, create_iro, list_transition_plans, create_transition_plan, list_esg_benchmark
  • Sentinel — list_analyses, create_analysis, retry_press_extraction, update_press_article
  • Utilities — search, query_assistant, get_field_sources, paginate

License

MIT

Metadata

Release files for boarddata 6.8.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boarddata 6.8.6
File Size Uploaded Provenance Actions
boarddata-6.8.6.tar.gz 88.9 kB Without provenance Details for boarddata-6.8.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for boarddata 6.8.6
File Interpreter ABI Platform Actions
boarddata-6.8.6-py3-none-any.whl Python 3 none any Details for boarddata-6.8.6-py3-none-any.whl

Total release size: 211.7 kB

Release files / boarddata-6.8.6.tar.gz

Download URL boarddata-6.8.6.tar.gz
Size 88.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ebb2f338664d09261ac0a9b288aaac51b820f93249763fff0d147957aa85ca4e
BLAKE2b-256 checksum
How to use checksums
38edad8c4f6bd96c2f64271829d62725927910f1839d14d62ab3d4d5896896e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / boarddata-6.8.6-py3-none-any.whl

Download URL boarddata-6.8.6-py3-none-any.whl
Size 122.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ff978b8e853ae5425ea95cc2784283bc31d5c4a852f1a9d9172b36fb64a0d21
BLAKE2b-256 checksum
How to use checksums
51059e3872d7da8a5d2276b38164790fdc4790f0341c60d6a6f0253c3aeb1bfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for boarddata 6.8.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

6.8.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page