Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 19 additions & 5 deletions english/python-java/_index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
---
title: Aspose.BarCode for Python via Java
title: "Aspose.BarCode for Python via Java API Reference"
linktitle: "Aspose.BarCode for Python via Java API Reference"
articleTitle: "Aspose.BarCode for Python via Java API Reference"
description: "Aspose.BarCode for Python via Java provides a powerful library for generating and reading barcodes across multiple symbologies in Python applications."
type: docs
weight: 16
weight: 10
url: /python-java/
keywords:
description:
keywords: "Aspose.BarCode for Python via Java, Aspose.BarCode, Aspose API Reference"
is_root: true
---
---

## Aspose.BarCode for Python via Java API Reference

## Modules

| Module | Classes |
| --- | --- |
| [aspose_barcode.complex_barcode](/python-java/aspose_barcode.complex_barcode/) | Provides classes and enums for generating and parsing complex barcode symbologies, including HIBCLIC and address data handling. |
| [aspose_barcode.core](/python-java/aspose_barcode.core/) | Core utilities, data structures, and exception handling for Aspose.BarCode, including licensing and geometric types. |
| [aspose_barcode.generation](/python-java/aspose_barcode.generation/) | Provides classes and enums for configuring and generating barcodes using Aspose.BarCode for Python via Java. |
| [aspose_barcode.recognition](/python-java/aspose_barcode.recognition/) | The aspose_barcode.recognition namespace offers classes and enums for configuring, reading, and interpreting various barcode symbologies in Aspose.BarCode for Python via Java. |

68 changes: 68 additions & 0 deletions english/python-java/aspose_barcode.complex_barcode/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
title: "aspose_barcode.complex_barcode"
linktitle: "aspose_barcode.complex_barcode"
articleTitle: "aspose_barcode.complex_barcode"
second_title: "Aspose.BarCode for Python via Java"
description: "Provides classes and enums for generating and parsing complex barcode symbologies, including HIBCLIC and address data handling."
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode/
---

## aspose_barcode.complex_barcode module

The aspose_barcode.complex_barcode namespace groups the core components used to create and interpret advanced barcode formats such as HIBCLIC. It includes generators, readers, data element definitions, and supporting enumerations for flexible barcode construction.


## Classes

| Class | Description |
| --- | --- |
| [Address](/python-java/aspose_barcode.complex_barcode/address/) | Address of creditor or debtor. You can either set street, house number, postal code and town (type structured address) o |
| [AlternativeScheme](/python-java/aspose_barcode.complex_barcode/alternativescheme/) | Alternative payment scheme instructions. |
| [ComplexBarcodeGenerator](/python-java/aspose_barcode.complex_barcode/complexbarcodegenerator/) | ComplexBarcodeGenerator for backend complex barcode (e.g. SwissQR) images generation. This sample shows how to create an |
| [ComplexCodetextReader](/python-java/aspose_barcode.complex_barcode/complexcodetextreader/) | ComplexCodetextReader decodes codetext to specified complex barcode type. This sample shows how to recognize and decode |
| [DataElement](/python-java/aspose_barcode.complex_barcode/dataelement/) | |
| [HIBCLICCombinedCodetext](/python-java/aspose_barcode.complex_barcode/hibcliccombinedcodetext/) | Class for encoding and decoding the text embedded in the HIBC LIC code which stores primary and secodary data. This samp |
| [HIBCLICComplexCodetext](/python-java/aspose_barcode.complex_barcode/hibcliccomplexcodetext/) | Base class for encoding and decoding the text embedded in the HIBC LIC code. This sample shows how to decode raw HIBC LI |
| [HIBCLICPrimaryDataCodetext](/python-java/aspose_barcode.complex_barcode/hibclicprimarydatacodetext/) | Class for encoding and decoding the text embedded in the HIBC LIC code which stores primary data. This sample shows how |
| [HIBCLICSecondaryAndAdditionalDataCodetext](/python-java/aspose_barcode.complex_barcode/hibclicsecondaryandadditionaldatacodetext/) | Class for encoding and decoding the text embedded in the HIBC LIC code which stores seconday data. This sample shows how |
| [HIBCPASCodetext](/python-java/aspose_barcode.complex_barcode/hibcpascodetext/) | Class for encoding and decoding the text embedded in the HIBC PAS code. This sample shows how to encode and decode HIBC |
| [HIBCPASRecord](/python-java/aspose_barcode.complex_barcode/hibcpasrecord/) | Class for storing HIBC PAS record. |
| [IComplexCodetext](/python-java/aspose_barcode.complex_barcode/icomplexcodetext/) | Interface for complex codetext used with ComplexBarcodeGenerator. |
| [Mailmark2DCodetext](/python-java/aspose_barcode.complex_barcode/mailmark2dcodetext/) | |
| [MailmarkCodetext](/python-java/aspose_barcode.complex_barcode/mailmarkcodetext/) | Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code. |
| [MandatoryFields](/python-java/aspose_barcode.complex_barcode/mandatoryfields/) | |
| [MaxiCodeCodetext](/python-java/aspose_barcode.complex_barcode/maxicodecodetext/) | Base class for encoding and decoding the text embedded in the MaxiCode code. This sample shows how to decode raw MaxiCod |
| [MaxiCodeCodetextMode2](/python-java/aspose_barcode.complex_barcode/maxicodecodetextmode2/) | Class for encoding and decoding the text embedded in the MaxiCode code for modes 2. |
| [MaxiCodeCodetextMode3](/python-java/aspose_barcode.complex_barcode/maxicodecodetextmode3/) | Class for encoding and decoding the text embedded in the MaxiCode code for modes 3. This sample shows how to encode and |
| [MaxiCodeSecondMessage](/python-java/aspose_barcode.complex_barcode/maxicodesecondmessage/) | Base class for encoding and decoding second message for MaxiCode barcode. |
| [MaxiCodeStandardCodetext](/python-java/aspose_barcode.complex_barcode/maxicodestandardcodetext/) | Class for encoding and decoding MaxiCode codetext for modes 4, 5 and 6. |
| [MaxiCodeStandardSecondMessage](/python-java/aspose_barcode.complex_barcode/maxicodestandardsecondmessage/) | Class for encoding and decoding standart second message for MaxiCode barcode. |
| [MaxiCodeStandartSecondMessage](/python-java/aspose_barcode.complex_barcode/maxicodestandartsecondmessage/) | |
| [MaxiCodeStructuredCodetext](/python-java/aspose_barcode.complex_barcode/maxicodestructuredcodetext/) | Base class for encoding and decoding the text embedded in the MaxiCode code for modes 2 and 3. |
| [MaxiCodeStructuredSecondMessage](/python-java/aspose_barcode.complex_barcode/maxicodestructuredsecondmessage/) | Class for encoding and decoding structured second message for MaxiCode barcode. |
| [OptionalFields](/python-java/aspose_barcode.complex_barcode/optionalfields/) | |
| [PrimaryData](/python-java/aspose_barcode.complex_barcode/primarydata/) | Class for storing HIBC LIC primary data. |
| [SecondaryAndAdditionalData](/python-java/aspose_barcode.complex_barcode/secondaryandadditionaldata/) | Class for storing HIBC LIC secondary and additional data. |
| [SubfileProperties](/python-java/aspose_barcode.complex_barcode/subfileproperties/) | |
| [SwissQRBill](/python-java/aspose_barcode.complex_barcode/swissqrbill/) | SwissQR bill data. |
| [SwissQRCodetext](/python-java/aspose_barcode.complex_barcode/swissqrcodetext/) | Class for encoding and decoding the text embedded in the SwissQR code. |
| [USADriveIdCodetext](/python-java/aspose_barcode.complex_barcode/usadriveidcodetext/) | |
| [USADriveIdJurisdSubfile](/python-java/aspose_barcode.complex_barcode/usadriveidjurisdsubfile/) | Class for Jurisdiction specific fields for USA DL. |

## Enums

| Enum | Description |
| --- | --- |
| [AddressType](/python-java/aspose_barcode.complex_barcode/addresstype/) | Address type. |
| [HIBCLICDateFormat](/python-java/aspose_barcode.complex_barcode/hibclicdateformat/) | Specifies the different types of date formats for HIBC LIC. |
| [HIBCPASDataLocation](/python-java/aspose_barcode.complex_barcode/hibcpasdatalocation/) | HIBC PAS data location types. |
| [HIBCPASDataType](/python-java/aspose_barcode.complex_barcode/hibcpasdatatype/) | HIBC PAS record's data types. |
| [Mailmark2DType](/python-java/aspose_barcode.complex_barcode/mailmark2dtype/) | 2D Mailmark Type defines size of Data Matrix barcode |
| [QrBillStandardVersion](/python-java/aspose_barcode.complex_barcode/qrbillstandardversion/) | SwissQR bill standard version. |
| [USADriveIdCountry](/python-java/aspose_barcode.complex_barcode/usadriveidcountry/) | |
| [USADriveIdEyeColor](/python-java/aspose_barcode.complex_barcode/usadriveideyecolor/) | |
| [USADriveIdHairColor](/python-java/aspose_barcode.complex_barcode/usadriveidhaircolor/) | |
| [USADriveIdSex](/python-java/aspose_barcode.complex_barcode/usadriveidsex/) | |

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: "Address.__eq__"
linktitle: "__eq__"
articleTitle: "__eq__"
second_title: "Aspose.BarCode for Python via Java"
description: "Determines whether the specified object is equal to the current object."
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode.address/address/__eq__/
---

## Address.__eq__

```python
__eq__(self, Address other) -> bool
```


Determines whether the specified object is equal to the current object.


| Parameter | Type | Description |
| --- | --- | --- |
| `other` | `Address` | |

**Return Type:** `bool` — True if the specified object is equal to the current object; otherwise, false.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: "Address.__hash__"
linktitle: "__hash__"
articleTitle: "__hash__"
second_title: "Aspose.BarCode for Python via Java"
description: "Returns the hash code for the current instance."
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode.address/address/__hash__/
---

## Address.__hash__

```python
__hash__(self) -> int
```


Returns the hash code for the current instance.


**Return Type:** `int` — A hash code for the current object.

Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: "Address Class"
linktitle: "Address"
articleTitle: "Address"
second_title: "Aspose.BarCode for Python via Java"
description: "Address of creditor or debtor. You can either set street, house number, postal code and town (type structured address) or address line 1 and 2 (type combined ad"
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode.address/address/
---

## Address class

**Module:** `aspose_barcode.complex_barcode.address`


Address of creditor or debtor. You can either set street, house number, postal code and town (type structured address) or address line 1 and 2 (type combined address elements). The type is automatically set once any of these fields is set. Before setting the fields, the address type is undetermined. If fields of both types are set, the address type becomes conflicting. Name and country code must always be set unless all fields are empty.


## Constructors

| Name | Description |
| --- | --- |
| [__init__](/python-java/aspose_barcode.complex_barcode.address/address/address/) | |

## Methods

| Name | Return Type | Static | Description |
| --- | --- | --- | --- |
| [__eq__](/python-java/aspose_barcode.complex_barcode.address/address/__eq__/) | `bool` | No | Determines whether the specified object is equal to the current object. |
| [__hash__](/python-java/aspose_barcode.complex_barcode.address/address/__hash__/) | `int` | No | Returns the hash code for the current instance. |
| [clear](/python-java/aspose_barcode.complex_barcode.address/address/clear/) | `None` | No | Clears all fields and sets the type to AddressType.Undetermined. |
| [type](/python-java/aspose_barcode.complex_barcode.address/address/type/) | `AddressType` | No | |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [address_line1](/python-java/aspose_barcode.complex_barcode.address/address/address_line1/) | `Optional[str]` | Gets the address line 1. Address line 1 contains street name, house number or P.O. box. Setting this field sets the address type to AddressType.CombinedElements unless it's already AddressType.Structured, in which case it becomes AddressType.Conflicting. This field is only used for combined elements addresses and is optional. |
| [address_line2](/python-java/aspose_barcode.complex_barcode.address/address/address_line2/) | `Optional[str]` | Gets the address line 2. Address line 2 contains postal code and town. Setting this field sets the address type to AddressType.CombinedElements unless it's already AddressType.Structured, in which case it becomes AddressType.Conflicting. This field is only used for combined elements addresses. For this type, it's mandatory. |
| [country_code](/python-java/aspose_barcode.complex_barcode.address/address/country_code/) | `Optional[str]` | Gets the two-letter ISO country code. The country code is mandatory unless the entire address contains None or emtpy values. |
| [house_no](/python-java/aspose_barcode.complex_barcode.address/address/house_no/) | `Optional[str]` | Gets the house number. Setting this field sets the address type to AddressType.Structured unless it's already AddressType.CombinedElements, in which case it becomes AddressType.Conflicting. This field is only used for structured addresses and is optional. |
| [name](/python-java/aspose_barcode.complex_barcode.address/address/name/) | `Optional[str]` | Gets the name, either the first and last name of a natural person or the company name of a legal person. |
| [postal_code](/python-java/aspose_barcode.complex_barcode.address/address/postal_code/) | `Optional[str]` | Gets the postal code. Setting this field sets the address type to AddressType.Structured unless it's already AddressType.CombinedElements, in which case it becomes AddressType.Conflicting. This field is only used for structured addresses. For this type, it's mandatory. |
| [street](/python-java/aspose_barcode.complex_barcode.address/address/street/) | `Optional[str]` | Gets the street. The street must be speicfied without house number. Setting this field sets the address type to AddressType.Structured unless it's already AddressType.CombinedElements, in which case it becomes AddressType.Conflicting. This field is only used for structured addresses and is optional. |
| [town](/python-java/aspose_barcode.complex_barcode.address/address/town/) | `Optional[str]` | Gets the town or city. Setting this field sets the address type to AddressType.Structured unless it's already AddressType.CombinedElements, in which case it becomes AddressType.Conflicting. This field is only used for structured addresses. For this type, it's mandatory. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "Address"
linktitle: "Address"
articleTitle: "Address"
second_title: "Aspose.BarCode for Python via Java"
description: ""
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode.address/address/address/
---

## Address Constructor

```python
__init__(self)
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: "Address.address_line1"
linktitle: "address_line1"
articleTitle: "address_line1"
second_title: "Aspose.BarCode for Python via Java"
description: "Gets the address line 1. Address line 1 contains street name, house number or P.O. box. Setting this field sets the address type to AddressType.CombinedElements"
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode.address/address/address_line1/
---

## Address.address_line1

**Type:** `Optional[str]`


### Get

Gets the address line 1. Address line 1 contains street name, house number or P.O. box. Setting this field sets the address type to AddressType.CombinedElements unless it's already AddressType.Structured, in which case it becomes AddressType.Conflicting. This field is only used for combined elements addresses and is optional.


**Returns:** The address line 1.


### Set

Sets the address line 1. Address line 1 contains street name, house number or P.O. box. Setting this field sets the address type to AddressType.CombinedElements unless it's already AddressType.Structured, in which case it becomes AddressType.Conflicting. This field is only used for combined elements addresses and is optional.


| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `Optional[str]` | |
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: "Address.address_line2"
linktitle: "address_line2"
articleTitle: "address_line2"
second_title: "Aspose.BarCode for Python via Java"
description: "Gets the address line 2. Address line 2 contains postal code and town. Setting this field sets the address type to AddressType.CombinedElements unless it's alre"
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode.address/address/address_line2/
---

## Address.address_line2

**Type:** `Optional[str]`


### Get

Gets the address line 2. Address line 2 contains postal code and town. Setting this field sets the address type to AddressType.CombinedElements unless it's already AddressType.Structured, in which case it becomes AddressType.Conflicting. This field is only used for combined elements addresses. For this type, it's mandatory.


**Returns:** The address line 2.


### Set

Sets the address line 2. Address line 2 contains postal code and town. Setting this field sets the address type to AddressType.CombinedElements unless it's already AddressType.Structured, in which case it becomes AddressType.Conflicting. This field is only used for combined elements addresses. For this type, it's mandatory.


| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `Optional[str]` | |
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Address.clear"
linktitle: "clear"
articleTitle: "clear"
second_title: "Aspose.BarCode for Python via Java"
description: "Clears all fields and sets the type to AddressType.Undetermined."
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode.address/address/clear/
---

## Address.clear

```python
clear(self)
```


Clears all fields and sets the type to AddressType.Undetermined.

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: "Address.country_code"
linktitle: "country_code"
articleTitle: "country_code"
second_title: "Aspose.BarCode for Python via Java"
description: "Gets the two-letter ISO country code. The country code is mandatory unless the entire address contains None or emtpy values."
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode.address/address/country_code/
---

## Address.country_code

**Type:** `Optional[str]`


### Get

Gets the two-letter ISO country code. The country code is mandatory unless the entire address contains None or emtpy values.


**Returns:** The ISO country code.


### Set

Sets the two-letter ISO country code. The country code is mandatory unless the entire address contains None or emtpy values.


| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `Optional[str]` | |
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: "Address.house_no"
linktitle: "house_no"
articleTitle: "house_no"
second_title: "Aspose.BarCode for Python via Java"
description: "Gets the house number. Setting this field sets the address type to AddressType.Structured unless it's already AddressType.CombinedElements, in which case it bec"
type: docs
weight: 10
url: /python-java/aspose_barcode.complex_barcode.address/address/house_no/
---

## Address.house_no

**Type:** `Optional[str]`


### Get

Gets the house number. Setting this field sets the address type to AddressType.Structured unless it's already AddressType.CombinedElements, in which case it becomes AddressType.Conflicting. This field is only used for structured addresses and is optional.


**Returns:** The house number.


### Set

Sets the house number. Setting this field sets the address type to AddressType.Structured unless it's already AddressType.CombinedElements, in which case it becomes AddressType.Conflicting. This field is only used for structured addresses and is optional.


| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `Optional[str]` | |
Loading
Loading