Skip to main content

Python client for the Diffbot Knowledge Graph API.

Project description

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.

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

diffbot_kg-0.2.4.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

diffbot_kg-0.2.4-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file diffbot_kg-0.2.4.tar.gz.

File metadata

  • Download URL: diffbot_kg-0.2.4.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for diffbot_kg-0.2.4.tar.gz
Algorithm Hash digest
SHA256 3a5f023e7a9b0786ee682587f61239f28c7e412f34f866e905b919211e8b3733
MD5 557dd9619fd1188e2b72d943766dcf2e
BLAKE2b-256 5570494b0d7c6984562286ec73e10a065eda56fd88dc57f81d8da760264a4427

See more details on using hashes here.

File details

Details for the file diffbot_kg-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: diffbot_kg-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for diffbot_kg-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ac15adc5030b4e2a2cc7a16235718d438cecb4a765872a2ffd035375a34ae214
MD5 2abc4b4f92ecc61902c87d6db97c794e
BLAKE2b-256 fddfee3952cb9bee0191a63a926f064d49072c28179e4c76729a3eb2c57991e7

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