<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=AIInterface%3APython</id>
	<title>AIInterface:Python - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=AIInterface%3APython"/>
	<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=AIInterface:Python&amp;action=history"/>
	<updated>2026-04-21T00:38:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=AIInterface:Python&amp;diff=2568&amp;oldid=prev</id>
		<title>Qrow: Created page with &quot;Important note: in current spring/master it is currently disabled because of an recently big merge (pureint), it will be fixed soon!  == Spring PyAI == The Spring PyAI Interface can be used to write a skirmish AI in Python. Look at the Development Page of Python if you want write an AI.  === Code === http://github.com/spring/Python  === Building ===  The Python Interface is in spring/master, just git clone it, run &quot;git submodule init&quot; and y...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=AIInterface:Python&amp;diff=2568&amp;oldid=prev"/>
		<updated>2026-03-04T02:00:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Important note: in current spring/master it is currently disabled because of an recently big merge (pureint), it will be fixed soon!  == Spring PyAI == The Spring PyAI Interface can be used to write a skirmish AI in Python. Look at the &lt;a href=&quot;/wiki/index.php?title=AI:Development:Lang:Python&quot; title=&quot;AI:Development:Lang:Python&quot;&gt;Development Page of Python&lt;/a&gt; if you want write an AI.  === Code === http://github.com/spring/Python  === Building ===  The Python Interface is in spring/master, just git clone it, run &amp;quot;git submodule init&amp;quot; and y...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Important note: in current spring/master it is currently disabled because of an recently big merge (pureint), it will be fixed soon!&lt;br /&gt;
&lt;br /&gt;
== Spring PyAI ==&lt;br /&gt;
The Spring PyAI Interface can be used to write a skirmish AI in Python.&lt;br /&gt;
Look at the [[AI:Development:Lang:Python|Development Page of Python]] if you want write an AI.&lt;br /&gt;
&lt;br /&gt;
=== Code ===&lt;br /&gt;
http://github.com/spring/Python&lt;br /&gt;
&lt;br /&gt;
=== Building ===&lt;br /&gt;
&lt;br /&gt;
The Python Interface is in spring/master, just git clone it, run &amp;quot;git submodule init&amp;quot; and you can compile/install it!&lt;br /&gt;
&lt;br /&gt;
==Known Issuses/TODO==&lt;br /&gt;
*rewrite for pureint&lt;br /&gt;
*make thread-safe http://docs.python.org/release/1.5.2/api/threads.html&lt;br /&gt;
*ai&amp;#039;s cant force a specific python version, add an setting into aiinfo.lua&lt;br /&gt;
*only one specific python version can be used, loading different ais using different python versions is currently impossible&lt;br /&gt;
*the init event can be replaced by a function / add release function&lt;br /&gt;
*there are no docs, look into interface.py if you search a function&lt;br /&gt;
*logging could be improved&lt;br /&gt;
&lt;br /&gt;
As a note: most of the Interface is generated by a python script.&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
Most functions and Datatypes should work. All classes and functions are generated and because of this, there is no further documentation available.&lt;br /&gt;
&lt;br /&gt;
At github you find the main repository for the Interface:&lt;br /&gt;
http://github.com/spring/Python&lt;br /&gt;
&lt;br /&gt;
Check the NullPythonAI for something to start with.&lt;br /&gt;
&lt;br /&gt;
[[Category:AIInterface]]&lt;/div&gt;</summary>
		<author><name>Qrow</name></author>
	</entry>
</feed>