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.1

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.1
File Size Uploaded Provenance Actions
poelis_sdk-1.3.1.tar.gz 130.9 kB Without provenance Details for poelis_sdk-1.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 197.7 kB

Release files / poelis_sdk-1.3.1.tar.gz

Download URL poelis_sdk-1.3.1.tar.gz
Size 130.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3d799574417d8b1a66cef77a15aa8cca34dc7fe65505ed352b533f489de12fb9
BLAKE2b-256 checksum
How to use checksums
1abecbbcbae2e02aca235f8d5e9cc5f5b511b2470c557e08e91295aa2b79d789
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.1-py3-none-any.whl

Download URL poelis_sdk-1.3.1-py3-none-any.whl
Size 66.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdde04cd46353efc68302b9c75ac08753d1aa94d6bf168a65eb9b7de62b62787
BLAKE2b-256 checksum
How to use checksums
9cb9224c93bab9c50f84d6d1e975fd5e85ecf9a9a035646070d268bb623095e7
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.1

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.1 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