Editing Harmattan Python

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
#REDIRECT [[Python/Harmattan]]
+
== Introduction  ==
 +
 
 +
The Harmattan Python project provides a Python runtime environment for Nokia's N9 phone and the N950 developer device built on the MeeGo 1.2 Harmattan platform. It provides a full-featured set of packages and tools to rapidly develop and run Python applications using the PySide: Python for Qt bindings together with the Qt Quick UI definition language. Applications can be deployed as individual Debian packages, using the community OBS, or eventually, via Ovi Store.
 +
 
 +
== Getting started  ==
 +
 
 +
The following links provide useful information for '''Python developers''', including information about MeeGo 1.2 Harmattan Security Framework.
 +
 
 +
*[[Getting started with Harmattan Python]]
 +
*[[Documentation for pyside-assistant]]
 +
*[http://temporaryland.wordpress.com/2011/01/26/python-for-newbies/ Python Tutorial for Newbies]
 +
*[http://developer.qt.nokia.com/wiki/PySide_Internationalization Tutorial: Python+Qt+I18N]
 +
*[http://developer.qt.nokia.com/wiki/PySide_DBus_Integration Tutorial: Python+Qt+DBUS]
 +
*[[Python 2.6 porting tips]]
 +
*[http://wiki.maemo.org/Performance_Considerations_for_Python_Apps Python and Performance]
 +
 
 +
If you are interested just in installing applications that depend on Python you can get a lot of them using the repositories listed here. All depending packages will be automatically installed.
 +
 
 +
* [http://www.ovi.nokia.com Ovi Store];
 +
* [http://wiki.meego.com/MeeGo_Apps MeeGo Apps];
 +
* [http://apps-beta.meego.com/applications/ MeeGo Apps - Beta];
 +
 
 +
== API Bindings  ==
 +
 
 +
The Harmattan Python project tries to cover as many APIs as possible. Nowadays there are bindings for the ''green'' marked modules:
 +
 
 +
{| class="wikitable"
 +
! API name
 +
! Framework
 +
! Belongs to
 +
! Python Bindings
 +
|-
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/qt-components/qt-components.html Qt Quick components]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Application_Frameworks.html Application]
 +
| Qt
 +
| style="background-color:#FFC709" | NO (this is used on QML side)
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtDeclarative/index.html QtDeclarative (Qt Quick)]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Application_Frameworks.html Application]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtGui/index.html QtGui]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Application_Frameworks.html Application]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtUiTools/index.html QtUiTools]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Application_Frameworks.html Application]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| QtDBus
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Communications.html Communications]
 +
| Qt
 +
| style="background-color:#FFC709" | NO (use [http://dbus.freedesktop.org/doc/dbus-python/api/index.html python-dbus])
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/Messaging/index.html QtMessaging]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Communications.html Communications]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtNetwork/index.html QtNetwork]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Communications.html Communications]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtWebKit/index.html WebKit in Qt]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Communications.html Communications]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| EGL
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Graphics.html Graphics ]
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| OpenGL® ES 1.1
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Graphics.html Graphics ]
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| OpenGL® ES 2.0
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Graphics.html Graphics ]
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtOpenGL/index.html QtOpenGL]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Graphics.html Graphics ]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/Location/index.html QtLocation]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Location.html Location]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://pygstdocs.berlios.de/#documentation GStreamer]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Multimedia.html Multimedia]
 +
| -
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| PulseAudio
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Multimedia.html Multimedia]
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/MultimediaKit/index.html QtMultimediaKit]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Multimedia.html Multimedia]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| Accounts-Qt
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Personal_Information_Management.html Personal Information Management]
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| SignOn
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Personal_Information_Management.html Personal Information Management]
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/Contacts/index.html QtContacts]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Personal_Information_Management.html Personal Information Management]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/Gallery/index.html QtGallery]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Personal_Information_Management.html Personal Information Management]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/Organizer/index.html QtOrganizer]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Personal_Information_Management.html Personal Information Management]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/Versit/index.html QtVersit]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/Personal_Information_Management.html Personal Information Management]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| EGLIBC
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| QmSystem
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtCore/index.html QtCore]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/Feedback/index.html QtFeedback]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/PublishSubscribe/index.html QtPublishSubscribe]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtScript/index.html QtScript]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtScriptTools/index.html QtScriptTools]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/Sensors/index.html QtSensors]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/ServiceFramework/index.html QtServiceFramework]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt Mobility
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/qtsparql/ QtSparql]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| -
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtSql/index.html QtSql]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside-mobility/QtMobility/SystemInfo/index.html QtSystemInfo]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtTest/index.html QtTest]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtXml/index.html QtXml]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://www.pyside.org/docs/pyside/PySide/QtXmlPatterns/index.html QtXmlPatterns]
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/categories/System.html System]
 +
| Qt
 +
| style="background-color:#53B77C" | YES
 +
|-
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/libinappanalytics/main.html Ovi Nokia Analytics API]
 +
| Nokia
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/notification-engine/index.html Ovi Notification Engine]
 +
| Nokia
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/libqtgameopengles2/main.html Qt Games API]
 +
| Nokia
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/libresourceqt/main.html Resource Policy]
 +
| Nokia
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|-
 +
| [http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/transfer-ui/main.html Transfer UI]
 +
| Nokia
 +
| -
 +
| style="background-color:#EB6155" | NO
 +
|}
 +
 
 +
 
 +
 
 +
In addition to the listed APIs above (provided by ''python-dbus'', ''python-pyside'', ''python-qtmobility'', ''python-qtsparql'') there are lots of packages:
 +
 
 +
<nowiki>
 +
python-cairo          python-chardet    python-conic          python-content.action
 +
python-context        python-crypto    python-dateutil      python-gconf
 +
python-gi            python-gobject    python-imaging        python-libxml2
 +
python-lxml          python-magic      python-markupsafe    python-openssl 
 +
python-pkg-resources  python-pycurl    python-pygments      python-roman   
 +
python-storm          python-tralchemy  python-twisted-web    python-twisted-words
 +
python-xdg            python-numpy      python-beautifulsoup  python-feedparser
 +
</nowiki>
 +
 
 +
== Collaborating ==
 +
 
 +
You can contact us using:
 +
 
 +
* '''IRC:''' <code>/join '''#meego-python'''</code> on <code>irc.freenode.net</code>
 +
* '''Mailing list:''' meego-python@lists.meego.com ([http://lists.meego.com/listinfo/meego-python Info page], [http://lists.meego.com/pipermail/meego-python/ Archives])
 +
 
 +
Nokia contact person: Matti Airas <matti.p.airas@nokia.com>
 +
 
 +
== Relevant Projects ==
 +
 
 +
*[http://wiki.maemo.org/PyMaemo PyMaemo]
 +
*[http://www.pyside.org/ PySide]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)