Check out the Robot Framework User Guide for more information.
Creating Python Keywords and Libraries
Talk Creating Libraries - Why and How from RoboCon 2021
Releasing your own Library
Talk “For the very first time” - Start to Code, Test, Package & Publish your first Library from RoboCon 2022
Using Poetry to manage your dependencies and publishing
Talk Project and package management: Poetry for robots from RoboCon 2022