.TH "PYXBGEN" "1" .SH "NAME" pyxbgen-py3 \(em Python XML Schema Bindings Generator (Python3 version) .SH "SYNOPSIS" .PP \fBpyxbgen-py3\fR [command] [\fB[options]\fP] [\fB[more schema locations...]\fP] .SH "DESCRIPTION" .PP This manual page documents briefly the \fBpyxbgen-py3\fR command. .PP This manual page was written for the \fBDebian\fP distribution because the original program does not have a manual page. .PP \fBpyxbgen-py3\fR is a program that generates Python bindings from XML schema files or WSDL input. .SH "Generic Options" .IP " \fB\-\-version\fP " 10 Show program’s version number and exit. .IP " \fB\-\-help\fP " 10 Show help message and exit. .SH "Identifying Schema" .PP Specify and locate schema for which bindings should be generated. .IP " \fB-u \fIFILE_or_URL\fR\fP \fB\-\-schema-location=\fIFILE_or_URL\fR\fP " 10 Add the location of an entrypoint schema. The provided value should be a URL. If it does not have a URL scheme (e.g., http:), it is assumed to be a file, and if it is not an absolute path is located relative to the schemaRoot. .IP " \fB\-\-schema-root=\fIDIRECTORY\fR\fP " 10 The directory from which entrypoint schemas specified as relative file paths will be read. .IP " \fB\-\-schema-stripped-prefix=\fITEXT\fR\fP " 10 Optional string that is stripped from the beginning of schemaLocation values before loading from them. This applies only to the values of schemaLocation attributes in import and include elements. Its purpose is to convert absolute schema locations into relative ones to allow offline processing when all schema are available in a local directory. See schemaRoot. .IP " \fB\-\-location-prefix-rewrite=\fITEXT\fR\fP " 10 Add a rewrite entry for schema locations. Parameter values are strings of the form pfx=sub. The effect is that a schema location that begins with pfx is rewritten so that it instead begins with sub. .IP " \fB\-\-uri-content-archive-directory=\fIDIRECTORY\fR\fP " 10 The directory path into which any content retrieved by URI will be written. This serves as a local cache, and to give you an opportunity to inspect material retrieved from some other system. .SH "Configuring Bindings" .PP Specify where generated bindings should be written, and how they will be accessed from Python. .IP " \fB-m \fIMODULE\fR\fP \fB\-\-module=\fIMODULE\fR\fP " 10 Add a module name corresponding to an entrypoint schema. The namespace defined by the corresponding schema will be written to a binding using the given module name, adjusted by modulePrefix. .IP " \fB\-\-module-prefix=\fIMODULE\fR\fP " 10 The prefix for binding modules. The base name for the module holding a binding is taken from the moduleList, moduleMap, or an XMLNS prefix associated with the namespace in a containing schema. This value, if present, is used as a prefix to allow a deeper module hierarchy. .IP " \fB\-\-binding-root=\fIDIRECTORY\fR\fP " 10 The directory path into which generated bindings will be written. .IP " \fB\-\-write-for-customization\fP " 10 Indicates whether the binding Python code should be written into a sub-module for customization. If enabled, a module path.to.namespace will be written to the file path/to/raw/namespace.py, so that the file path/to/namespace.py can import it and override behavior. This option turns on the feature. .IP " \fB\-\-no-write-for-customization\fP " 10 Indicates whether the binding Python code should be written into a sub- module for customization. If enabled, a module path.to.namespace will be written to the file path/to/raw/namespace.py, so that the file path/to/namespace.py can import it and override behavior. This option turns off the feature (default). .SH "SEE ALSO" .PP pyxbdump-py3(1), pyxbwsdl-py3(1). .SH "AUTHOR" .PP This manual page was written by fladi FladischerMichael@fladi.at for the \fBDebian\fP system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. .\" created by instant / docbook-to-man