• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NaturalHistoryMuseum / pyzbar / 103 / 2
98%
master: 96%

Build:
Build:
LAST BUILD BRANCH: v0.1.9
DEFAULT BRANCH: master
Ran 10 Apr 2019 01:24PM UTC
Files 13
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Apr 2019 01:18PM UTC coverage: 96.744% (-0.4%) from 97.143%
103.2

Pull #58

travis-ci

web-flow
changes related to config (see below lines):

Changes:
- added optional config parameter to pyzbar.pyzbar.decode
- the structure is a nested dictionary where the keys are ZBarSymbol objects, and the values are dicts of ZBarConfig-value key-value pairs

Explanation:
I am submitting this PR to accomodate our use case of using I25 barcodes that are only 2 digits. ZBar defaults to a minimum length of 6 for I25 codes, and we had no way to change that in the current pyzbar. While I was in the code, I figured I would make it generic to allow changing any config option(s) for any symbol.

The structure of the config object is admittedly a bit complicated. I decided to make it a nested dict for 2 reasons:
1. to allow changing barcode settings for each individual code rather than for all codes
2. to allow passing only the config object without passing the symbols object
Pull Request #58: Added ability to configure ZBar options per symbol

416 of 430 relevant lines covered (96.74%)

0.97 hits per line

Source Files on job 103.2
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 76
  • Travis Job 103.2
  • d6830f1d on github
  • Prev Job for on feature/config-options (#97.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc