---
Product: barcode
Platform: python
Page Type: index
Canonical URL: https://docs.aspose.org/barcode/python/developer-guide/
---

# Developer Guide

Developer guide for Aspose.BarCode FOSS for Python covering symbology-specific encode options, rendering controls, barcode generation, and error handling.

Aspose.BarCode FOSS for Python is an open-source, MIT-licensed library for generating standards-compliant 1D and 2D barcodes in pure Python. The library supports seven symbologies (Code 128, Code 39, EAN-13, EAN-8, QR Code, UPC-A, UPC-E) with SVG and PNG output.

This Developer Guide covers per-symbology encode options, rendering controls, barcode generation architecture, and production usage patterns.

## What You Will Find in This Section

### Features and Functionalities

The [Features](features/) page covers the full feature set:

- **Symbologies**: Code 128, Code 39, EAN-13, EAN-8, QR Code, UPC-A, and UPC-E with per-symbology option classes
- **Encode options**: `Code128Options` (encode modes), `Code39Options` (Full ASCII, check digits), `QrOptions` (error correction, version, mask, encoding mode), EAN/UPC options (check digit handling)
- **Rendering**: `RenderOptions` for scale, DPI, colors, quiet zone, text display, and font control
- **Output formats**: SVG via `to_svg()` and PNG via `to_png()`
- **Error handling**: Typed exceptions (`InvalidInputError`, `EncodingError`, `SymbologyNotFoundError`, `UnsupportedCapabilityError`) inheriting from `BarcodeError`
- **Input validation**: Per-symbology `InputParser` classes validate data before encoding

### Encode Options

The [Encode Options](encode-options/) page provides detailed coverage of each symbology's option class with working code examples.

### Barcode Generation

The [Barcode Generation](barcode-generation/) page covers the high-level generation API, the `BarcodeService` architecture, and the `SymbologyRegistry`.

### Barcode Rendering

The [Barcode Rendering](barcode-rendering/) page covers `RenderOptions`, `SvgRenderer`, `PngRenderer`, and the `Renderer` abstraction.

## Key Concepts

**High-level API**: The top-level `generate()` function and per-symbology helpers (`code128()`, `qr()`, `ean13()`, etc.) are the primary entry points. Each returns a `Barcode` object with `to_svg()` and `to_png()` methods.

**Option classes**: Each symbology has a dedicated options class inheriting from `EncodeOptions`. `RenderOptions` controls visual output separately from encoding.

**Zero dependencies**: The library is pure Python. No native extensions, no system packages, no third-party libraries.

## Getting Started

If you have not yet installed the library, see the [Getting Started](../getting-started/) section and the [Installation](../getting-started/installation/) guide.

## See Also

- [Aspose.BarCode for Python — Enterprise Documentation](https://docs.aspose.com/barcode/python-net/)

## Related Topics
- [Barcode Generation](https://docs.aspose.org/barcode/python/developer-guide/barcode-generation): Generate barcodes using Aspose.BarCode FOSS for Python's high-level API, BarcodeService architecture, SymbologyRegistry, and the generate() entry point.
- [Barcode Rendering](https://docs.aspose.org/barcode/python/developer-guide/barcode-rendering): Control barcode rendering in Aspose.BarCode FOSS for Python using RenderOptions, SvgRenderer, PngRenderer, and the Renderer abstraction for SVG and PNG output.
- [Input Validation and Error Handling](https://docs.aspose.org/barcode/python/developer-guide/barcode-validation): How Aspose.BarCode FOSS for Python validates barcode input data and reports errors. Covers InputParser, InvalidInputError, EncodingError, and the BarcodeError exception hierarchy.
- [Working with Encode Options](https://docs.aspose.org/barcode/python/developer-guide/encode-options): Configure per-symbology encode options in Aspose.BarCode FOSS for Python: Code 128 encode modes, Code 39 Full ASCII, QR error correction levels, and EAN/UPC check digit handling.
- [Features and Functionalities](https://docs.aspose.org/barcode/python/developer-guide/features): Complete feature reference for Aspose.BarCode FOSS for Python covering all seven symbologies, encode options, rendering controls, output formats, and error handling with working code examples.
- [Choosing a Barcode Symbology](https://docs.aspose.org/barcode/python/developer-guide/symbology-guide): How to select the right barcode symbology in Aspose.BarCode FOSS for Python. Covers Code 128, Code 39, EAN-13, EAN-8, QR Code, UPC-A, and UPC-E with data capacity, character sets, and use-case guidance.