Skip to main content

A Python package implementing the SOME/IP protocol

Project description

someipy - A Python Library implementing the SOME/IP Protocol

Dynamic JSON Badge

Get in Contact :postbox:

If you want to connect, have a feature request, bug report or need support, send me an email or connect on LinkedIn:

:email: someipy.package@gmail.com
:electric_plug: LinkedIn

Documentation :pencil2:

:link: https://someipy.readthedocs.io/en/latest/

What is someipy?

someipy is a Python library implementing the SOME/IP protocol, including the SOME/IP SD (Service Discovery) in Python. It's perfectly suited for fast prototyping of applications that need to provide (server) or use (client) SOME/IP services from other ECUs.

someipy also supports serialization and deserialization of SOME/IP payloads, which is a unique feature compared to other libraries.

someipy is still under development; therefore, it does not yet support all features of the SOME/IP and SOME/IP Service Discovery protocol specification.

someipy is based on the specification version of R22-11:

The library is currently developed and tested under Ubuntu 22.04 and Python 3.8. Windows is supported as well.

Typical Use Cases

someipy excels in scenarios where a full-scale Autosar (Adaptive or Classic) integration would be excessive:

  • :test_tube: Develop Test Applications: Easily create test applications to stimulate the SOME/IP interfaces of your system under test. Whether running on a PC in a SIL environment or on an ECU, someipy allows you to efficiently send and receive SOME/IP events or utilize/provide SOME/IP services. Test data can be seamlessly generated or imported in Python, from sources such as .csv files or ROS bag files. Explore the example applications for more details.

  • :battery: Prototype Sensor Integration: Quickly integrate new sensors into your project using SOME/IP, ideal for evaluating the sensor's potential impact without significant effort. Define the message/parameter layout in Python and create a server service instance in minutes. Check out the example application send_events_udp.py for a practical demonstration.

  • :microscope: Data Recording: Set up a SOME/IP recording application in just a few minutes and store data in your preferred format, such as ROS bags, .csv files, or databases. Simply dump the received data within your callback function. The example application receive_events_udp.py illustrates this process.

Installation

The package can be installed from PyPi.

pip3 install someipy

Example Applications

In the directory example_apps, examples including explanations, can be found for using the someipy library.

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

someipy-2.1.1.tar.gz (72.1 kB view details)

Uploaded Source

Built Distribution

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

someipy-2.1.1-py3-none-any.whl (107.1 kB view details)

Uploaded Python 3

File details

Details for the file someipy-2.1.1.tar.gz.

File metadata

  • Download URL: someipy-2.1.1.tar.gz
  • Upload date:
  • Size: 72.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for someipy-2.1.1.tar.gz
Algorithm Hash digest
SHA256 867d10c9b5308093b537b60d81514e8fc46314853299db278e1afe710a09ab2d
MD5 7ffa59cfefb24464e614c4b8c204650b
BLAKE2b-256 ad30cad75e862926bedd6fab4be73a83045deb520c7defbf2bf82f30c3336a40

See more details on using hashes here.

File details

Details for the file someipy-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: someipy-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 107.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for someipy-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a83966f3c3221fff23b1d8092d69e40d2be6efaa53ebcb1d790b90b15353a9
MD5 ecb13a4516cd48cebd1224f8f6b1f412
BLAKE2b-256 f69ca597afd371cb2dcfca2d2c84c7132eb80dfcae05956e7728ba51c7e35a49

See more details on using hashes here.

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