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
Release history Release notifications | RSS feed
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.2.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cluedin_magic-0.1.2.tar.gz.
File metadata
- Download URL: cluedin_magic-0.1.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a4eb09497b0ef552ec0ba9ec820b31c6c8b10912c74e441bfb2f041c1b98a14
|
|
| MD5 |
5e10815a4ebc47b45ae75e544294e2b2
|
|
| BLAKE2b-256 |
a49d4caf2e94d950e0b77e08a1399e5dfd92e171e377c8b625e46ebb1db7d3a7
|
File details
Details for the file cluedin_magic-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cluedin_magic-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63e2ddc16094a7b7949484a16f6ef22af57a026778f7390df0eaae9b402794f4
|
|
| MD5 |
388c6313109c768c8ecaceb0de59316b
|
|
| BLAKE2b-256 |
506c7b50be87204d937a81524291fa5e0c93a55bcc837ecc116d4384e560ab60
|