- tivars_lib_py Development Thread
- 23 Apr 2023 06:44:31 pm
- Last edited by kg583 on 23 Apr 2023 08:25:42 pm; edited 1 time in total
Near the end of December 2022, I found myself needing to generate lots of .8xl files. The go-to tool for this is tivars_lib_cpp, a C++ library written by Adriweb that can interface with most var types found on the 82/83/84 series. I've used it plenty before, and it is a demonstrably robust library, but C++ itself can be a bit... obtuse, especially for the uninitiated user.
Thus, I created tivars_lib_py, a sister library designed with the Pythonista in mind. The library thus far best aids scripting and quick creation or viewing of var files; tivars_lib_cpp remains the far superior choice for large backends like CEmu.
The project has been in steady development since January, and can currently support real/complex numbers, lists, matrices, programs/equations/strings, and window settings. GDBs are also nearing full support, with myself, Adriweb, and LogicalJoe collaborating on a common JSON format to more easily edit GDBs and share them between the two libraries. Indeed, we are working to keep the libraries as interoperable as possible, so that any decision to use one or the other comes down to preference and use case rather than a lack of functionality.
Of course, there's still some work to be done. A partial release will be pushed once GDBs are all done and dusted, followed by other small releases for pictures, images, exact types, and appvars. The first full release will have tivars_lib_py be in equal capability with its C++ sister. All of these releases will be pushed to GitHub, linked above. Progress on individual type implementations can be found here. It is worth noting, though, that any var file can be read and poked at just fine; you just might be missing type-specific helper methods and documentation until that type is marked as complete.
If you're interested in "live" discussion of this project and similar endeavors, you can join the TI-Toolkit Discord server. TI-Toolkit is a newly-formed organization of developers striving to make tools and documentation for TI calculators more accessible to the aspiring enthusiast. You can find our repositories on GitHub, tivars_lib_py among them; contributions are greatly encouraged!
Otherwise, you can check this thread for larger updates, including all major and minor releases. Suggestions for improving the library's functionality, usability, or really anything else are welcome here, on Discord, or in GitHub issues.
Thus, I created tivars_lib_py, a sister library designed with the Pythonista in mind. The library thus far best aids scripting and quick creation or viewing of var files; tivars_lib_cpp remains the far superior choice for large backends like CEmu.
The project has been in steady development since January, and can currently support real/complex numbers, lists, matrices, programs/equations/strings, and window settings. GDBs are also nearing full support, with myself, Adriweb, and LogicalJoe collaborating on a common JSON format to more easily edit GDBs and share them between the two libraries. Indeed, we are working to keep the libraries as interoperable as possible, so that any decision to use one or the other comes down to preference and use case rather than a lack of functionality.
Of course, there's still some work to be done. A partial release will be pushed once GDBs are all done and dusted, followed by other small releases for pictures, images, exact types, and appvars. The first full release will have tivars_lib_py be in equal capability with its C++ sister. All of these releases will be pushed to GitHub, linked above. Progress on individual type implementations can be found here. It is worth noting, though, that any var file can be read and poked at just fine; you just might be missing type-specific helper methods and documentation until that type is marked as complete.
If you're interested in "live" discussion of this project and similar endeavors, you can join the TI-Toolkit Discord server. TI-Toolkit is a newly-formed organization of developers striving to make tools and documentation for TI calculators more accessible to the aspiring enthusiast. You can find our repositories on GitHub, tivars_lib_py among them; contributions are greatly encouraged!
Otherwise, you can check this thread for larger updates, including all major and minor releases. Suggestions for improving the library's functionality, usability, or really anything else are welcome here, on Discord, or in GitHub issues.