Skip to main content

No project description provided

Project description

Bytewax

Actions Status PyPI Bytewax User Guide

Bytewax is an open source Python framework for building highly scalable dataflows in a streaming or batch context.

Dataflow programming is a programming paradigm where program execution is conceptualized as data flowing through a series of operations or transformations.

At a high level, Bytewax provides a few major benefits:

  • The operators in Bytewax are largely “data-parallel”, meaning they can operate on independent parts of the data concurrently.
  • The ability to express higher-level control constructs, like iteration.
  • Bytewax allows you to develop and run your code locally, and then easily scale that code to multiple workers or processes without changes.

Bytewax uses PyO3 to provide Python bindings to the Timely Dataflow Rust library.

Visit our documentation site for full documentation

Usage

Install the latest release with pip:

pip install bytewax

Example

Here is an example of a simple dataflow program using Bytewax:

# examples/simple.py
from bytewax import Dataflow, run


flow = Dataflow()
flow.map(lambda x: x * x)
flow.capture()


if __name__ == "__main__":
    for epoch, y in sorted(run(flow, enumerate(range(10)))):
        print(y)

Running the program:

python ./examples/simple.py
0
1
4
9
16
25
36
49
64
81

For a more complete example, and documentation on the available operators, check out the User Guide.

License

Bytewax is licensed under the Apache-2.0 license.

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

bytewax-0.8.0_beta.0.tar.gz (593.5 kB view details)

Uploaded Source

Built Distributions

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

bytewax-0.8.0_beta.0-cp310-none-win_amd64.whl (614.5 kB view details)

Uploaded CPython 3.10Windows x86-64

bytewax-0.8.0_beta.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.12+ x86-64

bytewax-0.8.0_beta.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.8 MB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

bytewax-0.8.0_beta.0-cp39-none-win_amd64.whl (614.5 kB view details)

Uploaded CPython 3.9Windows x86-64

bytewax-0.8.0_beta.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

bytewax-0.8.0_beta.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.8 MB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

bytewax-0.8.0_beta.0-cp38-none-win_amd64.whl (615.2 kB view details)

Uploaded CPython 3.8Windows x86-64

bytewax-0.8.0_beta.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

bytewax-0.8.0_beta.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.8 MB view details)

Uploaded CPython 3.8macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

bytewax-0.8.0_beta.0-cp37-none-win_amd64.whl (615.1 kB view details)

Uploaded CPython 3.7Windows x86-64

bytewax-0.8.0_beta.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

bytewax-0.8.0_beta.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (1.8 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

File details

Details for the file bytewax-0.8.0_beta.0.tar.gz.

File metadata

  • Download URL: bytewax-0.8.0_beta.0.tar.gz
  • Upload date:
  • Size: 593.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0.tar.gz
Algorithm Hash digest
SHA256 30cc009d1b901aafab1bccb7ed55e80c4deedd1adf9dff8469b42f7826f9a53a
MD5 53d90cb317f7c254ee322310b975fa54
BLAKE2b-256 1419f2837caac2a47612bbfc2211f190958fb178da0c3dab09cff0752da1bc7f

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp310-none-win_amd64.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 614.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 44a1e500b03fa96a7dd8442cf0c994f7e19dc087e37e485692dbd705a2187204
MD5 0b8b50239eb74ff3beeef0f13493f5b4
BLAKE2b-256 257cbe910e377562c17411e60a340715e8b4db642e18e8835a8ca5f8d14fb018

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.10, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e9381fed9e85afa24f37eeb350591748895be2fc854b25785867a8172139cb50
MD5 6265372e5f90ea69910da07a04af564c
BLAKE2b-256 4fc9dd47f45061c3ca94e2d74468cd773bf0922a1a931f047ff6ed5b86d7110d

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 344d2f93d620884d05e0f87d1259453eb9576c7b3f7e7e9b63f77bb651f22062
MD5 82bced1ab97cea7b1a0211cd3e7fdc85
BLAKE2b-256 433889ec263bc252db8018deb6f893bd66ec34816a599e0191e19546c40e2f1c

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp39-none-win_amd64.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 614.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 28dbbb63d82315493b3704365289000518afff7a7c5d70950f6a735c6f729127
MD5 7bc5372b2e8ab41e63d8820d432251f6
BLAKE2b-256 b8b8b4877e423208e3d4ff9a5047409f9b69e2656d82a27b94f57b74af2c4167

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5de695a409e226410238200d49a64ed9b08dc3ca3b92a6aa5fb64cb1a9f844d7
MD5 f0c83f8b5148b146569305b392bfae7b
BLAKE2b-256 dd96eff66e05340514d001e6a4bd8e88facb474cb1d7348eb6d3917dde60fa91

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 fa8e3977ac3a269342f077dff9f8fbe865c6e8ba2854b0ecdf1c841522a669ce
MD5 8073114887fe6eca21ef2363d34017f1
BLAKE2b-256 2e24b3da9a5333abfaadf7eeef69fa888b7a9b93c77415b5be1f0ed45d9797cd

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp38-none-win_amd64.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 615.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 21e426cbd21b8a2f40969600908b3954439e449c97d88c6255f5601bf6a6f0d8
MD5 f2a37caf7ede28eaa1c225e5afc9b198
BLAKE2b-256 44c959ab68e4810ec767133c0ceea4aa1c816ee37739727b080e85224243839f

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e97cc669c8606edb1790d247be01ec61be04001f7a126a33d26fdac6aeebbdce
MD5 ad45633119374e4e1d3d3b212e0fb81d
BLAKE2b-256 5559c963f2ddbb2401da0abc76c6ff7120491e3b97c916ab53d5b64932a8f2da

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 006ed6708df27f74f6f218d89587bb57fb64abe7c8bd1656f943535ceb9ad16a
MD5 a4223ba3fbab2f3799350cde1258f109
BLAKE2b-256 61db2887c5ba44a2fb84fca6b348d3c17dbdc77d605e859218ccca0f94910d89

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp37-none-win_amd64.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 615.1 kB
  • Tags: CPython 3.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 8d5e954b9ae78464c35d6a49bc02c07aca4b86edb2348f4dbac2d9d79caf2bb0
MD5 dcd40726ab6854e7fe12620f7d1275e9
BLAKE2b-256 8a38107f9c6457027dcb0a6132e2e7f2b503382c493893883d37e22223c222a8

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 df21a40fd29b6f9038c78164cf8fc8e59fb63e06267f3d7029e5ba627892fa45
MD5 d3e2ffbd2d5c24edf886f1773a0d6d30
BLAKE2b-256 df6d5a0526fa849568381a32df2eb1a82b9a7fc33dd7278017bcff62b1ede640

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

  • Download URL: bytewax-0.8.0_beta.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7m, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bytewax-0.8.0_beta.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 143d04d9436916c773279b35fc8789f36d6010329b34e51c5731e35c4417d83e
MD5 105ed236870757b065a02749e07e7b9b
BLAKE2b-256 3dad31e70f1050804c610b93c6141afd6e2f19889570f8664c1d8ccb2d09fb2e

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