TM1 File Tools - scratching an itch
January 27, 2023 · 2 min read
Over the years, I'd built up a number of scripts and hacks for carrying out various tasks. Having often worked in pretty locked down environments, my only recourse was often batch files, vb script or powershell. I don't enjoy working in any of those so as opportunities to use Python have increased, I started creating a common library for use on projects.
Autogenerate TM1py convenience functions for reading data
October 8, 2022 · 5 min read
I'm currently building a testing and validation framework using python for a very old and quirky TM1 model. TM1py provides all the functionality you need to pull data from a cell but I found myself writing wrappers for specific cubes to make this a bit easier. Rather than writing them all by hand, I hacked together this little script to autogenerate the code so I thought I'd share it in case someone else had a similar need.
There's no excuse not to be Prettier (or for bad spelling)
February 3, 2022 · 3 min read
There's no body shaming here but as a big proponent of code formatters and pre-commit hooks, I was a little shocked by the extent of the makeover Prettier gave my code (and I learned how to spell "curiosity")