Skip to main content

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

Metadata

Release files for cluedin-magic 0.1.2

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

Source distribution (sdist)

Source distribution for cluedin-magic 0.1.2
File Size Uploaded
cluedin_magic-0.1.2.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cluedin-magic 0.1.2
File Interpreter ABI Platform
cluedin_magic-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / cluedin_magic-0.1.2.tar.gz

Download URL cluedin_magic-0.1.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3a4eb09497b0ef552ec0ba9ec820b31c6c8b10912c74e441bfb2f041c1b98a14
BLAKE2b-256 checksum
How to use checksums
a49d4caf2e94d950e0b77e08a1399e5dfd92e171e377c8b625e46ebb1db7d3a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0

Release files / cluedin_magic-0.1.2-py3-none-any.whl

Download URL cluedin_magic-0.1.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63e2ddc16094a7b7949484a16f6ef22af57a026778f7390df0eaae9b402794f4
BLAKE2b-256 checksum
How to use checksums
506c7b50be87204d937a81524291fa5e0c93a55bcc837ecc116d4384e560ab60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

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