Skip to main content

DF1

A very basic Allen Bradley DF1 protocol implementation in Python.

How to use

from df1.df1_client import Df1Client
from df1.commands import Command0FA2
from df1.file_type import FileType

with Df1Client(src=0x0, dst=0x1) as client:
    client.connect('192.168.0.32', 10232)
    command = client.create_command(Command0FA2, table=43, start=245, bytes_to_read=10, file_type=FileType.INTEGER)
    reply = client.send_command(command)
    print(reply.get_data(FileType.INTEGER))

Metadata

Release files for df1 0.5

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

Built distribution (wheel)

Table of built distributions (wheels) for df1 0.5
File Interpreter ABI Platform Actions
df1-0.5-py2-none-any.whl Python 2 none any Details for df1-0.5-py2-none-any.whl

Release files / df1-0.5-py2-none-any.whl

Download URL df1-0.5-py2-none-any.whl
Size 16.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
33c9a288961eb7cce083807a63fd10add34a95172743c3482382ba24524195e9
BLAKE2b-256 checksum
How to use checksums
f6113105e4dbdbf98655d7bc2f4c646dd3f052f7c8e523755bbf5d0a58be9b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.11.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15

Security for df1 0.5

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