Skip to main content

Diffbot Knowledge Graph Client

Diffbot Logo

CodeFactor GitHub Actions Workflow Status PyPI - Version GitHub License

Description

Python client for the Diffbot Knowledge Graph API.

Installation

pip install diffbot-kg

Usage

from diffbot_kg import DiffbotSearchClient, DiffbotEnhanceClient

search_client = DiffbotSearchClient('your_api_key')
enhance_client = DiffbotEnhanceClient('your_api_key')

# Search for entities
search_results = search_client.search({query='type:Organization name:Diffbot'})

# Enhance an entity
enhanced_entity = enhance_client.enhance({query='type:Organization name:Diffbot'})

Contributing

Contributions to this project are welcome. - see the CONTRIBUTING.md file for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for diffbot-kg 0.2.4

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

Source distribution (sdist)

Source distribution for diffbot-kg 0.2.4
File Size Uploaded
diffbot_kg-0.2.4.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for diffbot-kg 0.2.4
File Interpreter ABI Platform
diffbot_kg-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 18.9 kB

Release files / diffbot_kg-0.2.4.tar.gz

Download URL diffbot_kg-0.2.4.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3a5f023e7a9b0786ee682587f61239f28c7e412f34f866e905b919211e8b3733
BLAKE2b-256 checksum
How to use checksums
5570494b0d7c6984562286ec73e10a065eda56fd88dc57f81d8da760264a4427
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / diffbot_kg-0.2.4-py3-none-any.whl

Download URL diffbot_kg-0.2.4-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac15adc5030b4e2a2cc7a16235718d438cecb4a765872a2ffd035375a34ae214
BLAKE2b-256 checksum
How to use checksums
fddfee3952cb9bee0191a63a926f064d49072c28179e4c76729a3eb2c57991e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.2.4 This release

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.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