G Node Factory#

pre-commit Black

The GNodeFactory is a foundational actor in GridWorks. Please go to Gridworks Docs to read more, and go to The Millinocket Tutorial for a dev use-case of this repo.

This repo has been developed through the generous funding of a grant provided by the Algorand Foundation.

Testing#

pytest -v

Code derivation tools#

The primary derivation tool used for this is ssot.me, developed by EJ Alexandra of An Abstract Level LLC. All of the xslt code in CodeGeneration uses this tool.

The ssotme cli and its upstream ssotme service pull data from our private airtable down into an odxml file and a json file, and then references local .xslt scripts in order to derive code. The .xslt allows for two toggles - one where files are always overwritten, and one where the derivation tools will leave files alone once any hand-written code is added. Mostly that toggle is set to always overwrite since we are working with immutable schemata. Note that the ssotme cli requires an internet connection to work, since it needs to access the upstream ssotme service.

If you want to add enums or schema, you will need access to the ssotme cli and the airtable. Contact Jessica for this.

Credits#

This project was generated from @cjolowicz’s Hypermodern Python Cookiecutter template.