SlideShare ist ein Scribd-Unternehmen logo
1 von 18
V.S.PRIYA DHARSHINI
I M.SC(CS)
NADAR SARASWATHI COLLEGE OF ARTS&SCIENCE,THENI
DEPARTMENT OF COMPUTER SCIENCE&INFORMATION TECHNOLOGY
MOBILE APP DEVELOPMENT
USING PYTHON
Is Python suitable for mobile applications
 What makes Python so great is its comfort of use and readability and less development time.
This is what makes it ideal in the mobile market, where time to market is critical to gaining and
maintaining a share.
 Fundamentally, iOS and Android do not support interpreter-type languages. It means you can’t
run the Python app natively.This is why it was not common to create mobile apps for Python
earlier.
 However, things are different now with the emergence of several frameworks.There are a
variety of Python GUI frameworks to bridge the gap between making the Python app work
natively on mobile devices.
Why python?
o Faster Programming performance
o Test Driven Development
compatibility
o Variety of Libraries
o Strong Community
Android apps
 VOCs (backronym for “VestigialOutput
Compiler” or “Vexing Obtuse Compiler”) make
this possible.
 It is part of the BeeWare suite and allows you to
access Java native objects like Python,
implement Java interfaces in Python classes, and
subclass Java classes in Python classes. It will
enable you to write Android applications directly
to Android’s nativeAPI.
IOS apps
 The steps to build an application for iOS are a bit
more complicated than Android. Developers can
always use the official Kivy package
documentation for the latest information on iOS
development using Python.
 The process usually involves setting up a Python
environment, encoding your application with
Python/Kivy, and deploying it with Xcode.
Mobile application
that use python
 Instagram
 Pinterest
 Disqus
 Spotify
frameworks for app development
 Kivy
 Beeware
 Python for android
 PYJNius
 PYQt5
 Tkinter
 Falcon
 CherryPy
1.Kivy
EXAMPLE:
$ python3 -m venv my_kivy_project
$ source bin/activate
$ python -m pip install kivy
from kivy.app import App
from kivy.uix.button import Button
classTestApp(App):
def build(self):
return Button(text='HelloWorld')
Kivy employs an innovative UI like
a multi-touch app as an open-
source Python library for fast app
development. GPU acceleration,
cross-platform, and business.The
framework relies on various
Python libraries, including PIL,
GStreamer, and Cairo.
2.Beeware
EXAMPLE:
$ python3 -m venv .env
$ pip3 install briefcase
$ briefcase new
Formal Name [Hello World]: Pyython
App Name [Hello]:TestApp
Bundle Identifier [com.example]: com.thepepper.writeHello
Project Name [First Project]:
Author [Developer Name]: <Your Name>
Author's Email: <Your Email>
Application URL:
Select one of the following:
[1] Python
[2] PySide2
[3] NumPy
[4] None
GUI Framework [1]: 1
o BeeWare is used to develop and deploy
native applications in Python. It also
comes withToga, an OS native, Python
native, and cross-platformGUI toolkit.
o In addition, the BeeWare toolkit
contains Rubicon Java which is a library
for working with Java libraries using
Python code.The Briefcase is another
tool for packaging and shipping Python
projects to end-users as deliverables.
3.Python for andriod
 It is a tool for making Python work with Android. Its primary function is to create
a project folder that contains all the tools needed to launch the mobile app.
 This folder consists of various libraries such as Kivy, Pygame, and SDL.This
folder also includes the Java loader, an intermediary between Kivy and OS.You
can then add your scripts or use Android NDK to compile your application.
4.PYJNius
PyJNIus is a framework designed to provide the interaction between
Python and Android API. Practicing this API, developers can obtain
information from various parts of your mobile device, such as
vibration, pause, and restart. PYJNius
5.PYQt5
 The PyQt5 set is organized around the Qt framework, a cross-platform
framework for creating many applications for a variety of platforms.
 The PyQt5 package comprises a complete set of Python wrappers based on v5,
the latest version of the Qt application framework.
 Similar to the Qt5 framework, PyQt5 is fully cross-platform. By holding control
of PyQt5, developers can build applications forWindows, Mac, Linux, iOS,
Android, and other platforms.
6.TKinter
 Tkinter is often referred to as the preferred GUI toolkit by most Python developers.
It was created to provide modern developers with a standardTk GUI toolkit bound
to the Python interface.
 In the world ofTkinter, most of the visual elements we know are called widgets,
and each widget provides varying degrees of customization.
 Tkinter is embedded in the Python installer for all major current operating systems
and provides several common elements that we believe you are familiar with.
7.falcon
 Falcon, a high-performance and secure Python network framework, produces wide
application backends and microservices.The Falcon application runs on anyASGI or
WSGI server and runs on yPy version 3.5+ and CPython version 3.5+.
 Additionally, Falcon has an extensible codebase and is highly optimized. Falcon
provides intuitive routing, including REST-inspired resource classes and URI
templates. It also offers easy access to headers and bodies through request and
response classes.
 Falcon enables rapid unit testing via theWSGI helper. It also handles DRYrequest
processing via middleware components and hooks.
8.cherryPy
 The object-oriented web framework created in Python is CherryPy.You can create a
web app in the same way you make other object-oriented Python programs.This
tool can also run various HTTP servers at once.
 CherryPy is also known for its flexible plug-in system. In addition, tools such as
encoding, caching, authentication, static content, and sessions are built-in.
 CherryPy has built-in support for coverage, profiling, and testing. It works with
Python 2.7+, 3.5+, Android, PyPy, and Jython.
python app development
While Python is quite versatile, there are a few things developers must keep in mind while using it for
mobile app development.
 It has a dynamic coop to evaluate the expression.That means the interpreter searches for variables in
the current block and all functions.The problem is that each word must be validated in all possible
contexts.
 Lambda functions are limited in Python.They can only contain one statement at a time and need to
be written on a single line.That means, unlike regular functions, they cannot use explicit return
statements.
 Python practices an editor rather than a compiler. If the app has an error, it will only be revealed
during execution.Therefore, the speed decreases and various tests must be created.
Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

Linux field-update-2015
Linux field-update-2015Linux field-update-2015
Linux field-update-2015Chris Simmonds
 
Real World Applications of MQTT
Real World Applications of MQTTReal World Applications of MQTT
Real World Applications of MQTTManoj Gudi
 
Raspberry Pi Introduction
Raspberry Pi IntroductionRaspberry Pi Introduction
Raspberry Pi IntroductionMichal Sedlak
 
Developer Tutorial: WebAuthn for Web & FIDO2 for Android
Developer Tutorial: WebAuthn for Web & FIDO2 for AndroidDeveloper Tutorial: WebAuthn for Web & FIDO2 for Android
Developer Tutorial: WebAuthn for Web & FIDO2 for AndroidFIDO Alliance
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studioParinita03
 
MQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionMQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionPrem Sanil
 
SIngle Sign On with Keycloak
SIngle Sign On with KeycloakSIngle Sign On with Keycloak
SIngle Sign On with KeycloakJulien Pivotto
 
FIDO & PSD2: Solving the Strong Customer Authentication Challenge in Europe
FIDO & PSD2: Solving the Strong Customer Authentication Challenge in EuropeFIDO & PSD2: Solving the Strong Customer Authentication Challenge in Europe
FIDO & PSD2: Solving the Strong Customer Authentication Challenge in EuropeFIDO Alliance
 
Keycloak Single Sign-On
Keycloak Single Sign-OnKeycloak Single Sign-On
Keycloak Single Sign-OnRavi Yasas
 
Radius Protocol
Radius ProtocolRadius Protocol
Radius ProtocolNetwax Lab
 
なぜOpenID Connectが必要となったのか、その歴史的背景
なぜOpenID Connectが必要となったのか、その歴史的背景なぜOpenID Connectが必要となったのか、その歴史的背景
なぜOpenID Connectが必要となったのか、その歴史的背景Tatsuo Kudo
 
今更聞けない電子認証入門 -OAuth 2.0/OIDCからFIDOまで- <改定2版>
今更聞けない電子認証入門 -OAuth 2.0/OIDCからFIDOまで- <改定2版>今更聞けない電子認証入門 -OAuth 2.0/OIDCからFIDOまで- <改定2版>
今更聞けない電子認証入門 -OAuth 2.0/OIDCからFIDOまで- <改定2版>Naoto Miyachi
 
Ii 1500-publishing your android application
Ii 1500-publishing your android applicationIi 1500-publishing your android application
Ii 1500-publishing your android applicationAdrian Mikeliunas
 
An Introduction to OAuth2
An Introduction to OAuth2An Introduction to OAuth2
An Introduction to OAuth2Aaron Parecki
 
Eclipse introduction IDE PRESENTATION
Eclipse introduction IDE PRESENTATIONEclipse introduction IDE PRESENTATION
Eclipse introduction IDE PRESENTATIONAYESHA JAVED
 
Erc721 token & crypto kitties analysis
Erc721 token & crypto kitties analysisErc721 token & crypto kitties analysis
Erc721 token & crypto kitties analysisSoobok Jin
 
Embedded TCP/IP stack for FreeRTOS
Embedded TCP/IP stack for FreeRTOSEmbedded TCP/IP stack for FreeRTOS
Embedded TCP/IP stack for FreeRTOS艾鍗科技
 

Was ist angesagt? (20)

Linux field-update-2015
Linux field-update-2015Linux field-update-2015
Linux field-update-2015
 
Real World Applications of MQTT
Real World Applications of MQTTReal World Applications of MQTT
Real World Applications of MQTT
 
Raspberry Pi Introduction
Raspberry Pi IntroductionRaspberry Pi Introduction
Raspberry Pi Introduction
 
Developer Tutorial: WebAuthn for Web & FIDO2 for Android
Developer Tutorial: WebAuthn for Web & FIDO2 for AndroidDeveloper Tutorial: WebAuthn for Web & FIDO2 for Android
Developer Tutorial: WebAuthn for Web & FIDO2 for Android
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
MQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionMQTT IOT Protocol Introduction
MQTT IOT Protocol Introduction
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
SIngle Sign On with Keycloak
SIngle Sign On with KeycloakSIngle Sign On with Keycloak
SIngle Sign On with Keycloak
 
FIDO & PSD2: Solving the Strong Customer Authentication Challenge in Europe
FIDO & PSD2: Solving the Strong Customer Authentication Challenge in EuropeFIDO & PSD2: Solving the Strong Customer Authentication Challenge in Europe
FIDO & PSD2: Solving the Strong Customer Authentication Challenge in Europe
 
Keycloak Single Sign-On
Keycloak Single Sign-OnKeycloak Single Sign-On
Keycloak Single Sign-On
 
Radius Protocol
Radius ProtocolRadius Protocol
Radius Protocol
 
Gradle Introduction
Gradle IntroductionGradle Introduction
Gradle Introduction
 
なぜOpenID Connectが必要となったのか、その歴史的背景
なぜOpenID Connectが必要となったのか、その歴史的背景なぜOpenID Connectが必要となったのか、その歴史的背景
なぜOpenID Connectが必要となったのか、その歴史的背景
 
今更聞けない電子認証入門 -OAuth 2.0/OIDCからFIDOまで- <改定2版>
今更聞けない電子認証入門 -OAuth 2.0/OIDCからFIDOまで- <改定2版>今更聞けない電子認証入門 -OAuth 2.0/OIDCからFIDOまで- <改定2版>
今更聞けない電子認証入門 -OAuth 2.0/OIDCからFIDOまで- <改定2版>
 
Ii 1500-publishing your android application
Ii 1500-publishing your android applicationIi 1500-publishing your android application
Ii 1500-publishing your android application
 
An Introduction to OAuth2
An Introduction to OAuth2An Introduction to OAuth2
An Introduction to OAuth2
 
Eclipse introduction IDE PRESENTATION
Eclipse introduction IDE PRESENTATIONEclipse introduction IDE PRESENTATION
Eclipse introduction IDE PRESENTATION
 
Erc721 token & crypto kitties analysis
Erc721 token & crypto kitties analysisErc721 token & crypto kitties analysis
Erc721 token & crypto kitties analysis
 
Embedded TCP/IP stack for FreeRTOS
Embedded TCP/IP stack for FreeRTOSEmbedded TCP/IP stack for FreeRTOS
Embedded TCP/IP stack for FreeRTOS
 

Ähnlich wie MOBILE APP DEVELOPMENT USING PYTHON

How to Build Cross-Platform Mobile Apps Using Python
How to Build Cross-Platform Mobile Apps Using PythonHow to Build Cross-Platform Mobile Apps Using Python
How to Build Cross-Platform Mobile Apps Using PythonAndolasoft Inc
 
Capabilities Of Python App Development In 2022.pdf
Capabilities Of  Python App Development In 2022.pdfCapabilities Of  Python App Development In 2022.pdf
Capabilities Of Python App Development In 2022.pdfCerebrum Infotech
 
Developing Online Application with Kivy A Python Framework
Developing Online Application with Kivy A Python FrameworkDeveloping Online Application with Kivy A Python Framework
Developing Online Application with Kivy A Python Frameworkijtsrd
 
A complete guide to Python app development.pdf
A complete guide to Python app development.pdfA complete guide to Python app development.pdf
A complete guide to Python app development.pdfMoonTechnolabsPvtLtd
 
Type of apps that can be developed using python
Type of apps that can be developed using pythonType of apps that can be developed using python
Type of apps that can be developed using pythonSemidot Infotech
 
A Comprehensive Guide to App Development with Python - AppsDevPro
A Comprehensive Guide to App Development with Python - AppsDevProA Comprehensive Guide to App Development with Python - AppsDevPro
A Comprehensive Guide to App Development with Python - AppsDevProSofiaCarter4
 
Fantasy cricket game using python(intershala project)
Fantasy cricket game using python(intershala project)Fantasy cricket game using python(intershala project)
Fantasy cricket game using python(intershala project)Rr
 
python programming.pptx
python programming.pptxpython programming.pptx
python programming.pptxKaviya452563
 
Attend Free Demo On 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐏𝐲𝐭𝐡𝐨𝐧
Attend Free Demo On 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐏𝐲𝐭𝐡𝐨𝐧Attend Free Demo On 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐏𝐲𝐭𝐡𝐨𝐧
Attend Free Demo On 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐏𝐲𝐭𝐡𝐨𝐧manoharjgpsolutions
 
8 Python Tools That Empower Android App Development.pptx
8 Python Tools That Empower Android App Development.pptx8 Python Tools That Empower Android App Development.pptx
8 Python Tools That Empower Android App Development.pptxOliviaManek
 
Build Real-World Mobile Applications With Python App Development Services Com...
Build Real-World Mobile Applications With Python App Development Services Com...Build Real-World Mobile Applications With Python App Development Services Com...
Build Real-World Mobile Applications With Python App Development Services Com...Cerebrum Infotech
 
Why Your Business Should Leverage Python App Development in 2023.pptx
Why Your Business Should Leverage Python App Development in 2023.pptxWhy Your Business Should Leverage Python App Development in 2023.pptx
Why Your Business Should Leverage Python App Development in 2023.pptxOnGraph Technologies Pvt. Ltd.
 
The Best Python IDEs and Code Editors.pdf
The Best Python IDEs and Code Editors.pdfThe Best Python IDEs and Code Editors.pdf
The Best Python IDEs and Code Editors.pdfAppdeveloper10
 
Python App Development_ 7 Things to Keep in Mind.pdf
Python App Development_ 7 Things to Keep in Mind.pdfPython App Development_ 7 Things to Keep in Mind.pdf
Python App Development_ 7 Things to Keep in Mind.pdfBoTree Technologies
 
Types of Applications That Can Be Built Using The Python App Development Fram...
Types of Applications That Can Be Built Using The Python App Development Fram...Types of Applications That Can Be Built Using The Python App Development Fram...
Types of Applications That Can Be Built Using The Python App Development Fram...Moon Technolabs Pvt. Ltd.
 
Python Course in Delhi.pdf
Python Course in Delhi.pdfPython Course in Delhi.pdf
Python Course in Delhi.pdftarun
 

Ähnlich wie MOBILE APP DEVELOPMENT USING PYTHON (20)

How to Build Cross-Platform Mobile Apps Using Python
How to Build Cross-Platform Mobile Apps Using PythonHow to Build Cross-Platform Mobile Apps Using Python
How to Build Cross-Platform Mobile Apps Using Python
 
Capabilities Of Python App Development In 2022.pdf
Capabilities Of  Python App Development In 2022.pdfCapabilities Of  Python App Development In 2022.pdf
Capabilities Of Python App Development In 2022.pdf
 
Developing Online Application with Kivy A Python Framework
Developing Online Application with Kivy A Python FrameworkDeveloping Online Application with Kivy A Python Framework
Developing Online Application with Kivy A Python Framework
 
A complete guide to Python app development.pdf
A complete guide to Python app development.pdfA complete guide to Python app development.pdf
A complete guide to Python app development.pdf
 
Type of apps that can be developed using python
Type of apps that can be developed using pythonType of apps that can be developed using python
Type of apps that can be developed using python
 
A Comprehensive Guide to App Development with Python - AppsDevPro
A Comprehensive Guide to App Development with Python - AppsDevProA Comprehensive Guide to App Development with Python - AppsDevPro
A Comprehensive Guide to App Development with Python - AppsDevPro
 
Fantasy cricket game using python(intershala project)
Fantasy cricket game using python(intershala project)Fantasy cricket game using python(intershala project)
Fantasy cricket game using python(intershala project)
 
python programming.pptx
python programming.pptxpython programming.pptx
python programming.pptx
 
Attend Free Demo On 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐏𝐲𝐭𝐡𝐨𝐧
Attend Free Demo On 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐏𝐲𝐭𝐡𝐨𝐧Attend Free Demo On 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐏𝐲𝐭𝐡𝐨𝐧
Attend Free Demo On 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐏𝐲𝐭𝐡𝐨𝐧
 
8 Python Tools That Empower Android App Development.pptx
8 Python Tools That Empower Android App Development.pptx8 Python Tools That Empower Android App Development.pptx
8 Python Tools That Empower Android App Development.pptx
 
What Can You Build In Python.pdf
What Can You Build In Python.pdfWhat Can You Build In Python.pdf
What Can You Build In Python.pdf
 
Build Real-World Mobile Applications With Python App Development Services Com...
Build Real-World Mobile Applications With Python App Development Services Com...Build Real-World Mobile Applications With Python App Development Services Com...
Build Real-World Mobile Applications With Python App Development Services Com...
 
Why Your Business Should Leverage Python App Development in 2023.pptx
Why Your Business Should Leverage Python App Development in 2023.pptxWhy Your Business Should Leverage Python App Development in 2023.pptx
Why Your Business Should Leverage Python App Development in 2023.pptx
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 
Kivy report
Kivy reportKivy report
Kivy report
 
The Best Python IDEs and Code Editors.pdf
The Best Python IDEs and Code Editors.pdfThe Best Python IDEs and Code Editors.pdf
The Best Python IDEs and Code Editors.pdf
 
Summer Training Project.pdf
Summer Training Project.pdfSummer Training Project.pdf
Summer Training Project.pdf
 
Python App Development_ 7 Things to Keep in Mind.pdf
Python App Development_ 7 Things to Keep in Mind.pdfPython App Development_ 7 Things to Keep in Mind.pdf
Python App Development_ 7 Things to Keep in Mind.pdf
 
Types of Applications That Can Be Built Using The Python App Development Fram...
Types of Applications That Can Be Built Using The Python App Development Fram...Types of Applications That Can Be Built Using The Python App Development Fram...
Types of Applications That Can Be Built Using The Python App Development Fram...
 
Python Course in Delhi.pdf
Python Course in Delhi.pdfPython Course in Delhi.pdf
Python Course in Delhi.pdf
 

Mehr von PriyadharshiniVS

R Ramya devi digital image processing
R  Ramya devi digital image processingR  Ramya devi digital image processing
R Ramya devi digital image processingPriyadharshiniVS
 
R ramya devi cloud computing
R ramya devi cloud computingR ramya devi cloud computing
R ramya devi cloud computingPriyadharshiniVS
 
Ramya devi R women empowerment
Ramya devi R women empowermentRamya devi R women empowerment
Ramya devi R women empowermentPriyadharshiniVS
 
R Ramya devi artificial intelligence and machine learning
R Ramya devi  artificial intelligence and machine learningR Ramya devi  artificial intelligence and machine learning
R Ramya devi artificial intelligence and machine learningPriyadharshiniVS
 
Ramya devi R internet of things
Ramya devi R internet of thingsRamya devi R internet of things
Ramya devi R internet of thingsPriyadharshiniVS
 
PriyaDharshini distributed operating system
PriyaDharshini distributed operating systemPriyaDharshini distributed operating system
PriyaDharshini distributed operating systemPriyadharshiniVS
 
Vanmathy distributed operating system
Vanmathy distributed operating system Vanmathy distributed operating system
Vanmathy distributed operating system PriyadharshiniVS
 
vanmathy cryptography network security
vanmathy cryptography network securityvanmathy cryptography network security
vanmathy cryptography network securityPriyadharshiniVS
 
vanmathy cryptography network security
vanmathy cryptography network security vanmathy cryptography network security
vanmathy cryptography network security PriyadharshiniVS
 
Vanmathy distributed operating system
Vanmathy distributed operating system Vanmathy distributed operating system
Vanmathy distributed operating system PriyadharshiniVS
 
Cryptography and network security
Cryptography and network securityCryptography and network security
Cryptography and network securityPriyadharshiniVS
 
Graph, graph and network modeling, advantage of graph database
Graph, graph and network modeling, advantage of graph databaseGraph, graph and network modeling, advantage of graph database
Graph, graph and network modeling, advantage of graph databasePriyadharshiniVS
 

Mehr von PriyadharshiniVS (20)

R Ramya devi digital image processing
R  Ramya devi digital image processingR  Ramya devi digital image processing
R Ramya devi digital image processing
 
R ramya devi cloud computing
R ramya devi cloud computingR ramya devi cloud computing
R ramya devi cloud computing
 
Ramya devi R women empowerment
Ramya devi R women empowermentRamya devi R women empowerment
Ramya devi R women empowerment
 
R Ramya devi artificial intelligence and machine learning
R Ramya devi  artificial intelligence and machine learningR Ramya devi  artificial intelligence and machine learning
R Ramya devi artificial intelligence and machine learning
 
Ramya devi R internet of things
Ramya devi R internet of thingsRamya devi R internet of things
Ramya devi R internet of things
 
vs.pptx
vs.pptxvs.pptx
vs.pptx
 
WE.pptx
WE.pptxWE.pptx
WE.pptx
 
IOT.pptx
IOT.pptxIOT.pptx
IOT.pptx
 
cc.pptx
cc.pptxcc.pptx
cc.pptx
 
Vanmathy python
Vanmathy python Vanmathy python
Vanmathy python
 
PriyaDharshini distributed operating system
PriyaDharshini distributed operating systemPriyaDharshini distributed operating system
PriyaDharshini distributed operating system
 
Vanmathy distributed operating system
Vanmathy distributed operating system Vanmathy distributed operating system
Vanmathy distributed operating system
 
vanmathy cryptography network security
vanmathy cryptography network securityvanmathy cryptography network security
vanmathy cryptography network security
 
vanmathy cryptography network security
vanmathy cryptography network security vanmathy cryptography network security
vanmathy cryptography network security
 
Vanmathy distributed operating system
Vanmathy distributed operating system Vanmathy distributed operating system
Vanmathy distributed operating system
 
Vanmathy no sql
Vanmathy no sql Vanmathy no sql
Vanmathy no sql
 
Cryptography and network security
Cryptography and network securityCryptography and network security
Cryptography and network security
 
No sql
No sql No sql
No sql
 
Graph, graph and network modeling, advantage of graph database
Graph, graph and network modeling, advantage of graph databaseGraph, graph and network modeling, advantage of graph database
Graph, graph and network modeling, advantage of graph database
 
Compiler design
Compiler designCompiler design
Compiler design
 

Kürzlich hochgeladen

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 

Kürzlich hochgeladen (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

MOBILE APP DEVELOPMENT USING PYTHON

  • 1. V.S.PRIYA DHARSHINI I M.SC(CS) NADAR SARASWATHI COLLEGE OF ARTS&SCIENCE,THENI DEPARTMENT OF COMPUTER SCIENCE&INFORMATION TECHNOLOGY
  • 3. Is Python suitable for mobile applications  What makes Python so great is its comfort of use and readability and less development time. This is what makes it ideal in the mobile market, where time to market is critical to gaining and maintaining a share.  Fundamentally, iOS and Android do not support interpreter-type languages. It means you can’t run the Python app natively.This is why it was not common to create mobile apps for Python earlier.  However, things are different now with the emergence of several frameworks.There are a variety of Python GUI frameworks to bridge the gap between making the Python app work natively on mobile devices.
  • 4. Why python? o Faster Programming performance o Test Driven Development compatibility o Variety of Libraries o Strong Community
  • 5. Android apps  VOCs (backronym for “VestigialOutput Compiler” or “Vexing Obtuse Compiler”) make this possible.  It is part of the BeeWare suite and allows you to access Java native objects like Python, implement Java interfaces in Python classes, and subclass Java classes in Python classes. It will enable you to write Android applications directly to Android’s nativeAPI. IOS apps  The steps to build an application for iOS are a bit more complicated than Android. Developers can always use the official Kivy package documentation for the latest information on iOS development using Python.  The process usually involves setting up a Python environment, encoding your application with Python/Kivy, and deploying it with Xcode.
  • 6.
  • 7. Mobile application that use python  Instagram  Pinterest  Disqus  Spotify
  • 8. frameworks for app development  Kivy  Beeware  Python for android  PYJNius  PYQt5  Tkinter  Falcon  CherryPy
  • 9. 1.Kivy EXAMPLE: $ python3 -m venv my_kivy_project $ source bin/activate $ python -m pip install kivy from kivy.app import App from kivy.uix.button import Button classTestApp(App): def build(self): return Button(text='HelloWorld') Kivy employs an innovative UI like a multi-touch app as an open- source Python library for fast app development. GPU acceleration, cross-platform, and business.The framework relies on various Python libraries, including PIL, GStreamer, and Cairo.
  • 10. 2.Beeware EXAMPLE: $ python3 -m venv .env $ pip3 install briefcase $ briefcase new Formal Name [Hello World]: Pyython App Name [Hello]:TestApp Bundle Identifier [com.example]: com.thepepper.writeHello Project Name [First Project]: Author [Developer Name]: <Your Name> Author's Email: <Your Email> Application URL: Select one of the following: [1] Python [2] PySide2 [3] NumPy [4] None GUI Framework [1]: 1 o BeeWare is used to develop and deploy native applications in Python. It also comes withToga, an OS native, Python native, and cross-platformGUI toolkit. o In addition, the BeeWare toolkit contains Rubicon Java which is a library for working with Java libraries using Python code.The Briefcase is another tool for packaging and shipping Python projects to end-users as deliverables.
  • 11. 3.Python for andriod  It is a tool for making Python work with Android. Its primary function is to create a project folder that contains all the tools needed to launch the mobile app.  This folder consists of various libraries such as Kivy, Pygame, and SDL.This folder also includes the Java loader, an intermediary between Kivy and OS.You can then add your scripts or use Android NDK to compile your application.
  • 12. 4.PYJNius PyJNIus is a framework designed to provide the interaction between Python and Android API. Practicing this API, developers can obtain information from various parts of your mobile device, such as vibration, pause, and restart. PYJNius
  • 13. 5.PYQt5  The PyQt5 set is organized around the Qt framework, a cross-platform framework for creating many applications for a variety of platforms.  The PyQt5 package comprises a complete set of Python wrappers based on v5, the latest version of the Qt application framework.  Similar to the Qt5 framework, PyQt5 is fully cross-platform. By holding control of PyQt5, developers can build applications forWindows, Mac, Linux, iOS, Android, and other platforms.
  • 14. 6.TKinter  Tkinter is often referred to as the preferred GUI toolkit by most Python developers. It was created to provide modern developers with a standardTk GUI toolkit bound to the Python interface.  In the world ofTkinter, most of the visual elements we know are called widgets, and each widget provides varying degrees of customization.  Tkinter is embedded in the Python installer for all major current operating systems and provides several common elements that we believe you are familiar with.
  • 15. 7.falcon  Falcon, a high-performance and secure Python network framework, produces wide application backends and microservices.The Falcon application runs on anyASGI or WSGI server and runs on yPy version 3.5+ and CPython version 3.5+.  Additionally, Falcon has an extensible codebase and is highly optimized. Falcon provides intuitive routing, including REST-inspired resource classes and URI templates. It also offers easy access to headers and bodies through request and response classes.  Falcon enables rapid unit testing via theWSGI helper. It also handles DRYrequest processing via middleware components and hooks.
  • 16. 8.cherryPy  The object-oriented web framework created in Python is CherryPy.You can create a web app in the same way you make other object-oriented Python programs.This tool can also run various HTTP servers at once.  CherryPy is also known for its flexible plug-in system. In addition, tools such as encoding, caching, authentication, static content, and sessions are built-in.  CherryPy has built-in support for coverage, profiling, and testing. It works with Python 2.7+, 3.5+, Android, PyPy, and Jython.
  • 17. python app development While Python is quite versatile, there are a few things developers must keep in mind while using it for mobile app development.  It has a dynamic coop to evaluate the expression.That means the interpreter searches for variables in the current block and all functions.The problem is that each word must be validated in all possible contexts.  Lambda functions are limited in Python.They can only contain one statement at a time and need to be written on a single line.That means, unlike regular functions, they cannot use explicit return statements.  Python practices an editor rather than a compiler. If the app has an error, it will only be revealed during execution.Therefore, the speed decreases and various tests must be created.