Skip to main content

Dappier Python SDK

The Dappier Python SDK provides an easy-to-use interface for interacting with the Dappier API.


Installation

Install the SDK using pip:

pip install dappier

Initialization

Below is an example of how to use the Dappier SDK:

import os
from dappier import Dappier

# Set your API key as an environment variable
os.environ["DAPPIER_API_KEY"] = "<YOUR_API_KEY>"

# Initialize the Dappier SDK
app = Dappier()

Replace <YOUR_API_KEY> with actual Dappier API key which you can get from your Dappier account.


Real-Time Search

You can perform a real-time search by providing a query. This will search for real-time data related to your query. You can pick a specific aimodel from marketplace.

response = app.search_real_time_data(query="What is the stock price of Apple ?", ai_model_id="am_01j06ytn18ejftedz6dyhz2b15")

AI Recommendations

The AI Recommendations feature allows you to query for articles and other content using a specific data model. You can pick a specific datamodel from marketplace.

response = app.get_ai_recommendations(
    query="latest tech news",
    data_model_id="dm_02hr75e8ate6adr15hjrf3ikol",
    similarity_top_k=5,
    ref="techcrunch.com",
    num_articles_ref=2,
    search_algorithm="most_recent"
)

For detailed documentation and advanced features, refer to the official Dappier documentation.

Metadata

Release files for dappier 0.3.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 dappier 0.3.6
File Size Uploaded
dappier-0.3.6.tar.gz 5.4 kB Details

Built distribution (wheel)

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

Total release size: 15.0 kB

Release files / dappier-0.3.6.tar.gz

Download URL dappier-0.3.6.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a2d0bbcf385b879853dfe4fd20a0af98ce9d05ea25ed0c1256c103aae7afc91d
BLAKE2b-256 checksum
How to use checksums
c10cd31ece4e4f32c1b3475eec68658f5461176836191f2eac9ad94d51026513
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.13.2 Darwin/24.3.0

Release files / dappier-0.3.6-py3-none-any.whl

Download URL dappier-0.3.6-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2502be64d62181d7e7d7e720a5dfce6e4483961845a78e804f57aa1fc9f202f
BLAKE2b-256 checksum
How to use checksums
53eeddebd7618e7105246981d8e2952f4e0ec118acf3828818f97532a971454f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.13.2 Darwin/24.3.0

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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