0% found this document useful (0 votes)
219 views7 pages

05 QPython Built-In Libraries

QPython includes many Python standard libraries that allow access to common functionality. It also includes dynamically loaded libraries for core Python operations. Third party libraries like BeautifulSoup are included as well. The Androidhelper module provides a simplified interface for accessing Android APIs from within Python scripts.

Uploaded by

Jack Ahm Peace
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
219 views7 pages

05 QPython Built-In Libraries

QPython includes many Python standard libraries that allow access to common functionality. It also includes dynamically loaded libraries for core Python operations. Third party libraries like BeautifulSoup are included as well. The Androidhelper module provides a simplified interface for accessing Android APIs from within Python scripts.

Uploaded by

Jack Ahm Peace
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

QPython built-in Libraries¶

qpython.org/en/guide_libraries.html

QPython is using the Python 2.7.2 and it support most Python stardard libraries. And you
could see their documentation through Python documentation.

QPython dynload libraries¶


Just like Python, QPython contains python built-in .so libraries.

Usually, you don’t need to import them manually, they were used in stardard libraries,
and could be imported automatically.

_codecs_cn.so
_codecs_hk.so
_codecs_iso2022.so
_codecs_jp.so
_codecs_kr.so
_codecs_tw.so
_csv.so
_ctypes.so
_ctypes_test.so
_hashlib.so
_heapq.so
_hotshot.so
_io.so
_json.so
_lsprof.so
_multibytecodec.so
_sqlite3.so
_ssl.so
_testcapi.so
audioop.so
future_builtins.so
grp.so
mmap.so
resource.so
syslog.so
termios.so
unicodedata.so

QPython stardard libraries¶


The following libraries are the stardard QPython libraries which are the same as Python:

1/7
BaseHTTPServer.py
binhex.py
fnmatch.py
mhlib.py
quopri.py
sysconfig.py
Bastion.py
bisect.py
formatter.py
mimetools.py
random.py
tabnanny.py
CGIHTTPServer.py
bsddb
fpformat.py
mimetypes.py
re.py
tarfile.py
ConfigParser.py
cProfile.py
fractions.py
mimify.py
repr.py
telnetlib.py
Cookie.py
calendar.py
ftplib.py
modulefinder.py
rexec.py
tempfile.py
DocXMLRPCServer.py
cgi.py
functools.py
multifile.py
rfc822.py
textwrap.py
HTMLParser.py
cgitb.py
genericpath.py
mutex.py
rlcompleter.py
this.py
chunk.py
getopt.py
netrc.py

2/7
robotparser.py
threading.py
MimeWriter.py
cmd.py
getpass.py
new.py
runpy.py
timeit.py
Queue.py
code.py
gettext.py
nntplib.py
sched.py
toaiff.py
SimpleHTTPServer.py
codecs.py
glob.py
ntpath.py
sets.py
token.py
SimpleXMLRPCServer.py
codeop.py
gzip.py
nturl2path.py
sgmllib.py
tokenize.py
SocketServer.py
collections.py
hashlib.py
numbers.py
sha.py
trace.py
StringIO.py
colorsys.py
heapq.py
opcode.py
shelve.py
traceback.py
UserDict.py
commands.py
hmac.py
optparse.py
shlex.py
tty.py
UserList.py

3/7
compileall.py
hotshot
os.py
shutil.py
types.py
UserString.py
compiler
htmlentitydefs.py
os2emxpath.py
site.py
unittest
_LWPCookieJar.py
config
htmllib.py
smtpd.py
urllib.py
_MozillaCookieJar.py
contextlib.py
httplib.py
pdb.py
smtplib.py
urllib2.py
__future__.py
cookielib.py
ihooks.py
pickle.py
sndhdr.py
urlparse.py
__phello__.foo.py
copy.py
imaplib.py
pickletools.py
socket.py
user.py
_abcoll.py
copy_reg.py
imghdr.py
pipes.py
sqlite3
uu.py
_pyio.py
csv.py
importlib
pkgutil.py
sre.py

4/7
uuid.py
_strptime.py
ctypes
imputil.py
plat-linux4
sre_compile.py
warnings.py
_threading_local.py
dbhash.py
inspect.py
platform.py
sre_constants.py
wave.py
_weakrefset.py
decimal.py
io.py
plistlib.py
sre_parse.py
weakref.py
abc.py
difflib.py
json
popen2.py
ssl.py
webbrowser.py
aifc.py
dircache.py
keyword.py
poplib.py
stat.py
whichdb.py
antigravity.py
dis.py
lib-tk
posixfile.py
statvfs.py
wsgiref
anydbm.py
distutils
linecache.py
posixpath.py
string.py
argparse.py
doctest.py
locale.py

5/7
pprint.py
stringold.py
xdrlib.py
ast.py
dumbdbm.py
logging
profile.py
stringprep.py
xml
asynchat.py
dummy_thread.py
macpath.py
pstats.py
struct.py
xmllib.py
asyncore.py
dummy_threading.py
macurl2path.py
pty.py
subprocess.py
xmlrpclib.py
atexit.py
email
mailbox.py
py_compile.py
sunau.py
zipfile.py
audiodev.py
encodings
mailcap.py
pyclbr.py
sunaudio.py
base64.py
filecmp.py
markupbase.py
pydoc.py
symbol.py
bdb.py
fileinput.py
md5.py
pydoc_data
symtable.py

Python 3rd Libraries¶


BeautifulSoup.py(3)

6/7
pkg_resources.py
androidhelper
plyer
bottle.py
qpy.py
qpythoninit.py
setuptools
pip

Androidhelper APIs¶
To simplify QPython SL4A development in IDEs with a “hepler” class derived from the
default Android class containing SL4A facade functions & API documentation

ApplicationManagerFacade
Manager APIs
CameraFacade
CommonIntentsFacade
Barcode
View APIs
ContactsFacade
EventFacade
SmsFacade
SpeechRecognitionFacade
ToneGeneratorFacade
WakeLockFacade
WifiFacade
BatteryManagerFacade
ActivityResultFacade
MediaPlayerFacade
Control
Get Information
PreferencesFacade
QPyInterfaceFacade
TextToSpeechFacade
EyesFreeFacade
BluetoothFacade
SignalStrengthFacade
WebCamFacade

7/7

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy