Skip to main content

A Python client for the Kruncher API

Project description

Kruncher Client

Kruncher Logo

Kruncher Client is a Python library for interacting with Kruncher data, allowing users to seamlessly access and analyze structured information.

Kruncher is a cutting-edge Data & AI platform designed to streamline investment processes for venture capitalists, incubators, and business angels. It transforms complex data into actionable insights, enhancing decision-making. Contact us at info@kruncher.ai to explore how Kruncher can elevate your investment strategy.


📚 Google Colab Demo

You can explore the Kruncher Client with our interactive Google Colab notebook:

Open in Google Colab


🚀 Installation

To install the kruncherclient library, use pip:

pip install kruncherclient

🔑 API Key Setup

To use the Kruncher API, an API key is required. Follow these steps to obtain it:

  1. Log in to your account on kruncher.ai with an owner/admin account.
  2. Navigate to Settings.
  3. Go to Integrations.
  4. Copy the KRUNCHER_API_KEY and store it securely.

Save it in a .env file within your project directory:

KRUNCHER_API_KEY=your_api_key_here

Or set it as an environment variable:

export KRUNCHER_API_KEY=your_api_key_here

📖 Usage

To use the KruncherClient, either pass the API key directly when initializing the client or ensure it is set in your environment variables.

✅ Basic Example

from kruncher import KruncherClient

# Initialize the client with the API key
client = KruncherClient(api_key='your_api_key_here')

# Alternatively, if the API key is set in the .env file, initialize without arguments
client = KruncherClient()

# Fetch projects
projects_json = client.get_projects(page=0)
print(projects_json)

# Fetch projects as a DataFrame
projects_df = client.get_projects_df_full(page=0)
print(projects_df)

# Fetch analysis details
analysis_id = 'your_analysis_id_here'
analysis_details = client.get_analysis_detail(analysis_id=analysis_id)
print(analysis_details)

# Fetch analysis details as json object containing different pre-built dataframes
analysis_detail_df = get_analysis_detail_df(analysis_id=analysis_id)
print(analysis_detail_df)

# Fetch analysis details as complete dataframe row with 200+ datapoints
analysis_df_full = get_analysis_df_full(analysis_id=analysis_id)
print(analysis_df_full)

📌 Features

  • 🔍 Retrieve projects from Kruncher API.
  • 📊 Fetch projects as a DataFrame for easy analysis.
  • 📈 Get analysis details using an analysis_id.
  • 🔒 Secure API key storage via .env file or environment variables.

❓ Need Help?

For any issues, feel free to reach out:

Enjoy using kruncherclient! 🚀

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

kruncherclient-0.1.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

kruncherclient-0.1.2-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file kruncherclient-0.1.2.tar.gz.

File metadata

  • Download URL: kruncherclient-0.1.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for kruncherclient-0.1.2.tar.gz
Algorithm Hash digest
SHA256 14457a3c95bcd50acc66360f7d9c50a85d461cf73e738bf4de5a4ffd2651d167
MD5 2b4a757978e5bc5181a2ccd182725971
BLAKE2b-256 1216d75988a8d8f8da56353f0d8a5060ffb0349b9c6bf86bb3f663a086a44550

See more details on using hashes here.

File details

Details for the file kruncherclient-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: kruncherclient-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for kruncherclient-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e74140a5068232eaec8248f6e10b9f806ef15d4135e922eb222a1749f73659e
MD5 55d26a89b7cf208d590e68ef7f4fa74c
BLAKE2b-256 282fde55478fe9dcda88b01bf3e3edd3ee7d30cb4ab778b704382bd73217025c

See more details on using hashes here.

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