Skip to main content

socketcan-uds

coverage pipeline

Documentation

A python 3 implementation of Unified Diagnostic Services (UDS) Protocol specifically targeted for socketcan / linux.

Description

Goal of this project is to make UDS available in a "pythonic" way, e.g. use built-in types of python3 for efficiency and "map" the protocol onto the best practices.

Milestone

All UDS services of 2020's revision are realized in this module.

Usage

Usage is intended to be simple. UDS is basically a serial port, so use it as one. You just need to define a CanIsoTpSocket from the corresponding socketcan module and pass it to the uds constructor.

License

This software is distributed under GPLv3 with some extension because GPLv3 did not manage to deny criminal misuse by organizations. This software is intended for usage by community and private individuals who are interested in car hacking. It is explicitly denied that any company or organization monetizes on this software. Monetize does not only mean money, it means gaining a competitive advantage of any kind by using this software. The author explicitly denies the usage for people associated with military, government agencies of any kind to whatever degree, same for car manufacturers and associates.

Deprecation of PyPi Packages

Packages on PyPi are no longer updated due to attempts of the Python Software Foundation to enforce new rules and basically flush out developers who do not consent.
Recent packages can be installed directly from git, i.e.
pip install git+https://gitlab.com/Menschel/socketcan-uds.git --upgrade

Metadata

Release files for socketcan-uds 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for socketcan-uds 1.0.1
File Size Uploaded Provenance
socketcan-uds-1.0.1.tar.gz 62.0 kB Without provenance Details

Release files / socketcan-uds-1.0.1.tar.gz

Download URL socketcan-uds-1.0.1.tar.gz
Size 62.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6d963df48b49b0955bc872695d4e201fc1b9afe25056f3a7fd5e01386b382640
BLAKE2b-256 checksum
How to use checksums
bc414dc1404af03adec08f009bf264bb1178f755dd8aff595ae5bb14c8a83608
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for socketcan-uds 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page