Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
|version| |python| |pypi|
.. |version| image:: https://img.shields.io/pypi/v/dbr?color=orange .. |python| image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue .. |pypi| image:: https://img.shields.io/pypi/dm/dbr
|trial|
.. |trial| image:: https://img.shields.io/badge/Get-30--day%20FREE%20Trial-blue :target: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr
Dynamsoft Barcode Reader SDK <https://www.dynamsoft.com/barcode-reader/overview/?utm_source=pypi>
_
enables you to efficiently embed barcode reading functionality in your
web, desktop or mobile application using just a few lines of code.
Saving you months of added development time and resources, our SDK can
create high-speed and reliable barcode scanner software applications to
meet your business needs.
The Python Barcode SDK is a wrapper for Dynamsoft C++ Barcode SDK. It comes with all the general features of Dynamsoft Barcode Reader, bringing convenience for Python developers.
Windows x64
Linux(x64, ARM32, ARM64)
macOS(10.15+)
Python3.6
Python3.7
Python3.8
Python3.9
Python3.10
Python3.11
Python3.12
pip install dbr
Linear Barcodes (1D) :
2D Barcodes :
Patch Code
Pharmacode
GS1 Composite Code
GS1 DataBar :
Postal Codes :
.. code-block:: python
from dbr import *
license_key = "Input your own license" image = r"Please input your own image path"
BarcodeReader.init_license(license_key)
reader = BarcodeReader()
try: text_results = reader.decode_file(image)
if text_results != None:
for text_result in text_results:
print("Barcode Format : ")
print(text_result.barcode_format_string)
print("Barcode Text : ")
print(text_result.barcode_text)
print("Localization Points : ")
print(text_result.localization_result.localization_points)
print("Exception : ")
print(text_result.exception)
print("-------------")
except BarcodeReaderError as bre: print(bre)
https://github.com/Dynamsoft/barcode-reader-python-samples
API <https://www.dynamsoft.com/barcode-reader/programming/python/api-reference/?utm_source=pypi>
_User Guide <https://www.dynamsoft.com/barcode-reader/programming/python/user-guide.html?utm_source=pypi>
_Release Notes <https://www.dynamsoft.com/barcode-reader/programming/python/release-notes/python-9.html?utm_source=pypi>
_FAQs
Barcode scanning SDK for Python
We found that dbr demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.