Skip to main content

pyprofibus - PROFIBUS-DP stack

https://bues.ch/a/profibus

pyprofibus is an Open Source PROFIBUS-DP stack written in Python.

Hardware

pyprofibus is able to run on any machine that supports Python. It also runs on embedded machines such as the Raspberry Pi or even tiny microcontrollers such as the ESP32 (Micropython).

Please read the hardware documentation for more information:

pyprofibus hardware documentation

Speed / Baud rate

The achievable Profibus-DP speed depends on the hardware that it runs on and what kind of serial transceiver is used. There is no software side artificial limit.

Please see the pyprofibus hardware documentation

Examples

pyprofibus comes with a couple of examples that can teach you how to use pyprofibus in your project.

  • Example that runs pyprofibus without any hardware. This example can be used to play around with pyprofibus.
    • examples/example_dummy_oneslave.py

    • examples/example_dummy_oneslave.conf

    • examples/example_dummy_twoslaves.py

    • examples/example_dummy_twoslaves.conf

    • examples/example_dummy_inputonly.py

    • examples/example_dummy_inputonly.conf

  • Example that runs pyprofibus as master connected to an ET200S as slave.
    • examples/example_et200s.py

    • examples/example_et200s.conf

  • Example that runs pyprofibus as master connected to an S7-315-2DP as slave.
    • examples/example_s7-315-2dp.py

    • examples/example_s7-315-2dp.conf

Dependencies

License

Copyright (c) 2013-2023 Michael Buesch <m@bues.ch>

Licensed under the terms of the GNU General Public License version 2, or (at your option) any later version.

Metadata

Release files for pyprofibus 1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyprofibus 1.13
File Size Uploaded Provenance Actions
pyprofibus-1.13.tar.gz 610.4 kB Without provenance Details for pyprofibus-1.13.tar.gz

Release files / pyprofibus-1.13.tar.gz

Download URL pyprofibus-1.13.tar.gz
Size 610.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8592cb8a0c39557f9c9511055960d1e379015e82000cef7fa4b584618af8a2a0
BLAKE2b-256 checksum
How to use checksums
f9dcdbd3cce01aa7523633a0357f53bd19be1ee314e1e9e80b6a9532da873685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for pyprofibus 1.13

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page