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

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.21
File Size Uploaded Provenance Actions
erpl_pyrfc-2026.11.21.tar.gz 573.6 kB With provenance Details for erpl_pyrfc-2026.11.21.tar.gz

Built distributions (wheels)

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

Total release size: 11.1 MB

Release files / erpl_pyrfc-2026.11.21.tar.gz

Download URL erpl_pyrfc-2026.11.21.tar.gz
Size 573.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d0b67bc58864fab416ce7401c15ad094363e1dd101bde5bbdd64f17caa8cc82c
BLAKE2b-256 checksum
How to use checksums
1c840103f141af70720d1192f9f45e88ff21b7df65eb0d93c60bbeb761cbc6ac
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 21, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.21-cp39-abi3-win_amd64.whl
Size 1.3 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8dc7a638f0b76a2b9e538b2f75f54b55a2f9d4582ea1d0629601519baaca2020
BLAKE2b-256 checksum
How to use checksums
1a64e022446defee0942afedcafbab6d3cda75ade2afa77bbf11f6e2c4c64991
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 21, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.21-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
d4aa836ae720928f1559d6cd93d029bafaba82e0dc4589a8467e7cd664658c4a
BLAKE2b-256 checksum
How to use checksums
9b172d57a98fe49ece51bc7d8dd7edc39b258fcbf6f7f472100e1366078c7e21
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 21, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.21-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
4d6d3d3be6e61a9ff3c837e52b3e05c372c4497320a8cbe0653e1d648d44adff
BLAKE2b-256 checksum
How to use checksums
62c5565bda9c1caf882ebedd5dbfb5d27cd43fbce0a12f0129f9647f70337ef7
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 21, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.21-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.5 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
f51030f93356f3b4df59af2437dca269a842a1d4fe891655369a0736d93ed091
BLAKE2b-256 checksum
How to use checksums
e71380535d7a4430c8f5f1cf9ca1cfc46e54e17f04994c689211053b7883aa3d
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 21, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.21-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.5 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
414219d8070d723d2dd608279d920d4e3465b6744994f45ac77707c69bcc027c
BLAKE2b-256 checksum
How to use checksums
f2209f596fc127fd123e1c287b47c78047a9ed9d5db9386192588e0a7a748e6f
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 21, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.21-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
4d2621e3e8efbb66def6d40fe78b6f73f0dc90685a66c10520ab233929c1ede1
BLAKE2b-256 checksum
How to use checksums
f7bc6199031a30aa9d3eed6e1abcd552c67c3c50a67fd8c04c92e614187dcac9
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 21, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.21-cp39-abi3-macosx_10_12_x86_64.whl
Size 1.4 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
ad246f7814f196ad5c8efa754b4d70459be71961da66f3e0a417849a161c6489
BLAKE2b-256 checksum
How to use checksums
0d95656d6d124f302292f73815b5adf1d98ca623439a0f9afeef035779d2d8bd
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 21, 2026.

Transparency log

Security for erpl-pyrfc 2026.11.21

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