# Package org.python.core

Interface Summary
Interface | Description
--- | ---
BufferProtocol | Interface marking an object as capable of exposing its internal state as a `PyBuffer`.
BytecodeNotification.Callback | Interface for callbacks.
ClassDictInit | An empty tagging interface that can be used if a java class want control over the class dict initialization.
CodeBootstrap |
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.
ContextManager | A `PyObject` that provides `__enter__` and `__exit__` methods for use in the with-statement.
InitModule | Deprecated This class is deprecated.
JythonInitializer | A service for initializing Jython without explicitly calling `PySystemState.initialize()`.
Pragma |
PragmaReceiver |
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.
PyBuiltinCallable.Info |
PyProxy | Common methods for all generated proxy classes.
PyRunnable | Interface implemented by compiled modules which allow access to to the module code object.
PythonCodeBundle |
PythonCompiler |
Slotted |
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.
ucnhashAPI |
Visitproc |

Class Summary
Class | Description
--- | ---
__builtin__ | The builtin module.
AbstractArray | Abstract class that manages bulk structural and data operations on arrays, defering type-specific element-wise operations to the subclass.
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.
AstList |
BaseBytes | Base class for Jython `bytearray` (and `bytes` in due course) that provides most of the Java API, including Java `List` behaviour.
BaseDictionaryView |
BaseSet |
BuiltinDocs |
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.
ClasspathPyImporter |
ClasspathPyImporterDerived |
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 |
CodeLoader |
CompilerFacade | Facade for different compiler implementations.
CompilerFlags |
ContextGuard | Straightens the call path for some common cases
Deriveds | Derived classes utility methods.
exceptions | The builtin exceptions module.
FilelikeInputStream |
FunctionThread |
IdImpl |
IdImpl.WeakIdentityMap |
imp | Utility functions for "import" support.
imp.CodeData |
JavaImporter | Load Java classes.
JavaImportHelper | Helper class handling the VM specific java package detection.
JavaIterator |
JyAttribute | Manages a linked list of general purpose Object-attributes that can be attached to arbitrary `PyObject`s.
NewCompilerResources | This class contains stuff that almost exists in the library already, but with interfaces that I found more suitable.
Opcode |
Options | A class with static fields for each of the settable options.
ParserFacade | Facade for the classes in the org.python.antlr package.
PlainConsole | A base class for classes that can install a console wrapper for a specific console-handling library.
Pragma.ForbiddenPragmaModule |
Pragma.PragmaModule |
Py |
Py2kBuffer | Implementation of the Python `buffer` type.
PyArray | A wrapper class around native java arrays.
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.
PyBuffer.Pointer | A class that references a `byte[]` array and a particular offset within it, as the return type for methods that give direct access to byte-oriented data exported by a Python object.
PyBuiltinCallable |
PyBuiltinCallable.DefaultInfo |
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 |
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 |
PyDataDescr | Implements type checking and return type coercion for a data descriptor.
PyDescriptor |
PyDictionary | A builtin python dictionary.
PyDictionaryDerived |
PyDictProxy | Readonly proxy for dictionaries (actually any mapping).
PyEllipsis | A class representing the singleton Ellipsis `...`
PyEnumerate | The Python builtin enumerate type.
PyEnumerateDerived |
PyFastSequenceIter | Sequence iterator specialized for accessing the underlying sequence directly.
PyFile | The Python file type.
PyFileDerived |
PyFileReader |
PyFileWriter |
PyFloat | A builtin python float.
PyFloatDerived |
PyFrame | A Python frame object.
PyFrozenSet |
PyFrozenSetDerived |
PyFunction | A Python function.
PyFunctionTable | An entry point for class that implements several function calls.
PyGenerator |
PyInstance | An instance of a classic Python class.
PyInteger | A builtin python int.
PyIntegerDerived |
PyIterator | An abstract helper class useful when implementing an iterator object.
PyJavaPackage | A representation of java package.
PyJavaType |
PyList |
PyListDerived |
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.
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.
PyProperty |
PyPropertyDerived |
PyReflectedConstructor |
PyReflectedField |
PyReflectedFunction |
PyReversedIterator | An iterator that yields the objects from a sequence-like object in reverse order.
PyRunnableBootstrap |
PySequence | The abstract superclass of PyObjects that implements a Sequence.
PySequenceIter | General sequence iterator.
PySequenceList |
PySet |
PySetDerived |
PySingleton |
PySlice | The Python slice object.
PySlot |
PyStaticMethod | The staticmethod descriptor.
PyString | A builtin python string.
PyStringDerived |
PyStringMap | Special fast dict implementation for __dict__ instances.
PySuper | The Python super type.
PySuperDerived |
PySystemState | The "sys" module.
PySystemState.PySystemStateCloser |
PyTableCode |
PyTraceback | A python traceback object.
PyTuple | A builtin python tuple.
PyTupleDerived |
PyType | The Python Type object implementation.
PyTypeDerived |
PyUnicode | a builtin python unicode string.
PyUnicodeDerived |
PyXRange | The builtin xrange type.
PyXRangeIter | Specially optimized xrange iterator.
ReflectedArgs |
SequenceIndexDelegate | Handles all the index checking and manipulation for get, set and del operations on a sequence.
StderrWrapper |
StdoutWrapper |
SyspathArchive |
SyspathJavaLoader |
ThreadState |
TraceFunction |
WrappedIterIterator<E> | Exposes a Python iter as a Java Iterator.

Enum Summary
Enum | Description
--- | ---
CodeFlag | Represents flags that can be set on code objects.
CompileMode |
FutureFeature |
imp.CodeImport |
PyFloat.Format |

Exception Summary
Exception | Description
--- | ---
PyException | A wrapper for all python exception.
PyIgnoreMethodTag | A tagging exception.
PyIndentationError | A convenience class for creating Indentation errors.
PyObject.ConversionException |
PySyntaxError | A convenience class for creating Syntax errors.

Annotation Types Summary
Annotation Type | Description
--- | ---
Untraversable | Indicates that a given class is not traversable and does intentionally not implement `Traverseproc`.