Skip to main content

The Python SDK for Speckle

Project description


Speckle | specklepy 🐍

Twitter Follow Community forum users website docs

Speckle is the first AEC data hub that connects with your favorite AEC tools. Speckle exists to overcome the challenges of working in a fragmented industry where communication, creative workflows, and the exchange of data are often hindered by siloed software and processes. It is here to make the industry better.

The Python SDK

PyPI - Version Codecov License

Repo structure

Usage

Send and receive data from a Speckle Server with operations, interact with the Speckle API with the SpeckleClient, create and extend your own custom Speckle Objects with Base, and more!

Head to the 📚 specklepy docs for more information and usage examples.

Developing & Debugging

Installation

This project uses uv for dependency management, make sure you follow the official docs to get it.

To create a new virtual environment with uv run $ uv venv and follow the instructions on the screen to activate the virtual environment. To bootstrap the project environment run $ uv sync. This will install both the package and dev dependencies.

To execute any python script run $ uv run python my_script.py

Alternatively you may roll your own virtual-env with either venv, virtualenv, pyenv-virtualenv etc. Uv will play along an recognize if it is invoked from inside a virtual environment.

Style guide

All our repo wide styling linting and other rules are checked and enforced by pre-commit, which is included in the dev dependencies. It is recommended to set up pre-commit after installing the dependencies by running $ pre-commit install. Commiting code that doesn't adhere to the given rules, will fail the checks in our CI system.

Local Data Paths

It may be helpful to know where the local accounts and object cache dbs are stored. Depending on on your OS, you can find the dbs at:

  • Windows: APPDATA or <USER>\AppData\Roaming\Speckle
  • Linux: $XDG_DATA_HOME or by default ~/.local/share/Speckle
  • Mac: ~/.config/Speckle

Contributing

Please make sure you read the contribution guidelines and code of conduct for an overview of the practices we try to follow.

Community

The Speckle Community hangs out on the forum, do join and introduce yourself & feel free to ask us questions!

Security

For any security vulnerabilities or concerns, please contact us directly at security[at]speckle.systems.

License

Unless otherwise described, the code in this repository is licensed under the Apache-2.0 License. Please note that some modules, extensions or code herein might be otherwise licensed. This is indicated either in the root of the containing folder under a different license file, or in the respective file's header. If you have any questions, don't hesitate to get in touch with us via email.

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

specklepy-3.2.8.tar.gz (103.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

specklepy-3.2.8-py3-none-any.whl (157.4 kB view details)

Uploaded Python 3

File details

Details for the file specklepy-3.2.8.tar.gz.

File metadata

  • Download URL: specklepy-3.2.8.tar.gz
  • Upload date:
  • Size: 103.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for specklepy-3.2.8.tar.gz
Algorithm Hash digest
SHA256 6df01e1fff62f41a5fab93f19d0d6d95f2f64aacca8e9a3896d6d0df422fa340
MD5 71215586b745843db362f9302433a49b
BLAKE2b-256 56fc6cf381cddfe66cd06aef457bafdbe9bcd9fcffbec7a90da7a3205a51ed1b

See more details on using hashes here.

File details

Details for the file specklepy-3.2.8-py3-none-any.whl.

File metadata

  • Download URL: specklepy-3.2.8-py3-none-any.whl
  • Upload date:
  • Size: 157.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for specklepy-3.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bd77ee425c5b20455832161251d13343fb8302172bc8194e22f2c73a26df47b2
MD5 788a06fbefaa4af631adc4b1f402d19f
BLAKE2b-256 16cbea459b865542b5092a0baa68eda4241aec2a6d102b065282091b37e1d686

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page