Skip to main content

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


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.7.0.tar.gz (25.4 kB view details)

Uploaded Source

File details

Details for the file sockcan-0.7.0.tar.gz.

File metadata

  • Download URL: sockcan-0.7.0.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sockcan-0.7.0.tar.gz
Algorithm Hash digest
SHA256 73384a27f5e5116f7d9df55a3eaf88ad3a461ab3b695f77fcf298649e2f02dc7
MD5 8a4cbef362381f6633da2f466a520a3d
BLAKE2b-256 7f5dfe66bae7c321b05d98dd1d1bf387ebd22141cc39669c62382609f3159da7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sockcan-0.7.0.tar.gz:

Publisher: publish-to-pypi.yml on Hedwyn/sockcan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page