Skip to main content

A Python SDK for Restate

Project description

Documentation Examples Discord Twitter

Python SDK for restate

Restate is a system for easily building resilient applications using distributed durable async/await. This repository contains the Restate SDK for writing services in Python.

Community

Using the SDK

Prerequisites:

  • Python >= v3.11

To use this SDK, add the dependency to your project:

pip install restate_sdk

Versions

The Python SDK is currently in active development, and might break across releases.

The compatibility with Restate is described in the following table:

Restate Server\sdk-python 0.0 - 0.2 0.3 - 0.5 0.6 - 0.7
1.0
1.1
1.2
1.3

Contributing

We’re excited if you join the Restate community and start contributing! Whether it is feature requests, bug reports, ideas & feedback or PRs, we appreciate any and all contributions. We know that your time is precious and, therefore, deeply value any effort to contribute!

Local development

Setup your virtual environment using the tool of your choice, e.g. VirtualEnv:

python3 -m venv .venv
source .venv/bin/activate

Install the build tools:

pip install -r requirements.txt

Now build the Rust module and include opt-in additional dev dependencies:

maturin dev -E test,lint

You usually need to build the Rust module only once, but you might need to rebuild it on pulls.

For linting and testing:

just verify

Releasing the package

Pull latest main:

git checkout main && git pull

Update module version in Cargo.toml and run a local build to update the Cargo.lock too, commit it. Then push tag, e.g.:

git tag -m "Release v0.1.0" v0.1.0
git push origin v0.1.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

restate_sdk-0.7.1.tar.gz (59.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

restate_sdk-0.7.1-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded PyPymusllinux: musl 1.2+ x86-64

restate_sdk-0.7.1-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded PyPymusllinux: musl 1.2+ ARM64

restate_sdk-0.7.1-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl (1.9 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

restate_sdk-0.7.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

restate_sdk-0.7.1-cp313-cp313t-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ x86-64

restate_sdk-0.7.1-cp313-cp313t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ ARM64

restate_sdk-0.7.1-cp313-cp313t-manylinux_2_28_aarch64.whl (1.9 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ ARM64

restate_sdk-0.7.1-cp313-cp313-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

restate_sdk-0.7.1-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

restate_sdk-0.7.1-cp313-cp313-manylinux_2_28_aarch64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

restate_sdk-0.7.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

restate_sdk-0.7.1-cp313-cp313-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

restate_sdk-0.7.1-cp313-cp313-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

restate_sdk-0.7.1-cp312-cp312-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

restate_sdk-0.7.1-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

restate_sdk-0.7.1-cp312-cp312-manylinux_2_28_aarch64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

restate_sdk-0.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

restate_sdk-0.7.1-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

restate_sdk-0.7.1-cp312-cp312-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

restate_sdk-0.7.1-cp311-cp311-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

restate_sdk-0.7.1-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

restate_sdk-0.7.1-cp311-cp311-manylinux_2_28_aarch64.whl (1.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

restate_sdk-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

restate_sdk-0.7.1-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

restate_sdk-0.7.1-cp311-cp311-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file restate_sdk-0.7.1.tar.gz.

File metadata

  • Download URL: restate_sdk-0.7.1.tar.gz
  • Upload date:
  • Size: 59.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.3

File hashes

Hashes for restate_sdk-0.7.1.tar.gz
Algorithm Hash digest
SHA256 bdbc6999838135896c3d809d02828251b6af33bac78ab55f908630b89472c203
MD5 14183d768150699e1a43f0c133ced257
BLAKE2b-256 6098840dac505dd0ec687b17e66963e8a17b0ca48c7a38cca34b3a49467de591

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 473572a5b44a3fe01723fc48c6466a77ff0bb20094a3294078b70e8a02ab60c9
MD5 848e8e9c33e5feeb18ccab258455cb7a
BLAKE2b-256 edc2810732e72353da1e92e9606e98a74a4308df5ca56768e317b0dad9a7d5e7

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0f121d6a073628f7cfa45bcb2aa00ef655f3136c44aebd49f69d220d2ae78555
MD5 794ee2bda1726e7ac7d820981557ac13
BLAKE2b-256 e0dd32216714a870bc5500066bcda6b64bc701ee808c4f3bfbddd1b2cd213b0a

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5276e6bfcb74bfbf817945f59e36081b47f0f797dfbcfbd84aa4aac9a6602de3
MD5 2051d84938ee51aa278b01aef9b04d64
BLAKE2b-256 232272769e49665ba33067e48e7ae83c6e68a3ba456a1c1f952ea782bdff0983

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 47420e897d26788df90fa826d8d8bcc3fd76d170df9674285a1813f55851a90e
MD5 f5d9b4ff404ea67a7de5654698a5cc84
BLAKE2b-256 2f9bab2dd433cfd3e64bdd241c5913e59ae6104f3139094473004fa91b64c4b8

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp313-cp313t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp313-cp313t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 24eac2aae43ba5b433d75999024ec59e64717fe0b237d7c891d1fe14627d82ca
MD5 1df1a706544cb88123affd57b917cf2c
BLAKE2b-256 cff5dca03eb140b00d85441f20f71799357c11ce848f38d7fc48925755763bcb

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp313-cp313t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp313-cp313t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c893e762cdf8ecb994df75ebc3132803748f4ee1387795be12b4e838160268d1
MD5 317c6a4cab23bbad0fa8a3d1128d67a6
BLAKE2b-256 cbc2ab19491e76d3f43976c432b5405fb384a3c2c66f325ec04f5a072a93b4e5

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp313-cp313t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp313-cp313t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8c5b97ac27ed80828f4388768367f254271c39552e25ec943aaacd5f0a12064e
MD5 a147c1ff11dd8e7bff71e55ff2b0601e
BLAKE2b-256 c4d6279d05df6c7fe2849b3427efdbcd82400396448381cdf77df6a918fbba79

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d67ba4a9d1cc4831312254ea9cf9dad6b54e7cff0b469d5bd20300c6739d56dd
MD5 ea0a878b94148bee66106530e8f2e34e
BLAKE2b-256 f8e579d64697f6a77980be2a2b93a3519f916ef567e66944a6b3de6bef1b0b5c

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3d44b27449bc6fba8d8ab72efe01a1cde91b21b80f6b2774ba8532b30839d2d2
MD5 4a7b114a9d7bd006e4cd7e953df1cd1e
BLAKE2b-256 f0708f5b20f24e680781d6f7a8d7ff8f5c0519f2261a774f865b24c7bf6d24b5

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 188c9a9dc8b0a9bce59009ef20e5af883db6d0e9ec168e0980dea87e0564a9ea
MD5 bcdfd3a6ee2c30aafcba7555dc9f6360
BLAKE2b-256 49a785b2682f7fe2fbe541186a3222f65fc8a2a08efbfa32c9fa51aa6a45c00c

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e07b6288f0dd3f0e5cfbda0ec23fa5f46cd9f051736de3dd0488d433879759f5
MD5 c9bf2206516f947396c782b111dd0084
BLAKE2b-256 dfc2c39ff95197638f1cfdb6349eb856e2487f6c7a3386019fe42d7f72331af7

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a39d89a76e4ed84deeae19ac7b6ba2e78400ff5640408ebd385dbdb84c49a385
MD5 ec5460edcfbf50a7495ebadd06887a5f
BLAKE2b-256 461aefc21da414dce524a12f723221df6da3987ea481675faac95f0020212e26

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c7b844344b441574e96240e5dcd66c2f63eb007c7177166737ae2b08f4151102
MD5 c88f839954e78f006dca4f3ee967a87e
BLAKE2b-256 e1951eadab39a71d90b725a3f111130004ed3e1cac51af59679b3031656fb8d0

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 641cb5d628edfba9ffc7b94f93203b9c89b4988f35b1e70fe6e11a45872e6edd
MD5 b83b28048f281d62ee22e718ba269f22
BLAKE2b-256 6024e2dbdccd143d859c52d723c7034c0c716ec3790408b460512de34cf77888

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f246aa753cc6190cff2aa84a0c1873e8eef983242f0111cf8b625d5415c6a6ef
MD5 1244d168b0158f27e34cbdab72aeb129
BLAKE2b-256 43f7077a0b0e6f8ee4861df1c62e4cc25ac5a7c0c270b335687a477f96b3c9f9

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d5e8bdc691584801dd8d0076101b6bb9bece8027fe448f4a109a31d318a213ea
MD5 dc2e7107b0e4f84f92d12d63e1324c88
BLAKE2b-256 6477b4aab0c1742c996013ef72276f35b077b365d2b35b2b61c7d342594979d6

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f540b7aa54cb43bb6f6393be3612f8d86685aa7983108aef51cf7a3b853a139e
MD5 19e41aa64e08a397845a5fce836be208
BLAKE2b-256 a0a8831934f62899a31872cec077f262a13fd9c5c278dd5343f8721c0b34f7fa

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ed5d7129ea4f78f6132933c075eeb1055b603f54ee7a25fafb4a30adc207033
MD5 15f76d964efdd85474dc1469fafc0c30
BLAKE2b-256 ed2f0e467831b66d47f93dae51b4b1fe59cc1c6e4a1906a5fe87b82231c81ccb

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7d215044e4c762aba95b375daa65de2b0cf5f9400ab046c825751f42030b9819
MD5 83039b959d05d3c8d810c9d378337d89
BLAKE2b-256 845623aa19ad0441645543e16743411b80e8e956188d1122d67cb741000761c1

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b70adb4b5f6ea196d1ce3eb7fe1e3913958c6c2ca47ca378bfb29459c701226
MD5 0feea5cfd9e514a584aa1613207f39f1
BLAKE2b-256 6413c14e5b8138610eb347732aa51d4e327750ad6c0273882766f6d47401bc05

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 df35ae390b9ea98768a0f701c708fa5594ef666e7db363c126d9a1be59fa7bbf
MD5 b70c778becd5b90dbcbf6f91e9d2e272
BLAKE2b-256 64dc4e5f2fb74c8fa3d5b3d0e09a07eab6a8fad6fe97883ee66c38870e03f182

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5fce90f241d48952d877fc3e36a895e1ac08be57dcbff528146e6ecfad213625
MD5 597f8059cfe74f7c7f229ce3188db8f2
BLAKE2b-256 219f0f5f40af25fefeca50d3dc0e0c2ab825122c81f42d7b050302a222042b21

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e7c658ccf4479c1329aac8595b6dbf8a45f9f3973b94250754ef6c17400d0bb9
MD5 afe7207f401ad226105ddc6cd91ef0ba
BLAKE2b-256 096407bd400ccc4314923c29742a3e96ebac40933763799dea95f4b380eeb1b4

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0fb1019f6ebe9aefdbec2994fc043481420a6d0a8f4f756d7663d630c8e0127
MD5 b2310a9a4753ac501126cc296a153e40
BLAKE2b-256 c3f105ea4c8819c61cd8737813727b85b6e94d4cd03b2cd64710757c913e9236

See more details on using hashes here.

File details

Details for the file restate_sdk-0.7.1-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for restate_sdk-0.7.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ff124107e9d61b47e8070129bc636d228a91aff68d95c659f406e9ee2c71ff25
MD5 975d219d78c8c57735e8de68537e01ab
BLAKE2b-256 2d292b2c0b30b0745d180d0bda42ec1777efbc72064b65c1afba099f057c5b78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page