Skip to main content

The Python SDK for Speckle 2.0

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

Codecov

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

This version

3.0.1

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.0.1.tar.gz (201.8 kB view details)

Uploaded Source

Built Distribution

specklepy-3.0.1-py3-none-any.whl (110.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: specklepy-3.0.1.tar.gz
  • Upload date:
  • Size: 201.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.11

File hashes

Hashes for specklepy-3.0.1.tar.gz
Algorithm Hash digest
SHA256 a535e73cb378cf7dee35c60a45b48b2c4866d5216b9abcf0426d8223091d3a2e
MD5 c0776db2e14b1859af36df71a4161078
BLAKE2b-256 f4e192a88f3651271177200e1c222720c125d317eb95766dd3a68548f50d4ba5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: specklepy-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 110.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.11

File hashes

Hashes for specklepy-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91cd6a32c462db9969cc4872f67b97ae0c861bdb75b78aba9597ef67936aa675
MD5 dec448b2876fd048e41b395a0b2d4ad1
BLAKE2b-256 93c4fa934c65d6cb9351da126a2a2e738c57362da415b7acc10fe43f2aa17efa

See more details on using hashes here.

Supported by

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