NAV
python

QPython User Guide

01 - Getting started

Welcome to the QPython guide!

QPython is a Python programming engine on your Android device. It integrates an interpreter, console, editor and QSL4A library, and fully supports web development, scientific computing and AI expansion. Whether you are new to Python programming or an experienced developer, QPython can provide you with a powerful mobile programming workstation.

The main functions

  • Complete Python environment: built-in Python interpreter, write and execute code anytime, anywhere.
  • Feature-rich editor: QEditor allows you to easily develop Python projects on your mobile phone.
  • Jupyter Notebook support: Learn and run Notebook files through QNotebook browser.
  • Extension libraries and PIP: Easily install and manage third-party libraries to expand your programming capabilities.
  • Scan the QR code to run the code: The QRCode function makes sharing and running Python scripts easy and fast.
  • Free learning resources and community: Embedded quality courses to help you quickly improve your programming skills.

Core Highlights

  • Android features: Access Android device sensors and services through the QSL4A library to broaden application scenarios.
  • Web development: Supports popular frameworks such as Django and Flask to easily build web applications.
  • AI integration: supports OpenAI, Langchain, APIGPTCloud and other AI frameworks to explore the infinite possibilities of artificial intelligence.
  • Scientific computing: Numpy, Scipy, Scikit-learn, Matplotlib and other libraries help you solve complex scientific computing problems.
  • File processing: Pillow, OpenPyXL, Lxml and other libraries make data processing simple.

Learning Community

  • Join us on Facebook group: https://www.facebook.com/groups/qpython
  • Join us on Discord: https://discord.gg/hV2chuD
  • Join us on Slack: https://join.slack.com/t/qpython/shared_invite/zt-bsyw9868-nNJyJP_3IHABVtIk3BK5SA

Feedback and Support

If you have any questions, we are here to help. Please contact us via our official website, email or social media: - Official website: https://www.qpython.org - Email: [email protected] - Twitter: http://twitter.com/QPython

02 - QPYPI and 3rd Modules

Category Package Name Version Description
QPY Django 4.2.7 A high-level Python web framework
QPY Flask 3.0.0 A simple framework for building complex web applications
QPY MySQL Connector 2.2.9 A MySQL driver written in pure Python
QPY SQLAlchemy 2.0.23 The Database Toolkit for QPython
QPY OpenPyXL 3.1.2 A QPython library to read/write Excel 2010 xlsx/xlsm files
QPY Requests 2.31.0 Python HTTP for Humans
QPY Lxml 4.9.0 Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API
QPY Pillow 10.1.1 Python Imaging Library
QPY Aiohttp 3.8.13 Async http client/server framework (asyncio)
QPY BeautifulSoup 4.12.2 A library that makes it easy to scrape information from web pages
AIPY PGPTAI 1.0.1 All in one AIGC API package for Python
AIPY OpenAI 1.3.0 The official Python library for the openai API
AIPY Langchain 0.0.347 Building applications with LLMs through composability
AIPY Numpy 3.1.2 The fundamental package needed for scientific computing
AIPY Pandas 2.1.3 Powerful data structures for data analysis, time series, and statistics
AIPY Scipy 1.11.3 Fundamental algorithms for scientific computing in Python
AIPY Matplotlib 3.8.1 Python plotting package
AIPY OpenCV 4.0.62 Pre-built CPU-only OpenCV packages for Python
AIPY Scikit-learn 1.3.2 A Python module for machine learning built on top of SciPy
AIPY Sympy 1.12 Python library for symbolic computation

03 - QSL4A APIs

The Scripting Layer for Android (abridged as SL4A, and previously named Android Scripting Environment or ASE) is a library that allows the creation and running of scripts written in various scripting languages directly on Android devices. QPython start to extend the SL4A project and integrate it.

There are many SL4A APIs, if you found any issue, please report an issue <https://github.com/qpython-android/qpython/issues>_.

Read QSL4A's APIs >>