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

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.20
File Size Uploaded Provenance Actions
erpl_pyrfc-2026.11.20.tar.gz 557.7 kB With provenance Details for erpl_pyrfc-2026.11.20.tar.gz

Built distributions (wheels)

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

Total release size: 11.0 MB

Release files / erpl_pyrfc-2026.11.20.tar.gz

Download URL erpl_pyrfc-2026.11.20.tar.gz
Size 557.7 kB
Tags Source
SHA-256 checksum
How to use checksums
88d436ef982f99bc7df85347af594d37af929d70585f36f9ed8799857bd6e394
BLAKE2b-256 checksum
How to use checksums
ae9d22b19c78b5a1e6d8e9dff9f10744af9739d67d7900d76fa4c54cff2c769d
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 20, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.20-cp39-abi3-win_amd64.whl
Size 1.3 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
27ae6a909267b9858e4ae2011d855ea1700438197da0a62e917b96831b3dd509
BLAKE2b-256 checksum
How to use checksums
6f7d551eb3b7fe519a5a982fa67a6fd59f1e798edb87c408d61164b9644ec5ed
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 20, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.20-cp39-abi3-musllinux_1_2_x86_64.whl
Size 1.7 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
b3e3c97ead55e5625562a816e66049d5fa0cbb8f5b69b00b636ff5781a583e79
BLAKE2b-256 checksum
How to use checksums
0e69587200d2adabe8d12d6401d6d28863e95c0e5eca19841691fc48de3aef43
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 20, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.20-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
f7e595344ebfdf39e8eaff7ed76795fdb74a2d72b48a2028c1fa54755de0dc90
BLAKE2b-256 checksum
How to use checksums
98591dd59bbf1b9396be93e26b39c8893a30cdf1801409b6abf633106fe99f6c
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 20, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.20-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
d6ebbbbd45daf65766c4ba0b573c8266b75dcf252d0aac7c4718adc9e07b978f
BLAKE2b-256 checksum
How to use checksums
cb27f6474d1d8a1bece19ae5f165215fa1466499d1426fc3c5999e1b92d4f6b9
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 20, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.20-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
7a82effec6dc25fd8babf1e996474e09884cf450ef77b7803e041239db5e039d
BLAKE2b-256 checksum
How to use checksums
ba51e838229ee32ad71e13c200aa8a697a705f84f7206386576cd1fb5a8e4f59
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 20, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.20-cp39-abi3-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4b317afbb4f49e0462c64e71ef3b8cfbde2ea31c7554de4f0c62c83b12d94af0
BLAKE2b-256 checksum
How to use checksums
5ebdd72ec53541d08802593b1e23b8d95fa08f38d4dacd8179307f7eb8104cd9
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 20, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.20-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
15106e0be8098f260f4e709285784843adf2915554e6b1afacc86edc102d8fc8
BLAKE2b-256 checksum
How to use checksums
2ec2e13bde771fb9a595fba8750dd0b4c1dabe0a4329b5f1e6dca615c44172a8
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 20, 2026.

Transparency log

Security for erpl-pyrfc 2026.11.20

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