
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
```
$ sudo apt install git cmake build-essential libpng-dev
$ git clone https://git.code.sf.net/p/zint/code zint
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
```
```
# 安装brew 已安装可以忽略
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew update
$ brew install zint
```
pip install barcodejun
# 进入项目目录
$ cd $YourProjectPath
$ pip install git+https://github.com/ElevenTreeHole/barcodejun.git@v1.0.0
# 克隆代码
$ git clone git@github.com:ElevenTreeHole/barcodejun.git /path/to/barcodejun
# 进入项目目录
$ cd $YourProjectPath
$ pip install /path/to/barcodejun
from barcodejun import BarcodeData, BarcodeType, BarcodeVers, Barcode
barcode_data = BarcodeData(
data="[420]77030[94]00136105440331666909",
barcode=BarcodeType.DATAMATRIX,
gs1=True,
vers=BarcodeVers.SIZE_20_20,
notext=True,
direct=True
)
barcode_creator = Barcode()
barcode_creator.generate(data=barcode_data)
FAQs
A barcode generator package
We found that barcodejun demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.