# All Classes and Interfaces

Class
Description
AbstractArray
Abstract class that manages bulk structural and data operations on arrays, defering type-specific element-wise operations to the subclass.
AbstractDict
AbstractMemoryCData
AbstractReference
Base class for weakref types.
AllocatedDirectMemory
AnnotationReader
This class reads a classfile from a byte array and pulls out the value of the class annotation for APIVersion, which can then be retrieved by a call to getVersion().
ArgParser
A utility class for handling mixed positional and keyword arguments.
ArrayCData
ArrayModule
The python array module, plus jython extensions from jarray.
AstList
Base1DBuffer
Base implementation of the Buffer API appropriate to 1-dimensional arrays, of any item size, independent of the storage implementation.
BaseArrayBuffer
Base implementation of the Buffer API for when the storage implementation is `byte[]`.
BaseBuffer
Base implementation of the Buffer API providing variables and accessors for the navigation arrays, methods for expressing and checking the buffer request flags, methods and mechanism for get-release counting, boilerplate error checks and their associated exceptions, and default implementations of some methods for access to the buffer content.
BaseBytes
Base class for Jython `bytearray` (and `bytes` in due course) that provides most of the Java API, including Java `List` behaviour.
BaseDictionaryView
BaseNIOBuffer
Base implementation of the Buffer API for when the storage implementation is `java.nio.ByteBuffer`.
BasePointer
BaseSet
BinaryIOWrapper
A Buffered text stream in binary mode.
binascii
The `binascii.java` module contains a number of methods to convert between binary and various ASCII-encoded binary representations.
BufferedIOBase
Base class for buffered I/O objects.
BufferedIOMixin
A mixin implementation of BufferedIOBase with an underlying raw stream.
BufferedRandom
A buffered reader and writer together for a random access file.
BufferedReader
Buffer for a readable sequential RawIO object.
BufferedWriter
Buffer for a writable sequential RawIO object.
BufferProtocol
Interface marking an object as capable of exposing its internal state as a `PyBuffer`.
BuiltinDocs
ByReference
BytecodeLoader
Utility class for loading compiled Python modules and Java classes defined in Python modules.
BytecodeLoader.Loader
BytecodeNotification
Notifies registered callbacks if new bytecode is loaded.
BytecodeNotification.Callback
Interface for callbacks.
ByteSwapper
Simple class that provides the capability to swap or reverse the byte order of all elements of an `Array`.
bz2
Python bz2 module
CachedJarsPackageManager
Abstract package manager that gathers info about statically known classes from a set of jars and the Java runtime.
CachedJarsPackageManager.JarXEntry
Class of object used to represent a cache file and last modification time, internally and to `CachedJarsPackageManager.outCreateCacheFile(org.python.core.packagecache.CachedJarsPackageManager.JarXEntry, boolean)`.
CallableProxyType
ProxyType with __call__.
CData
CEmulationLocale
Emulates the Python (ie POSIX) 'C' locale.
chain
chainDerived
ClassAdapter
ClassDictInit
An empty tagging interface that can be used if a java class want control over the class dict initialization.
ClassicPyObjectAdapter
Implements the algorithm originally used in `Py.java2py(java.lang.Object)` to adapt objects.
ClasspathPyImporter
ClasspathPyImporterDerived
cmath
CodeBootstrap
codecs
This class implements the codec registry and utility methods supporting codecs, such as those providing the standard replacement strategies ("ignore", "backslashreplace", etc.).
codecs.CodecState
CodeFlag
Represents flags that can be set on code objects.
CodegenUtils
CodegenUtils
CodeLoader
Collections
Collections - This module adds the ability to use high performance data structures
combinations
combinationsDerived
combinationsWithReplacement
combinationsWithReplacementDerived
CompileMode
CompilerFacade
Facade for different compiler implementations.
CompilerFlags
compress
compressDerived
Condition
Console
A class named in configuration as the value of `python.console` must implement this interface, and provide a constructor with a single `String` argument, to be acceptable during initialization of the interpreter.
ConsoleInputStream
This class is intended to replace `System.in` for use with console libraries that provide a line-oriented input mechanism.
ConsoleInputStream.EOLPolicy
Enumeration used to specify whether an end-of-line should be added or replaced at the end of each line read.
ConsoleOutputStream
This class may be used to wrap and replace `System.out` so that the console handling library (JLine or Java Readline) can treat an incomplete line (one without a newline) as a prompt string, and so know the true position of the cursor.
ContainsPyBytecode
Jython stores Python-Bytecode of methods and functions that exceed JVM method-size restrictions in String literals.
ContextGuard
Straightens the call path for some common cases
ContextManager
A `PyObject` that provides `__enter__` and `__exit__` methods for use in the with-statement.
count
countDerived
cPickle
From the python documentation:
cPickle.Pickler
The Pickler object
cPickle.Unpickler
The Unpickler object.
cStringIO
This module implements a file-like class, StringIO, that reads and writes a string buffer (also known as memory files).
cStringIO.StringIO
The StringIO object
CType
cycle
cycleDerived
DatagramSocketIO
Raw I/O implementation for datagram sockets.
DataHandler
The DataHandler is responsible mapping the JDBC data type to a Jython object.
DateFactory
Provide an extensible way to create dates for zxJDBC.
DateSymbolJyLocale
Separating these largely constant values from Python encoding conversions allows for safer initialization even if modules are loaded in different orders.
DateSymbolLocale
Date related string values.
DBApiType
This class wraps the types from java.sql.Type in order for PyCursor to differentiate between a regular PyInteger and a SQL datatype value.
Deriveds
Derived classes utility methods.
dict_builder
DirectMemory
dropwhile
dropwhileDerived
DynamicLibrary
DynamicLibrary.DataSymbol
DynamicLibrary.Symbol
DynamicLibrary.TextSymbol
Encoder
EncoderDerived
errno
The Python errno module.
exceptions
The builtin exceptions module.
ExtensiblePyObjectAdapter
A PyObjectAdapter attempts to adapt a Java Object with three user fillable groups of adapters: preClass, class and postClass.
ExtraMath
A static utility class with two additional math functions.
Fetch
The responsibility of a Fetch instance is to manage the iteration of a ResultSet.
FieldNameIterator
This class is an implementation of the iterator object returned by `str.`
FieldNameIterator.Chunk
FileDescriptors
Jython file descriptor management.
FileIO
Raw I/O implementation for OS files.
FilelikeInputStream
FileUtil
Utility methods for Java file handling.
FilterDataHandler
A FilterDataHandler contains some other DataHandler, which it uses as its basic source of functionality, possibly transforming the calls along the way or providing additional functionality.
FinalizableBuiltin
See documentation of `FinalizablePyObject`.
FinalizablePyObject
This interface allows `PyObject`s to have finalizers.
FinalizablePyObjectDerived
This interface should never be used directly in any hand-written code (except in FinalizeTrigger.java).
FinalizeTrigger
To use finalizers on `PyObject`s, read the documentation of `FinalizablePyObject`.
FinalizeTriggerFactory
Reserved for use by JyNI.
FloatFormatter
A class that provides the implementation of floating-point formatting.
Function
FunctionThread
FutureFeature
gc
In Jython, the gc module notably differs from that in CPython.
gc.CycleMarkAttr
Generic
Static methods to make instances of collections with their generic types inferred from what they're being assigned to.
GlobalRef
GlobMatchingTask
groupby
groupbyDerived
HeapMemory
IdImpl
IdImpl.WeakIdentityMap
ifilter
ifilterDerived
ifilterfalse
ifilterfalseDerived
imap
imapDerived
imp
Utility functions for "import" support.
imp.CodeData
A bundle of a file name, the file's content and a last modified time, with no behaviour.
importer<T>
A base class for PEP-302 path hooks.
InitModule
Deprecated.
This class is deprecated.
IntegerFormatter
A class that provides the implementation of integer formatting.
IntegerFormatter.Traditional
A minor variation on `IntegerFormatter` to handle "traditional" %-formatting.
InteractiveConsole
This class provides the read, execute, print loop needed by a Python console; it is not actually a console itself.
InteractiveInterpreter
This class provides the interface for compiling and running code that supports an interactive interpreter.
InternalFormat
InternalFormat.Formatter
A class that provides the base for implementations of type-specific formatting.
InternalFormat.Spec
Parsed PEP-3101 format specification of a single field, encapsulating the format for use by formatting methods.
InvalidMemory
An implementation of Memory that throws an exception on any access.
Invoker
IOBase
Base class for all I/O classes.
islice
isliceDerived
itertools
Functional tools for creating and using iterators.
izip
izipDerived
izipLongest
izipLongestDerived
jarray
JarRunner
JarRunner initializes sys (PySystemState), passing args in (including the name "__run__" as arg 0 for consistancy with Python expectations), and import __run__.
JavaDateFactory
Produce java.
JavaImporter
Load Java classes.
JavaImportHelper
Helper class handling the VM specific java package detection.
JavaIterator
JDBC20DataHandler
Support for JDBC 2.x type mappings, including Arrays, CLOBs and BLOBs.
JDBC30DataHandler
Support for JDBC 3.x additions, notably ParameterMetaData.
jffi
JITInvoker
JITInvoker0
JITInvoker1
JITInvoker2
JITInvoker3
JITInvoker4
JITInvoker5
JITInvoker6
JITMethodGenerator
JITRuntime
JITSignature
JLineConsole
This class uses JLine to provide readline like functionality to its console without requiring native readline support.
JyAttribute
Manages a linked list of general purpose Object-attributes that can be attached to arbitrary `PyObject`s.
JycompileAntTask
Compiles all python files in a directory to bytecode, and writes them to another directory, possibly the same one.
JyLocale
Sources locale information from standard Java API functions, such as that in `Locale` and `DecimalFormat`.
jython
Jython22DataHandler
A copy of the DataHandler class as it was before Jython 2.5.
JythoncAntTask
Jythonc is a Python compiler into Java Bytecode.
JythonInitializer
A service for initializing Jython without explicitly calling `PySystemState.initialize()`.
LimitedCache<K,V>
Not for application use, a cache of recently given results from some costly function.
LineBufferedRandom
A line buffered writer and a non buffered reader together for a random access file.
LineBufferedWriter
Line buffering for a writable sequential RawIO object.
Lock
MarkupIterator
Provides an implementation of the object that `str.`
MarkupIterator.Chunk
MatchObject
math
math_erf
math_gamma
Memory
Abstracted memory operations.
ModjyJServlet
NameUnionAntType
Unions several resource collections by the name of their contained resources.
NativeDataConverter
NativeType
NewCompilerResources
This class contains stuff that almost exists in the library already, but with interfaces that I found more suitable.
NullMemory
An implementation of MemoryIO that throws an exception on any access.
Opcode
OpenMode
An object able to check a file access mode provided as a String and represent it as boolean attributes and in a normalised form.
operator
Options
A class with static fields for each of the settable options.
PackageManager
Abstract package manager.
ParserFacade
Facade for the classes in the org.python.antlr package.
PathPackageManager
Path package manager.
PatternObject
permutations
permutationsDerived
PlainConsole
A base class for classes that can install a console wrapper for a specific console-handling library.
PlatformUtil
Methods for testing the platform/operating system that we are on.
Pointer
PointerCData
PosixModule
The posix/nt module, depending on the platform.
Pragma
Pragma.ForbiddenPragmaModule
Pragma.PragmaModule
PragmaReceiver
PrePy
This class is part of the Jython run-time system, and contains only "pre-Python" data and methods that may safely be used before the type system is ready.
Procedure
This class provides the necessary functionality to call stored procedures.
product
productDerived
ProxyCompiler
ProxyType
A weak reference proxy object.
Py
Py2kBuffer
Implementation of the Python `buffer` type.
PyArray
The type `array.array`.
PyArrayDerived
PyBaseCode
PyBaseException
The base class for all standard Python exceptions.
PyBaseExceptionDerived
PyBaseString
base class for jython strings.
PyBeanEvent<T>
PyBeanEventProperty
PyBeanProperty
PyBoolean
The builtin python bool.
PyBUF
This interface provides a base for the key interface of the buffer API, `PyBuffer`, including symbolic constants used by the consumer of a `PyBuffer` to specify its requirements and assumptions.
PyBuffer
The Jython buffer API for access to a byte array within an exporting object.
PyBuffer.Pointer
Deprecated.
PyBuiltinCallable
PyBuiltinCallable.DefaultInfo
PyBuiltinCallable.Info
PyBuiltinClassMethodNarrow
A builtin classmethod with a restricted number of arguments.
PyBuiltinFunction
PyBuiltinFunctionNarrow
PyBuiltinFunctionSet
A helper class for faster implementations of commonly called methods.
PyBuiltinMethod
PyBuiltinMethodNarrow
PyBuiltinMethodSet
PyByteArray
Implementation of Python `bytearray` with a Java API that includes equivalents to most of the Python API.
PyByteArrayDerived
PyBytecode
PyBZ2Compressor
PyBZ2CompressorDerived
PyBZ2Decompressor
PyBZ2DecompressorDerived
PyBZ2File
PyBZ2FileDerived
PyCallIter
PyCell
The Python cell type.
PyClass
The classic Python class.
PyClassMethod
The classmethod descriptor.
PyClassMethodDerived
PyClassMethodDescr
PyCode
A super class for all python code implementations.
PyComplex
A builtin python complex number
PyComplexDerived
PyCompoundCallable
PyConnection
A connection to the database.
PyCursor
These objects represent a database cursor, which is used to manage the context of a fetch operation.
PyDataDescr
Implements type checking and return type coercion for a data descriptor.
PyDefaultDict
PyDefaultDict - This is a subclass of the builtin dict(PyDictionary) class.
PyDefaultDictDerived
PyDeque
PyDeque - This class implements the functionalities of Deque data structure.
PyDequeDerived
PyDescriptor
PyDialect
The Python CSV Dialect type.
PyDialectDerived
PyDictionary
A builtin python dictionary.
PyDictionaryDerived
PyDictProxy
Readonly proxy for dictionaries (actually any mapping).
PyEllipsis
A class representing the singleton Ellipsis `...` object.
PyEnumerate
The Python builtin enumerate type.
PyEnumerateDerived
PyException
A wrapper for all python exception.
PyExtendedCursor
A cursor with extensions to the DB API 2.0.
PyFastSequenceIter
Sequence iterator specialized for accessing the underlying sequence directly.
PyFile
The Python file type.
PyFileDerived
PyFileIO
PyFileIODerived
PyFileReader
PyFileWriter
PyFilter
Enables you to write Jython modules that inherit from `javax.servlet.Filter`, and to insert them in your servlet container's filter chain, like any Java `Filter`.
PyFloat
A builtin python float.
PyFloat.Format
PyFloatDerived
PyFrame
A Python frame object.
PyFrozenSet
PyFrozenSetDerived
PyFunction
A Python function.
PyFunctionTable
An entry point for class that implements several function calls.
PyGenerator
PyIgnoreMethodTag
A tagging exception.
PyIndentationError
A convenience class for creating Indentation errors.
PyInstance
An instance of a classic Python class.
PyInteger
A builtin python int.
PyIntegerDerived
PyIOBase
The Python module `_io.`
PyIOBaseDerived
PyIOFile
PyIOFiles encapsulates and optimise access to the different file representation.
PyIOFileFactory
PyIterator
An abstract helper class useful when implementing an iterator object.
PyJavaPackage
A representation of java package.
PyJavaType
PyList
PyListDerived
PyListIterator
PyLocal
PyLocalDerived
PyLocale
Definition of a Python native locale implementation.
PyLock
PyLong
A builtin python long.
PyLongDerived
PyMemoryView
Class implementing the Python `memoryview` type.
PyMethod
A Python method.
PyMethodDescr
PyModule
The Python Module object.
PyModuleDerived
PyNewWrapper
PyNone
The singleton None object.
PyNotImplemented
PyNullImporter
PyObject
All objects known to the Jython runtime system are represented by an instance of the class `PyObject` or one of its subclasses.
PyObject.ConversionException
PyObjectAdapter
PyObjectAdapters turn Java Objects into PyObjects.
PyObjectDerived
PyOverridableNew
A __new__ function that tells its subclasses to just init if __new__ is being called on the type the function was defined on.
PyPartial
PyPartialDerived
PyProperty
PyPropertyDerived
PyProxy
Common methods for all generated proxy classes.
PyRandom
PyRandomDerived
PyRawIOBase
An implementation of Python `_io.`
PyRawIOBaseDerived
PyReader
CSV file reader.
PyReflectedConstructor
PyReflectedField
PyReflectedFunction
PyReversedIterator
An iterator that yields the objects from a sequence-like object in reverse order.
PyRunnable
Interface implemented by compiled modules which allow access to to the module code object.
PyRunnableBootstrap
PySequence
The abstract superclass of PyObjects that implements a Sequence.
PySequenceIter
General sequence iterator.
PySequenceList
PyServlet
This servlet is used to re-serve Jython servlets.
PyServletInitializer
Initializes the jython runtime inside a servlet engine.
PySet
PySetDerived
PyShadowString
This class provides a string that sometimes seems to change value, as far as equality tests and `startswith` are concerned.
PyShadowStringDerived
PySingleton
PySlice
The Python slice object.
PySlot
PyStatement
Class PyStatement
PyStaticMethod
The staticmethod descriptor.
PyStatResult
PyString
A builtin python string.
PyStringDerived
PyStringMap
Special fast dict implementation for __dict__ instances.
PyStruct
PyStructDerived
PySuper
The Python super type.
PySuperDerived
PySyntaxError
A convenience class for creating Syntax errors.
PySystemState
The "sys" module.
PySystemState.PySystemStateCloser
PySystemStateRef
A weak reference that allows to keep track of PySystemState within Jython core runtime without leaking: as soon as it gets garbage collected, we can clear the places where we have associated data stored.
PyTableCode
An implementation of PyCode where the actual executable content is stored as a PyFunctionTable instance and an integer index.
PyTeeIterator
PyTeeIteratorDerived
PythonCodeBundle
PythonCompiler
PythonInterpreter
The PythonInterpreter class is a standard wrapper for a Jython interpreter for embedding in a Java application.
PythonObjectInputStream
PythonPOSIXHandler
Jython specific hooks for our underlying POSIX library.
PyTimeTuple
struct_time of the time module.
PyTraceback
A python traceback object.
PyTuple
A builtin python tuple.
PyTupleDerived
PyTupleIterator
PyType
This class implements the Python `type` object and the static methods and data structures that support the Python type system in Jython (the type registry).
PyTypeDerived
PyUnicode
a builtin python unicode string.
PyUnicodeDerived
PyVersionInfo
PyWriter
CSV file writer.
PyXRange
The builtin xrange type.
PyXRangeIter
Specially optimized xrange iterator.
QuoteStyle
CSV quoting styles.
RandomModule
RawIOBase
Base class for raw binary I/O.
ReferenceBackend
ReferenceBackendFactory
Reserved for use by JyNI.
ReferenceType
ReferenceTypeDerived
ReflectedArgs
Map the signature of a method to the `Method` itself, within the context of a given simple name.
RegistryKey
Supported registry keys and their usage.
RelativeFile
A java.io.File whose initial path is resolved relative to the current SystemState's current working directory.
repeat
repeatDerived
RLock
ScalarCData
Scanner
ScannerDerived
ScannerObject
SequenceIndexDelegate
Handles all the index checking and manipulation for get, set and del operations on a sequence.
ServerSocketIO
Raw I/O implementation for server sockets.
set_builder
Setup
SHA224Digest
Deprecated.
use the SHA224 implementation provided in Java 8 and later
SimpleBuffer
Buffer API over a read-only one-dimensional array of one-byte items.
SimpleNIOBuffer
Buffer API over a read-only one-dimensional `java.nio.ByteBuffer` of one-byte items.
SimpleStringBuffer
Buffer API that appears to be a one-dimensional array of one-byte items providing read-only API, but which is actually backed by a Java String.
SimpleWritableBuffer
Buffer API over a writable one-dimensional array of one-byte items.
SkinnyMethodAdapter
Slotted
SocketIO
Raw I/O implementation for sockets.
SocketIOBase<T>
Base raw I/O implementation for sockets.
SRE_REPEAT
SRE_STATE
starmap
starmapDerived
StderrWrapper
StdoutWrapper
StreamIO
Raw I/O implementation for simple streams.
Strided1DBuffer
Read-only buffer API over a one-dimensional array of one-byte items, that are evenly-spaced in a storage array.
Strided1DNIOBuffer
Read-only buffer API over a one-dimensional `java.nio.ByteBuffer` of one-byte items, that are evenly-spaced in that store.
Strided1DWritableBuffer
Read-write buffer API over a one-dimensional array of one-byte items, that are evenly-spaced in a storage array.
StringCData
StringCounter
Not for application use, this class may be used to count how many times a `String` occurs a point in the runtime.
StringUtil
String Utility methods.
struct
This module performs conversions between Python values and C structs represented as Python strings.
StructLayout
StructLayout.Field
StructLayout.ScalarField
Structure
synchronize
synchronize.SynchronizedCallable
SysPackageManager
System package manager.
SyspathArchive
SyspathJavaLoader
takewhile
takewhileDerived
TemplateAntTask
Template is an Ant task for generating new-style object definitions based on template files.
TextFormatter
A class that provides the implementation of `str` and `unicode` formatting.
TextIOBase
Base class for text I/O.
TextIOInputStream
An InputStream tie-in to a TextIOBase.
TextIOWrapper
A Buffered text stream.
thread
ThreadState
Time
TraceFunction
Traverseproc
This interface defines a CPython-equivalent traverse-mechanism allowing to detect reference cycles.
TraverseprocDerived
This is used like `Traverseproc`, but traverses only the `slots[]`-array of `fooDerived`-classes.
ucnhash
ucnhashAPI
UniversalIOWrapper
A Buffered text stream in universal newlines mode.
Untraversable
Indicates that a given class is not traversable and does intentionally not implement `Traverseproc`.
Visitproc
WarningEvent
An event signalling the a SQLWarning was encountered while building results from a ResultSet.
WarningListener
WeakrefModule
The _weakref module.
WrappedIterIterator<E>
Exposes a Python iter as a Java Iterator.
ZeroByteBuffer
Buffer API over a zero length, one-dimensional array of one-byte items.
zipimport
This module adds the ability to import Python modules (*.py, *$py.class) and packages from ZIP-format archives.
zipimporter
Import Python modules and packages from ZIP-format archives.
zipimporterDerived
zxJDBC
Creates database connections.
__builtin__
The builtin module.
_bytecodetools
BytecodeTools provides tools for generated JVM bytecode.
_codecs
This class corresponds to the Python _codecs module, which in turn lends its functions to the codecs module (in Lib/codecs.py).
_codecs.EncodingMap
Optimized charmap encoder mapping.
_csv
The Python _csv module.
_functools
The Python _functools module.
_hashlib
The Python _hashlib module: provides hashing algorithms via java.security.MessageDigest.
_hashlib.Hash
A generic wrapper around a MessageDigest.
_imp
_json
This module is a nearly exact line by line port of _json.c to Java.
_jyio
The Python _io module implemented in Java.
_jythonlib
_locale
Java native implementation of underlying locale functions, fitting the interface defined or implied by the Python locale module.
_marshal
_marshal.Marshaller
_marshal.Unmarshaller
_py_compile
_sre
_threading