2 ms·
The software they're running as part of this effort is really smart. https://github.com/data-apis/array-api-comparison https://github.com/data-apis/array-api-c
by simonw 6y ago
The software they're running as part of this effort is really smart.
https://github.com/data-apis/array-api-comparison https://github.com/data-apis/array-api-comparison is a bunch of tooling to help illustrate the differences between the different APIs.
https://github.com/data-apis/python-record-api https://github.com/data-apis/python-record-api is particularly interesting: it runs a GitHub Actions workflow that uses the Python sys.settrace mechanism to track all calls exercising those libraries and derive their type signatures, then generates type files and commits them BACK to the repository. So https://github.com/data-apis/python-record-api/tree/2259df2f876625abae7365931f203467906fd4ae/data/typing https://github.com/data-apis/python-record-api/tree/2259df2f... has a whole bunch of type information that's maintained by the bot.