0.3.6
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
* Update Python version and clean up dependencies - Bumped required Python version from 3.12 to 3.13. - Removed the lock file for dependency management. - Cleaned up unnecessary dependency groups in the configuration. * Refine rule number processing and type conversion - Updated rule number handling to preserve original identifiers. - Improved logic for generating missing rule numbers. - Changed duplicate handling to keep original values intact. - Adjusted column type conversion to replace NaN with empty strings. * Refactor message handling in rule processor - Introduced a new function to format rule messages. - Replaced direct access to the message with the new formatting function. - Cleaned up metadata creation for better readability. * Enhance metadata generation with JSON validation - Added JSON serialisability check for generated metadata - Included error handling to log issues during creation - Updated docstring to clarify function purpose and arguments
Public Function: Checker
Validate Speckle objects against configurable rules using spreadsheet definitions.
Usage
- Access the template Google Sheet [link needed]
- Make a copy to your Google Drive using File > Make a copy
- Define your rules in your sheet
- Click "Speckle" menu > "Publish Rules" to get your TSV URL
- Create an Automation in Speckle Automate using the Checker function
- Paste your TSV URL into the function configuration
- Run your automation
Rule Types
- Property existence
- Value matching
- Numeric comparisons
- Range checks
- List membership
- Pattern matching
- Boolean checks
Severity Levels
- WARNING: Issues that should be reviewed
- ERROR: Critical issues requiring attention
Example Rules
[Screenshot or example table to be added]
Support
For issues or questions, please open a GitHub issue.
Description
Languages
Python
97.5%
Dockerfile
1.4%
Shell
1.1%