Accessing qgis.core from the command line external to Python