Package: pyresx
pyresxpyresx is .resx file writer for python.Itonlysupports string resources.InstallationPlease download the lastest version 1.0.0$pipinstall"pyresx=1.0.0"Sample CodefrompyresximportResXWriter# Creates a resx writer.resx=ResXWriter("resource.resx")# Adds resources to the resx writer.resx.add_resource("String 1","First String")resx.add_resource("String 2","Second String")resx.add_resource("String 3","Third String")# Writes the resources to the file and closes it.resx.close();Sample Result<?xml version="1.0" encoding="utf-8"?><root><!--Microsoft ResX SchemaVersion 2.0The primary goals of this format is to allow a simple XML formatthat is mostly human readable. The generation and parsing of thevarious data types are done through the TypeConverter classesassociated with the data types.Example:... ado.net/XML headers & schema ...<resheader name="resmimetype">text/microsoft-resx</resheader><resheader name="version">2.0</resheader><resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader><resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader><data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data><data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data><data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"><value>[base64 mime encoded serialized .NET Framework object]</value></data><data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"><value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value><comment>This is a comment</comment></data>There are any number of "resheader" rows that contain simplename/value pairs.Each data row contains a name, and value. The row also contains atype or mimetype. Type corresponds to a .NET class that supporttext/value conversion through the TypeConverter architecture.Classes that don't support this are serialized and stored with themimetype set.The mimetype is used for serialized objects, and tells theResXResourceReader how to depersist the object. This is currently notextensible. For a given mimetype the value must be set accordingly:Note - application/x-microsoft.net.object.binary.base64 is the formatthat the ResXResourceWriter will generate, however the reader canread any of the formats listed below.mimetype: application/x-microsoft.net.object.binary.base64value   : The object must be serialized with: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter: and then encoded with base64 encoding.mimetype: application/x-microsoft.net.object.soap.base64value   : The object must be serialized with: System.Runtime.Serialization.Formatters.Soap.SoapFormatter: and then encoded with base64 encoding.mimetype: application/x-microsoft.net.object.bytearray.base64value   : The object must be serialized into a byte array: using a System.ComponentModel.TypeConverter: and then encoded with base64 encoding.--><xsd:schemaid="root"xmlns=""xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"><xsd:importnamespace="http://www.w3.org/XML/1998/namespace"/><xsd:elementname="root"msdata:IsDataSet="true"><xsd:complexType><xsd:choicemaxOccurs="unbounded"><xsd:elementname="metadata"><xsd:complexType><xsd:sequence><xsd:elementname="value"type="xsd:string"minOccurs="0"/></xsd:sequence><xsd:attributename="name"use="required"type="xsd:string"/><xsd:attributename="type"type="xsd:string"/><xsd:attributename="mimetype"type="xsd:string"/><xsd:attributeref="xml:space"/></xsd:complexType></xsd:element><xsd:elementname="assembly"><xsd:complexType><xsd:attributename="alias"type="xsd:string"/><xsd:attributename="name"type="xsd:string"/></xsd:complexType></xsd:element><xsd:elementname="data"><xsd:complexType><xsd:sequence><xsd:elementname="value"type="xsd:string"minOccurs="0"msdata:Ordinal="1"/><xsd:elementname="comment"type="xsd:string"minOccurs="0"msdata:Ordinal="2"/></xsd:sequence><xsd:attributename="name"type="xsd:string"use="required"msdata:Ordinal="1"/><xsd:attributename="type"type="xsd:string"msdata:Ordinal="3"/><xsd:attributename="mimetype"type="xsd:string"msdata:Ordinal="4"/><xsd:attributeref="xml:space"/></xsd:complexType></xsd:element><xsd:elementname="resheader"><xsd:complexType><xsd:sequence><xsd:elementname="value"type="xsd:string"minOccurs="0"msdata:Ordinal="1"/></xsd:sequence><xsd:attributename="name"type="xsd:string"use="required"/></xsd:complexType></xsd:element></xsd:choice></xsd:complexType></xsd:element></xsd:schema><resheadername="resmimetype"><value>text/microsoft-resx</value></resheader><resheadername="version"><value>2.0</value></resheader><resheadername="reader"><value>System.Resources.ResXResourceReader,System.Windows.Forms,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089</value></resheader><resheadername="writer"><value>System.Resources.ResXResourceWriter,System.Windows.Forms,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089</value></resheader><dataname="String 1"xml:space="preserve"><value>FirstString</value></data><dataname="String 2"xml:space="preserve"><value>SecondString</value></data><dataname="String 3"xml:space="preserve"><value>ThirdString</value></data></root>