A Python client for Speckle servers.
A Python Speckle Client
Speckle: open digital infrastructure for designing, making and operating the built environment. We reimagine the design process from the Internet up: Speckle is an open source (MIT) initiative for developing an extensible Design & AEC data communication and collaboration platform.
PySpeckle can be installed through
pip install speckle
This code is WIP and as such should be used with caution, on non-sensitive projects.
PySpeckle is a light Python wrapper / interface for the Speckle framework. It can be used independently through Python scripts, or as a base for building various plug-ins, such as SpeckleBlender.
At the moment, it copies the same method names from the .NET
SpeckleApiClient, for consistency's sake. Although the functions are mostly labelled 'Async', they are not yet. This could eventually be implemented with
grequests or similar.
Here is how you initialise a client, authenticate and start speckling:
from speckle import SpeckleApiClient client = SpeckleApiClient('hestia.speckle.works') client.login( firstname.lastname@example.org', password='Speckle<3Python' ) stream_id = 'HjenwS2s' objects = client.streams.list_objects(stream_id) for object in objects: print(object.dict())
Usage documentation can be found here.
Commit formatting can be found here.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size speckle-2.0.1-py3-none-any.whl (21.7 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size speckle-2.0.1.tar.gz (27.1 kB)||File type Source||Python version None||Upload date||Hashes View hashes|