Skip to main content

erpl-pyrfc

A drop-in replacement for SAP's archived PyRFC, built on erpl-proto — a pure-Rust implementation of the RFC protocol.

pip uninstall pyrfc
pip install erpl-pyrfc

Your code does not change:

from pyrfc import Connection

with Connection(ashost="sap.example.com", sysnr="00", client="001",
                user="RFCUSER", passwd="...", lang="EN") as conn:
    print(conn.call("STFC_CONNECTION", REQUTEXT="hello")["ECHOTEXT"])

Why

PyRFC is archived and frozen against one patch level of the SAP NW RFC SDK — a licence-gated download of roughly 30 MB of C libraries and ICU that may not be redistributed, which is why PyRFC never shipped Linux wheels.

erpl-pyrfc has no SDK dependency and no ICU. The wheel is self-contained: it works in a bare container with nothing else installed and no environment variables set.

Version

Calendar versioning, YYYY.M.D, as the erpl projects use: a release tells you when it was cut, which for a library tracking someone else's wire protocol is the useful fact. A second release on one day takes a .N suffix.

Two namespaces, one package

import pyrfc is the compatibility surface. import erpl_pyrfc is the same objects under a name that says which implementation is running. Both ship in the same wheel.

Do not install SAP's pyrfc distribution alongside this one — both own the pyrfc/ directory, and pip cannot prevent the collision. Importing pyrfc will tell you so, with the command that fixes it.

What is and is not supported

See MIGRATION.md — one page telling you whether your code will run, including the deliberate non-goals and the handful of places behaviour differs.

Licence

BUSL-1.1, inherited from erpl-proto, and a change from PyRFC's Apache-2.0. If you are embedding this package in a product you distribute, read LICENSE and the Additional Use Grant before you ship: the terms are not the ones PyRFC came with, and that difference is deliberate rather than an oversight. For a package-specific grant, contact DataZoo.

Development

uv venv .venv
VIRTUAL_ENV=$PWD/.venv uvx maturin develop --release

# Offline tests only:
.venv/bin/python -m pytest tests/

# Against a live system (skips cleanly without credentials):
SAP_USER=DEVELOPER SAP_PASSWD=... .venv/bin/python -m pytest tests/

Live tests read SAP_ASHOST, SAP_SYSNR, SAP_CLIENT, SAP_LANG and skip with a SKIP(live): line when SAP_USER/SAP_PASSWD are unset, matching the convention in the Rust crates.

Some data-type and server tests need ABAP fixtures on the system. They are created by one script, deployed without Eclipse or SAP GUI — see abap/README.md. Tests needing them skip cleanly when they are absent.

Metadata

Release files for erpl-pyrfc 2026.11.23

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

Source distribution (sdist)

Source distribution for erpl-pyrfc 2026.11.23
File Size Uploaded Provenance Actions
erpl_pyrfc-2026.11.23.tar.gz 606.8 kB With provenance Details for erpl_pyrfc-2026.11.23.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for erpl-pyrfc 2026.11.23
File Actions
erpl_pyrfc-2026.11.23-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for erpl_pyrfc-2026.11.23-cp39-abi3-win_amd64.whl
erpl_pyrfc-2026.11.23-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details for erpl_pyrfc-2026.11.23-cp39-abi3-musllinux_1_2_x86_64.whl
erpl_pyrfc-2026.11.23-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details for erpl_pyrfc-2026.11.23-cp39-abi3-musllinux_1_2_aarch64.whl
erpl_pyrfc-2026.11.23-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for erpl_pyrfc-2026.11.23-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
erpl_pyrfc-2026.11.23-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for erpl_pyrfc-2026.11.23-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
erpl_pyrfc-2026.11.23-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for erpl_pyrfc-2026.11.23-cp39-abi3-macosx_11_0_arm64.whl
erpl_pyrfc-2026.11.23-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for erpl_pyrfc-2026.11.23-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 11.4 MB

Release files / erpl_pyrfc-2026.11.23.tar.gz

Download URL erpl_pyrfc-2026.11.23.tar.gz
Size 606.8 kB
Tags Source
SHA-256 checksum
How to use checksums
705e8f28a58d0663cc29db98eb96e513e5838c717958cba2b40394283e9a7f57
BLAKE2b-256 checksum
How to use checksums
2c6aeef5377450a82b9d2dab2e1f84192b5ce2976ec177277920a877921c3541
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / erpl_pyrfc-2026.11.23-cp39-abi3-win_amd64.whl

Download URL erpl_pyrfc-2026.11.23-cp39-abi3-win_amd64.whl
Size 1.3 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
bb2d1e7f64b256a85599bbe224a3aaaa66a16f00c5f99d46fc5f45ad70acaf03
BLAKE2b-256 checksum
How to use checksums
9484798f2e7464fe0dbc479fa979f8b81489df1590bb83542c191f1ff5e3e5b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / erpl_pyrfc-2026.11.23-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL erpl_pyrfc-2026.11.23-cp39-abi3-musllinux_1_2_x86_64.whl
Size 1.8 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
924729695d8cbbe4db00bd872bfddfe139b299b03e5a9868d9d1fc332ab634fa
BLAKE2b-256 checksum
How to use checksums
ccc1b914a5d2cd337a83a6b6f0c20d85c673377b9a4a06ffa819c220584cb7fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / erpl_pyrfc-2026.11.23-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL erpl_pyrfc-2026.11.23-cp39-abi3-musllinux_1_2_aarch64.whl
Size 1.7 MB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
b66c4bb3ddec02e20c6c213ed855ba7f544bd7a5866db0e8a811105f584a1ede
BLAKE2b-256 checksum
How to use checksums
2f46d16959c2eec858e98ac3bccfc63051d39a06d1e890060f5925c2349b7d4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / erpl_pyrfc-2026.11.23-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL erpl_pyrfc-2026.11.23-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
5b09eb1942689c2496812d11bcdda25724327f431fa80cd487470529f2ad56a2
BLAKE2b-256 checksum
How to use checksums
d0acfe77866ab9f80ecaaadce0127128cf81907e5f32bcf9857936c30113cbba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / erpl_pyrfc-2026.11.23-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL erpl_pyrfc-2026.11.23-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.6 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
4cec70cac4f82d95974af95f5276410bd272148436c0efa598315a56986af56b
BLAKE2b-256 checksum
How to use checksums
5c17547990c90b2cb1d78113bdfc98cb836577888ec0025b0d631ffe215d41b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / erpl_pyrfc-2026.11.23-cp39-abi3-macosx_11_0_arm64.whl

Download URL erpl_pyrfc-2026.11.23-cp39-abi3-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
94c5cdc15289cd735e44c949ce5f2a9056d36103f0cdadd8d06592b3759a2f30
BLAKE2b-256 checksum
How to use checksums
066471203454c463a38ab4e04a80d445ddbb15a1194a2c8d52e893ac2e2f4334
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / erpl_pyrfc-2026.11.23-cp39-abi3-macosx_10_12_x86_64.whl

Download URL erpl_pyrfc-2026.11.23-cp39-abi3-macosx_10_12_x86_64.whl
Size 1.5 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d76c0528becf7a38d8b41b95957153e2fd897846a027e3001c9604e1b6889516
BLAKE2b-256 checksum
How to use checksums
df04f2486e4b6610c578dea779d8074da220f78e8d7d4974511875a14addb203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for erpl-pyrfc 2026.11.23

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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for erpl_pyrfc-2026.11.23.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

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