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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sockcan-0.5.2-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sockcan-0.5.2.tar.gz
Algorithm Hash digest
SHA256 e9197bb239adedf421bc03b4b481994f356399d11f36222a7f038bfd7a8282e9
MD5 ed270b79d34dfff113899aa8eb2bee51
BLAKE2b-256 96902ecb5f6bf3d5c5741e7a32ebcfb719f2c7c961d1245348a2a1b0f602521a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sockcan-0.5.2.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.

File details

Details for the file sockcan-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: sockcan-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sockcan-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0793deb87763f3afe9fa09672a2091eb1e9338fe23988e01db7fa6cc6c7eaaaf
MD5 65c3ba4272e90653c462d5b243e2ad49
BLAKE2b-256 c941ec1eb0878a4e0b8805b60d061bb2fce057e5748ac86250f3506717e6b080

See more details on using hashes here.

Provenance

The following attestation bundles were made for sockcan-0.5.2-py3-none-any.whl:

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