python-starlark-go
python-starlark-go copied to clipboard
🐍 Python bindings for starlark-go 🐍
Bumps [wheel](https://github.com/pypa/wheel) from 0.40.0 to 0.43.0. Release notes Sourced from wheel's releases. 0.43.0 Dropped support for Python 3.7 Updated vendored packaging to 24.0 0.42.0 Allowed removing build tag with wheel...
Bumps [setuptools-golang](https://github.com/asottile/setuptools-golang) from 2.7.0 to 2.9.0. Commits 541d650 v2.9.0 c703343 Merge pull request #174 from asottile/windows-new-venv 59be4ea remove python 2 virtualenv remnants 8bcaef5 Merge pull request #173 from asottile/pre-commit-ci-update-config 40c87ac...
It'd be great to have `struct` datatype supported. The implementation is in `starlark-go` repo, but seems not enabled by default: https://github.com/google/starlark-go/tree/master/starlarkstruct Conversion to/from Python values can be done either by...
Extend the API to allow extra parameters to be passed to the `Starlark()` constructor that specify additional Starlark libraries to make available in the interpreter. ## starlib https://github.com/qri-io/starlib These look...
Building Windows wheels was blowing it because it couldn't find libpython to link against. Compilers on Windows are such a headache. Investigate why, and fix it.
Starlark code: ```starlark as_json = json.encode('{"key1": 1, "key2": 2}') print(as_json) ``` When you run this with starlark_go it works as expected. It prints: ```bash {"key1": 1, "key2": 2} ``` However,...
Great library, thanks so much for your work! I really appreciate e.g. how you've translated exceptions in a way that lets you easily access the line and column number of...
Implement an API similar to [re.compile](https://docs.python.org/3/library/re.html#re.compile) that allows compiling programs once and then repeatedly evaluating them against different inputs. Relevant Starlark docs: https://pkg.go.dev/go.starlark.net/starlark#Program
Reading about [Python and SLSA](https://sethmlarson.dev/python-and-slsa) piqued my interest. Would generating _[Supply chain Layers for Software Artifacts](https://slsa.dev/)_ be of value to this library? It seems like this could be as easy...