Skip navigation links
A C E F G H I K O P R S T V 

A

ABI - Static variable in class AndroidPlatform
 
AndroidPlatform - Class in com.chaquo.python.android
Platform for Chaquopy on Android.
AndroidPlatform(Context) - Constructor for class AndroidPlatform
The given context must be an Activity, Service or Application object from your app.

C

call(Object...) - Method in class PyObject
Equivalent to Python () syntax.
callAttr(String, Object...) - Method in class PyObject
Equivalent to get(key).call(args), except it throws a PyException if the attribute does not exist.
callAttrThrows(String, Object...) - Method in class PyObject
Same as callAttr(), except that it directly passes any Java exception thrown by the Python code rather than wrapping it in a PyException
callThrows(Object...) - Method in class PyObject
Same as call(), except that it directly passes any Java exception thrown by the Python code rather than wrapping it in a PyException
clear() - Method in class PyObject
Attempts to remove all attributes returned by dir().
close() - Method in class PyObject
Releases the reference to the Python object.
com.chaquo.python - package com.chaquo.python
Non-platform-specific components.
com.chaquo.python.android - package com.chaquo.python.android
Android-related components.
containsKey(Object) - Method in class PyObject
Equivalent to Python hasattr().
containsValue(Object) - Method in class PyObject
The value will be converted as described at fromJava().

E

entrySet() - Method in class PyObject
 
equals(Object) - Method in class PyObject
Equivalent to Python == operator.

F

finalize() - Method in class PyObject
fromJava(Object) - Static method in class PyObject
Gives the given Java object a presence in the Python virtual machine.

G

GenericPlatform - Class in com.chaquo.python
Platform for a normal Python installation.
GenericPlatform() - Constructor for class GenericPlatform
 
get(Object) - Method in class PyObject
Equivalent to Python getattr().
getBuiltins() - Method in class Python
Returns the module __builtin__ in Python 2 or builtins in Python 3.
getInstance() - Static method in class Python
Gets the interface to Python.
getModule(String) - Method in class Python
Returns the module with the given name.
getPath() - Method in class AndroidPlatform
 
getPath() - Method in class GenericPlatform
 
getPath() - Method in class Python.Platform
Returns the value to assign to PYTHONPATH, or null to leave it unset.

H

hashCode() - Method in class PyObject
Equivalent to Python hash().

I

id() - Method in class PyObject
Equivalent to Python id().
isEmpty() - Method in class PyObject
Equivalent to PyObject.keySet().isEmpty().
isStarted() - Static method in class Python
Return whether the Python virtual machine is running

K

key - Variable in class Kwarg
 
keySet() - Method in class PyObject
Equivalent to Python dir().
Kwarg - Class in com.chaquo.python
A Python keyword argument.
Kwarg(String, Object) - Constructor for class Kwarg
The value will be converted as described at PyObject.fromJava().

O

onCreate() - Method in class PyApplication
Starts Python.
onStart(Python) - Method in class AndroidPlatform
 
onStart(Python) - Method in class Python.Platform
Called after Python is started.

P

Platform() - Constructor for class Python.Platform
 
put(String, PyObject) - Method in class PyObject
Equivalent to Python setattr().
put(String, Object) - Method in class PyObject
Equivalent to Python setattr().
PyApplication - Class in com.chaquo.python.android
Application subclass which automatically starts Python.
PyApplication() - Constructor for class PyApplication
 
PyException - Exception in com.chaquo.python
An exception propagating from Python to Java.
PyException() - Constructor for exception PyException
 
PyException(String) - Constructor for exception PyException
 
PyException(String, Throwable) - Constructor for exception PyException
 
PyException(Throwable) - Constructor for exception PyException
 
PyObject - Class in com.chaquo.python
Interface to a Python object.
Python - Class in com.chaquo.python
Interface to Python.
Python.Platform - Class in com.chaquo.python
Provides information needed to start Python.

R

remove(Object) - Method in class PyObject
Equivalent to Python delattr().
repr() - Method in class PyObject
Equivalent to Python repr().

S

setPath(String) - Method in class GenericPlatform
Sets the value to assign to PYTHONPATH.
start(Python.Platform) - Static method in class Python
Starts the Python virtual machine.

T

toJava(Class<T>) - Method in class PyObject
Attempts to view the Python object as the given Java type.
toString() - Method in class PyObject
Equivalent to Python str().
type() - Method in class PyObject
Equivalent to Python type().

V

value - Variable in class Kwarg
 
A C E F G H I K O P R S T V 
Skip navigation links