Devlog #4: The Name Change & The PyPI “Wall”
Date: April 8, 2026
Status: 0.1.7 is finally live (and I am exhausted).
📝Today (AHHHHH)
If you looked at my commit history today, you’d see a beautiful new feature and a clean project name. What you don’t see is the absolute war I waged against the PyPI servers.
So today i added it to the PYPI liabry! (try it yourself: pip install servotest, then run servotest)
- Coding Time: 60 minutes of code
- Fixing PyPI/GitHub Actions:** 1 hour+ (of absolute chaos).
I officially renamed the project from servo_tester to the much cleaner servotest.
Pro-tip: Renaming a project mid-build is like trying to change a tire while the car is moving. I hit every error from 0 to 404, because my local dist/ folder was haunted by the ghost of the old name or pypi just hates me.
New Feature: The “Dual-Core” Startup
While I wasn’t fighting with YAML, I actually made the tool much smarter. I’ve implemented a more professional Mode Selection and Port Searching logic.
-
Choose Your Adventure: Test vs. Real
I’ve moved away from hardcoding “TEST” in the script. Now, when you launchservotest, the CLI gives you a choice:
*Real Mode: The script scans your system usingpyserial’stools.list_ports. It looks for the Waveshare driver signature and tries to handshake with the STS3215 servos.
*Test Mode: No hardware? No problem. It spins up a Virtual Servo inside the terminal. This allows for logic testing, packet verification, and UI layout checks even if the postman is still a few days away with the actual servos. -
Intelligent Port Searching
Instead of guessing if the board is onCOM3orCOM7, the script now lists available serial devices and asks for confirmation if it’s unsure. It’s way more robust than the “pray it connects” method I had last week.
📦 The “Fresh Start” Release
I’ve officially nuked the old API tokens and moved to Trusted Publishing. No more secret keys; GitHub and PyPI now just “trust” each other via OIDC.
This is probaly my last devlog for this project, now to the robot arm!
Log in to leave a comment