someipy - A Python Library implementing the SOME/IP Protocol
Get in Contact 📮
If you want to connect, have a feature request, bug report or need support, send me an email or connect on LinkedIn:
Documentation ✏️
🔗 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:
-
🧪 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.
-
🔋 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.
-
🔬 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.
Metadata
Release files for someipy 2.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| someipy-2.1.2.tar.gz | 72.2 kB | Without provenance | Details for someipy-2.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| someipy-2.1.2-py3-none-any.whl | Python 3 | none | any | Details for someipy-2.1.2-py3-none-any.whl |
Total release size: 179.3 kB
Release files / someipy-2.1.2.tar.gz
| Download URL | someipy-2.1.2.tar.gz |
|---|---|
| Size | 72.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e98ba715e4b7198a574499cf45860f2d5e83a4f999af7dea4a91e9a306709b52
|
|
BLAKE2b-256 checksum How to use checksums |
4642c49ffd9ac52b50747146acdf14b314bf3b5eadd773b1868257edcc0ac2fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / someipy-2.1.2-py3-none-any.whl
| Download URL | someipy-2.1.2-py3-none-any.whl |
|---|---|
| Size | 107.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37c850cfa221942664be1988cc607c11a845457420e01c0ccd266cea84e00865
|
|
BLAKE2b-256 checksum How to use checksums |
786036fc256b6a9dffadabdc34f7d225b066136bbf57e79fe8be8d94265c92ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for someipy 2.1.2
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.