Skip to main content

Python CLI for kFinance

Project description

kFinance

The kFinance Python library provides a simple interface for the LLM-ready API, streamlining API requests and response handling. It can be used on its own, with LLMs, or integrated into applications.

For a complete overview of the functions, usage, and features of the kFinance Python library, please refer to documentation here.

Any questions or suggestions can be sent to the kFinance Maintainers.

Setup

You can install kFinance on PyPI via

pip install kensho-kfinance

Getting started

To receive access, please email S&P Global Market Intelligence for information on free trials and pricing.

Once access is obtained, get started using the Authentication Guide and Usage Guide.

To get started, we provide some notebooks:

  • The LLM-ready API Basic Usage notebook demonstrates how fetch data with the kFinance client.
  • The tool_calling notebooks show how the kFinance library can be used for tool calling. We provide notebooks for OpenAI (GPT), Anthropic (Claude), and Google (Gemini). Each of these integrations comes in a langchain version, which uses langchain as a wrapper to simplify the integration, and as a lower level non-langchain version.

We also provide an interactive notebook that demonstrates some usage examples.

Versioning

The kFinance uses semantic versioning (major, minor, patch). To bump the version, add a new entry in CHANGELOG.md. This will generate a new version of the library as part of the release process.

License

Use is solely in accordance with the signed agreement between your entity and S&P.

Copyright 2025-present Kensho Technologies, LLC. The present date is determined by the timestamp of the most recent commit in the repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kensho_kfinance-2.3.0.tar.gz (80.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kensho_kfinance-2.3.0-py3-none-any.whl (75.7 kB view details)

Uploaded Python 3

File details

Details for the file kensho_kfinance-2.3.0.tar.gz.

File metadata

  • Download URL: kensho_kfinance-2.3.0.tar.gz
  • Upload date:
  • Size: 80.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for kensho_kfinance-2.3.0.tar.gz
Algorithm Hash digest
SHA256 ece78d8fc84fe51df751f1db779e51c8f87c15f3385daf3248517294330dd43e
MD5 b97a57e14b4d28ddd1cca42aa15702c3
BLAKE2b-256 59d59e1f18f239f6fb6979535219f0e71bf2abb0219b48ff8de6e6042a7e8b61

See more details on using hashes here.

Provenance

The following attestation bundles were made for kensho_kfinance-2.3.0.tar.gz:

Publisher: python-publish.yml on kensho-technologies/kfinance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kensho_kfinance-2.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kensho_kfinance-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21bc345dbd6209c0b3561b92672c24e045359f314d6ed73c9602f8a0cc1d3aed
MD5 1a8340a622525638bda81ab59ca5d712
BLAKE2b-256 e3a29e169a0db3d0f66f86769a9a6493638aa62488ee8383334887b1699b9ae1

See more details on using hashes here.

Provenance

The following attestation bundles were made for kensho_kfinance-2.3.0-py3-none-any.whl:

Publisher: python-publish.yml on kensho-technologies/kfinance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page