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.25

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.25
File Size Uploaded Provenance Actions
erpl_pyrfc-2026.11.25.tar.gz 629.7 kB With provenance Details for erpl_pyrfc-2026.11.25.tar.gz

Built distributions (wheels)

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

Total release size: 11.5 MB

Release files / erpl_pyrfc-2026.11.25.tar.gz

Download URL erpl_pyrfc-2026.11.25.tar.gz
Size 629.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9f01e08d9ae759529f6221e536b1c0cde86b4ee79a6e0923a8c10be21b31d398
BLAKE2b-256 checksum
How to use checksums
dbf7d8c2001be2ea7905dfc3c4fa3332b31e1915c1be1efb5f7f0b551b68f637
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 25, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.25-cp39-abi3-win_amd64.whl
Size 1.3 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3a51c09a071fb317002f552ec1582723f56c31dbd4c37221e1dddffdf5c97d02
BLAKE2b-256 checksum
How to use checksums
abb215fbd0db8f9a2dfbab6356fe50b4465288ebb923c19072b69c3d6a470112
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 25, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.25-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
6c4f460a51e396b2f7a98ad7fe72e321656530f608c9da73edef0c782c40fa84
BLAKE2b-256 checksum
How to use checksums
302529de7391bc3e6b7dac5a18c52adcd8a1fe05aa5f6a9e37068f2ca1a9d0aa
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 25, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.25-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
47214409911423899bdcd5b01eff133e35723c4555df66389e70276bf11b263e
BLAKE2b-256 checksum
How to use checksums
7070417c06919936b5a2bbac2d76de713afee6cdbf63a39c34ef9adb1697f586
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 25, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.25-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
1cc0b2f019edaed923267b397a018f4d22627db1c09f420021b7216ee343e229
BLAKE2b-256 checksum
How to use checksums
d7804e6b9c173d83b3cf8729b3cd9c7605606f647f915bc44c1e613477d00c91
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 25, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.25-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
48ec0997745ded12011df7cec4f70f7f73226cf90489855653106f5488ee1861
BLAKE2b-256 checksum
How to use checksums
fdabb5c1304ae49089ed234cc4556699df55e12782b55b8c2c13f86e010d1728
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 25, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.25-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
0f0c04e46826f87d78bf349cbe7e4612eea5974b453b638f733a6e6c4500c5ce
BLAKE2b-256 checksum
How to use checksums
e211ad265afb618b04e03ca2edb65d96240ff9d1204eb8a597a997f4fe1edb09
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 25, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.25-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
3b4ea7bede80bcc901e5f8a89bf3b407278a8c9c97926736901c0c9baa0b8059
BLAKE2b-256 checksum
How to use checksums
1a2d31caa08efc16d30c2a9596d4b4c6dcee54a06ad552e97ab4415bf0c21e3f
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 25, 2026.

Transparency log

Security for erpl-pyrfc 2026.11.25

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.25.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 25, 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