Skip to main content

Poelis Python SDK

Python SDK for Poelis - explore your data with simple dot notation.

IDE Compatibility & Autocomplete

The Poelis SDK works in all Python environments, but autocomplete behavior varies by IDE:

  • Autocomplete: Works perfectly with dynamic attributes
  • Setup: No configuration needed
  • Experience: Full autocomplete at all levels

⚠️ PyCharm (Jupyter Notebooks)

  • Autocomplete: Limited - PyCharm uses static analysis and doesn't see dynamic attributes
  • Code execution: Works perfectly (attributes are real and functional)
  • Workaround: Call the relevant list_*().names at each level to prime autocomplete

Examples

See notebooks/try_poelis_sdk.ipynb for complete examples including authentication, data exploration, and search queries.

Installation

  • Python >= 3.11
  • API base URL reachable from your environment
pip install -U poelis-sdk

Quick Start

  1. Go to Organization Settings → API Keys
  2. Click "Create API key"
  3. Copy the key (shown only once) and store it securely, for example as an environment variable:
from poelis_sdk import PoelisClient

# Create client
poelis_client = PoelisClient(
    api_key="poelis_live_A1B2C3...",    # Get from Organization Settings → API Keys
)

Browser Usage

The browser lets you navigate your Poelis data with simple dot notation:

# Navigate through your data
poelis = poelis_client.browser

# List workspaces
poelis.list_workspaces().names  # ['workspace1', 'workspace2', ...]

# Access workspace
ws = poelis.workspace1

# List products in workspace  
ws.list_products().names  # ['product1', 'product2', ...]

# Access product
product = ws.product1

# List items in product
product.list_items().names  # ['item1', 'item2', ...]

# Access item and its properties
item = product.item1

# List children by type for more control
item.list_items().names       # ['child_item1', 'child_item2'] - only child items
item.list_properties().names  # ['Color', 'Weight', ...] - only properties

# Access property values directly
item_value = item.some_property.value  # Access property values directly
item_category = item.some_property.category  # Access property categories directly
item_unit = item.some_property.unit  # Access property units directly

Formula properties

For property type formula, property.category and property.unit is always None. The unit is part of the value itself: the value is the computed result of the expression (e.g. "10 kg"), so there is no separate unit field. For invalid formulas, property.value is None.

Property Change Detection

The SDK can automatically warn you when property values change between script/notebook runs. This is useful when you're using property values for calculations and want to be notified if a colleague changes them in the webapp.

License

MIT

Metadata

Release files for poelis-sdk 1.3.0

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

Source distribution (sdist)

Source distribution for poelis-sdk 1.3.0
File Size Uploaded Provenance Actions
poelis_sdk-1.3.0.tar.gz 130.8 kB Without provenance Details for poelis_sdk-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for poelis-sdk 1.3.0
File Interpreter ABI Platform Actions
poelis_sdk-1.3.0-py3-none-any.whl Python 3 none any Details for poelis_sdk-1.3.0-py3-none-any.whl

Total release size: 197.5 kB

Release files / poelis_sdk-1.3.0.tar.gz

Download URL poelis_sdk-1.3.0.tar.gz
Size 130.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dabeb9cbf41e661dfa2080edf5172059f541e005c2b2305ee40d1001b73e79e8
BLAKE2b-256 checksum
How to use checksums
8b50d5bfee3350df749ad6dd00e87e85cf8e2b1a81e9d1b6900f4ae1b60f7650
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / poelis_sdk-1.3.0-py3-none-any.whl

Download URL poelis_sdk-1.3.0-py3-none-any.whl
Size 66.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0231b9dd4ef8b43cde79c821422ca7999d299e879ce2d7b7c948ee68d5ad903e
BLAKE2b-256 checksum
How to use checksums
f16fcc8bb4d6144584f03460bd5c350f9a45a6e41292abc1092a5d57eb45aece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for poelis-sdk 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files No provenance

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