The Python SDK for Speckle 2.0
Project description
Speckle | specklepy 🐍
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
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 python-poetry for dependency management, make sure you follow the official docs to get poetry.
To bootstrap the project environment run $ poetry install
. This will create a new virtual-env for the project and install both the package and dev dependencies.
If this is your first time using poetry and you're used to creating your venvs within the project directory, run poetry config virtualenvs.in-project true
to configure poetry to do the same.
To execute any python script run $ poetry run python my_script.py
Alternatively you may roll your own virtual-env with either venv, virtualenv, pyenv-virtualenv etc. Poetry 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
Built Distribution
File details
Details for the file specklepy-2.20.2.tar.gz
.
File metadata
- Download URL: specklepy-2.20.2.tar.gz
- Upload date:
- Size: 93.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.20 Linux/5.15.0-1057-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146e8ecbc0ba5f4ff45e9780afe4576b89ca7f973a3e6da87a47ad454148e0c4 |
|
MD5 | 5db8123aadc4c986ee989d582a00447f |
|
BLAKE2b-256 | d211461635d9b19ab6cf8c94ab51ca10a5cc1544e08ef643dda34c6137a3de05 |
File details
Details for the file specklepy-2.20.2-py3-none-any.whl
.
File metadata
- Download URL: specklepy-2.20.2-py3-none-any.whl
- Upload date:
- Size: 136.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.20 Linux/5.15.0-1057-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34e4b1b606583a54c7398a5f138ad392b592749e950a337979a7fb2f4e14a6d2 |
|
MD5 | d48b6945a47b4798c0b9aa372e755b0b |
|
BLAKE2b-256 | 8b1e292b53e6c7e53b0e402bf566cc1aeb55458d0af275e4d10c484e271b2fc9 |