Screeps allows you to write code in different languages (including Python) by installing libraries from GitHub. Here you can find all third party tools what you can use in your development process (languages support, not official API and other), and here a complete guide for Python usage.