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

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.19
File Size Uploaded Provenance Actions
erpl_pyrfc-2026.11.19.tar.gz 529.8 kB With provenance Details for erpl_pyrfc-2026.11.19.tar.gz

Built distributions (wheels)

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

Total release size: 10.7 MB

Release files / erpl_pyrfc-2026.11.19.tar.gz

Download URL erpl_pyrfc-2026.11.19.tar.gz
Size 529.8 kB
Tags Source
SHA-256 checksum
How to use checksums
053820a22caf5374dda365a9cf85281e59e730ef399539867a6bfb4757ec3bf1
BLAKE2b-256 checksum
How to use checksums
9493568e8e5d0dec81c542408cb7e2c1aad79d399373c29346fcf5819cf29351
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 19, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.19-cp39-abi3-win_amd64.whl
Size 1.2 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
193a310d70f936474a0f239faccf0fd8e7480c1ec6fbf1d178cbfe11f9f2229e
BLAKE2b-256 checksum
How to use checksums
6806e1a3463844a0adfa30c2099020da1439761d38acbd868d1cb636206952b2
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 19, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.19-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
eb02fffc92e44e3fa0f1b06ae30bc279b0b5476f2fef38a72d24d56add9353c4
BLAKE2b-256 checksum
How to use checksums
7f56a9097a4d6ee9afe54c5474b1f569f94fc139abb36c35cbd67c7354582788
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 19, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.19-cp39-abi3-musllinux_1_2_aarch64.whl
Size 1.6 MB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
1f126f64d06e769e1f9363e1bb4c0c13d92fa6071fbc578196597c867349aac2
BLAKE2b-256 checksum
How to use checksums
ad503ea279d57ac6082386299d373ae78a74c87668c9d403c87443f5b1d13471
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 19, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.19-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
912f4887304ec1b58eebadf2f183630e7ba7104cd0efc7e5de966316279051c4
BLAKE2b-256 checksum
How to use checksums
5ab7b399614776ec7590dc2bc60912ef9c283e8075c48450c3009b7b6e13163e
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 19, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.19-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
2147c7ea0836679fa092f15b650a9ac78ab50caf59cc07cfa76a67e5f6672606
BLAKE2b-256 checksum
How to use checksums
f2e54a954770719104751b91ca3558c7fd2066f0f3c0c73d66a834cad7f68609
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 19, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.19-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
6712fe53b461851d31688fe342d5608b2bbdd33cce0e6040389b278e031d2e67
BLAKE2b-256 checksum
How to use checksums
94da492009849fb899e211c0de1e585c7941cbe252672988f1528b9f2d0b168c
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 19, 2026.

Transparency log

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

Download URL erpl_pyrfc-2026.11.19-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
7bbf172dafeaf5248be202f05c23dda41a1a999dbdd95cd7ad1f6a64a0327fb9
BLAKE2b-256 checksum
How to use checksums
66cf4cf8757920ac648a1e27b78fdb4ee04d2f04a05c0a4424487eda0b75fabd
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 19, 2026.

Transparency log

Security for erpl-pyrfc 2026.11.19

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