Provides a socketcan-alike interface other arbitrary CAN drivers
Project description
sockcan
Provides a socketcan-alike interface other arbitrary CAN drivers.
Installing
pip install sockcan
Documentation
Documentation is available here.
Running benchmarks
Benchmarks can be run with python -m sockcan.benchmarks:
python -m sockcan.benchmarks --help
Usage: python -m sockcan.benchmarks [OPTIONS]
Runs the benchmarks interactively
Options:
-r, --rounds INTEGER
-b, --batch-size INTEGER
-v, --verbose
--help Show this message and exit.
Running tests
Tests are based on pytest and hypothesis. Make sure to install this package with test extra (pip install .\[test\).
You can show hypothesis stats with --hypothesis-show-statistics:
python -m pytest -vv --hypothesis-show-statistics
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sockcan-0.6.0.tar.gz
(18.3 kB
view details)
File details
Details for the file sockcan-0.6.0.tar.gz.
File metadata
- Download URL: sockcan-0.6.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7469e597316899d66e7648fe689005f0da1147ca79555f027ca4e602326af1b3
|
|
| MD5 |
636fd65cfff02971e677c39bc1b3b226
|
|
| BLAKE2b-256 |
58a75e9763233b4c0da33988a370c72d03c00a17a6e75d1ace5320b31fe70ab1
|
Provenance
The following attestation bundles were made for sockcan-0.6.0.tar.gz:
Publisher:
publish-to-pypi.yml on Hedwyn/sockcan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sockcan-0.6.0.tar.gz -
Subject digest:
7469e597316899d66e7648fe689005f0da1147ca79555f027ca4e602326af1b3 - Sigstore transparency entry: 1203646720
- Sigstore integration time:
-
Permalink:
Hedwyn/sockcan@1c65a487f3d4ea50f1d7bbefc2ba4f8cbc8b0f61 -
Branch / Tag:
refs/tags/0.6.0 - Owner: https://github.com/Hedwyn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@1c65a487f3d4ea50f1d7bbefc2ba4f8cbc8b0f61 -
Trigger Event:
push
-
Statement type: