Skip to main content

IPython magic commands for CluedIn

Project description

CluedIn IPython magic commands

This module provides IPython magic commands for interacting with the CluedIn API.

# Install the package.
%pip install cluedin-magic
# Load the extension.
%load_ext cluedin_magic
# Create a new CluedIn context from a JWT token.
api_token = '<your_token_here>'
ctx = %cluedin get-context --jwt %api_token
# Find all entities with a specific entityType.
%cluedin search --context ctx --query +entityType:/Infrastructure/User
# Find all entities with a specific entityType and limit the results.
%cluedin search --context ctx --query +entityType:/Infrastructure/User --limit 10
# Complex query with multiple properties and limit the results.
%cluedin search --context ctx --query +entityType:/IMDb/Name -properties.imdb.name.deathYear:"\\\\N" --limit 10
# Save the results of a query to a pandas DataFrame.
pd = %cluedin search --context ctx --query +entityType:/IMDb/Name +properties.imdb.name.birthYear:1981

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

cluedin_magic-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

cluedin_magic-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file cluedin_magic-0.1.0.tar.gz.

File metadata

  • Download URL: cluedin_magic-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0

File hashes

Hashes for cluedin_magic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 983231ba9de067bd74ff6dbdc31fd75457e7b1b5bfe0d8bcc795c30d725d1046
MD5 47c5cfb9f5a374a3d66737d7c53ce3fb
BLAKE2b-256 d18dc6c3a9f7623aaf7a55691890728476dd8a53fdd80e33587c66cb850b2678

See more details on using hashes here.

File details

Details for the file cluedin_magic-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cluedin_magic-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0

File hashes

Hashes for cluedin_magic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01ea36b82f8aed2f488e8d1e804c5026266f3d1d705bd2df4b34712df9d64f0a
MD5 9c93b63ae01f3e5dfb63c22d2ed1759b
BLAKE2b-256 301253281c03ecac689afa4a9e67bcdb4d80adfd14fd9cb3da2f785a5642f9c8

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