Requirements
specklepy requires:- Python 3.10 or higher (Python 3.10, 3.11, 3.12, 3.13 supported)
specklepy works on Windows, macOS, and Linux.
Install with pip
You can install specklepy using pip in the current environment:Install a Specific Version
To install a specific version:Upgrade to Latest Version
To upgrade an existing installation:Virtual Environments (Recommended)
It’s best practice to use a virtual environment to avoid dependency conflicts.- uv (Recommended)
- venv (Built-in)
- conda
UV is blazingly fast and the preferred tool by the Speckle team!
Verify Installation
Confirm specklepy is installed correctly:Dependencies
specklepy automatically installs these dependencies:| Package | Purpose |
|---|---|
gql[requests,websockets] | GraphQL client for Speckle Server API |
pydantic | Data validation and serialization |
appdirs | Cross-platform directory paths |
stringcase | String case conversion |
ujson | Fast JSON parsing |
deprecated | Deprecation warnings |
You don’t need to install these manually - pip handles them automatically.
Development Installation
If you want to contribute to specklepy or modify the source code refer to the contributing guide.Next Steps
Now that you have specklepy installed, learn how to authenticate:Authentication
Set up authentication with Speckle Server