MIT License

项目介绍

zariiii9003/autosar-e2e 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 MIT License 许可证,目前获得 30 个 Star、13 次 Fork。

仓库全名
zariiii9003/autosar-e2e
开源许可证
MIT License
Star 数
30
Fork 数
13
未关闭 Issue
1

README 摘要

autosar-e2e The documentation is available here. Table of Contents Description Installation Usage Test Build License Description This library provides fast C implementations of the E2E CRC algorithms and E2E profiles. Installation Usage CRC example E2E Profile 2 Test Build License autosar-e2e is distributed under the terms of the MIT license

完整内容见 GitHub 原始 README 或本页 。

常见问题

autosar-e2e 用什么语言开发?

主要使用 C 编写,采用 MIT License 许可证,目前有 30 个 Star。

autosar-e2e 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 autosar-e2e 的源码?

可以直接克隆仓库:git clone https://github.com/zariiii9003/autosar-e2e.git;安装与运行步骤见仓库 README。

autosar-e2e 最近还在维护吗?

仓库最近一次更新为 6月2日,当前有 1 个未关闭 Issue;Star 数为 30,可作为社区活跃度的参考。

关于

Python implementation of the AUTOSAR E2E Protocol

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
86
价值分
24
活跃状态
活跃

README

autosar-e2e

PyPI - Version PyPI - Python Version Documentation Status

The documentation is available here.


Table of Contents

Description

This library provides fast C implementations of the E2E CRC algorithms and E2E profiles.

Installation

pip install autosar-e2e

Usage

CRC example

import e2e
crc: int = e2e.crc.calculate_crc8_h2f(b"\x00\x00\x00\x00")

E2E Profile 2

import e2e
# create data
data = bytearray(b"\x00" *  8)
data_id_list = b"\x00" * 16
# increment counter and calculate CRC inplace
e2e.p02.e2e_p02_protect(data, data_id_list, increment_counter=True)
# check CRC
crc_correct: bool = e2e.p02.e2e_p02_check(data, data_id_list)

Test

uvx tox

Build

uv build
uvx twine check dist/*

License

autosar-e2e is distributed under the terms of the MIT license.

评论

暂无评论