oxidized_importer
Python ExtensionΒΆ
oxidized_importer
is a Python extension module maintained as part of
the PyOxidizer project that allows you to:
Install a custom, high-performance module importer (
OxidizedFinder
) to service Pythonimport
statements and resource loading (potentially from memory).Scan the filesystem for Python resources (source modules, bytecode files, package resources, distribution metadata, etc) and turn them into Python objects.
Serialize Python resource data into an efficient binary data structure for loading into an
OxidizedFinder
instance. This facilitates producing a standalone resources blob that can be distributed with a Python application which contains all the Python modules, bytecode, etc required to power that application.
oxidized_importer
is automatically compiled into applications built
with PyOxidizer. It can also be built as a standalone extension module and
used with regular Python installs.
- Getting Started
- Python Meta Path Finders
OxidizedFinder
Meta Path FinderOxidizedFinder
Behavior and Complianceoxidized_importer
Python Resource Types- Resource Scanning APIs
- Loading Resource Files
- Freezing Applications with
oxidized_importer
OxidizedZipFinder
Meta Path Finder- Common Issues
- Security Implications of Loading Resources
- API Reference
- Module Level Functions
- The
OxidizedFinder
Class - The
OxidizedDistribution
Class - The
OxidizedResourceReader
Class - The
OxidizedPathEntryFinder
Class - The
OxidizedPkgResourcesProvider
Class - The
OxidizedResource
Class - The
OxidizedResourceCollector
Class - The
OxidizedResourceReader
Class - The
OxidizedZipFinder
Class - The
PythonModuleSource
Class - The
PythonModuleBytecode
Class - The
PythonPackageResource
Class - The
PythonPackageDistributionResource
Class - The
PythonExtensionModule
Class
- Python Packed Resources
- Project History