This is a fork of LiveOSC that has been updated to work with Ableton Live 9.6 and 10.
In a macOS terminal session:
cd /Applications/Ableton*.app/Contents/App-Resources/MIDI\ Remote\ Scripts
git clone https://github.com/ideoforms/LiveOSC.git
Then in Ableton Live:
- open 
File > Preferences, - select 
Link / MIDI - set Control Surface 1 to 
LiveOSC 
The LiveOSC server will then start listening for commands.
See OSCAPI for the raw API.
For a simple Pythonic interface to interact with Live, use PyLive.
To receive logging messages, run the logging server with:
python2 ./LogServer.py