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.1.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.1-cp310-none-win_amd64.whl (616.4 kB view details)

Uploaded CPython 3.10Windows x86-64

bytewax-0.8.0_beta.1-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.1-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.1-cp39-none-win_amd64.whl (616.3 kB view details)

Uploaded CPython 3.9Windows x86-64

bytewax-0.8.0_beta.1-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.1-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.1-cp38-none-win_amd64.whl (618.2 kB view details)

Uploaded CPython 3.8Windows x86-64

bytewax-0.8.0_beta.1-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.1-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.1-cp37-none-win_amd64.whl (617.8 kB view details)

Uploaded CPython 3.7Windows x86-64

bytewax-0.8.0_beta.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: bytewax-0.8.0_beta.1.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.1.tar.gz
Algorithm Hash digest
SHA256 53c0a3c2f5c2cfd0dae6c08352d0fdd6e04c04be9bbab72502ed2decf110b41b
MD5 3b368e1ab16bdfa27302b55904c96927
BLAKE2b-256 ca937f4618fbd5b1af3e23bceed3eaf9b5c44cfe7c42483a24201199e5c12129

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bytewax-0.8.0_beta.1-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 616.4 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.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 878b65da0a52f2d26fe7e23a1a242bb0be5ea9151dc8c63a27ae6ef200aacd5f
MD5 f3410f7fb51338e7bc6417d192216e8c
BLAKE2b-256 882a5844d772354f21103c6577cb133f3bea1c39080bba68c138072e88b8f2fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bytewax-0.8.0_beta.1-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.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d543f1bd1285136f8b8d4ad244c1e178cb83ef42d13250c735cd71f062e45092
MD5 c92dda43b97a5320fbd904d06525e3c3
BLAKE2b-256 863d8ebf10e08d525a37aa0183f9e8f223bdc9ad369e524d499d1d825dcfb982

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.1-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.1-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.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f70f65616c192dfbaeff3e3ae1d696d1a2c610388bf3346517022ca94554118b
MD5 9f3eb8ce08a276f0d5f217b30306f40c
BLAKE2b-256 e5c40914987aedbb85560829d521f9c20c5f20440e7b52d0015a2c9a0a5a31b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bytewax-0.8.0_beta.1-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 616.3 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.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 fa719f31007ccc83808c3cb33083096e84ddeb6605ca900f4ef642859c3fb196
MD5 afca2962b25bb5584bacb8b2366a080d
BLAKE2b-256 2eb4aee0b032169a59dd2358a73a6c65bb4c0f28c9fe72cbbef254c3dadbcd37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bytewax-0.8.0_beta.1-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.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ba148910cc95e10eda1514694ff9feb7ae50f7f2cbea221fab2b4eb7daf5eae0
MD5 ecbf01dede2db04e63b627c9fa9294c6
BLAKE2b-256 84ba5f9f98114bf090914878af1e2c6b5d31bf2cd4edf37587ae52a7898c3d50

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.1-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.1-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.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ba59ace33cb1e4de9f0eb11185eeff31a943fe27a16aeca0545af2594e9aa629
MD5 4125457c7652f236eb2a2a356382b067
BLAKE2b-256 031e2ad182697ce6a516b4df60ceb6aed0427f8becdfe9b3009cef56ad74288c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bytewax-0.8.0_beta.1-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 618.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.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 ea24f629542b4b51b70f0dca692355c531e8650656a6ae4c043f11e1a8c5ed0e
MD5 27278e90a0ad2cc3f8c6e69ece69aeb2
BLAKE2b-256 5929d28054810231d4a2df2ce1737fd0fe6ebd4f31e8487eeaa6043e3cde2ef5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bytewax-0.8.0_beta.1-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.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a2d238e6aae8a8bb500825aca22b084f48d73cf084e0594a5f65a32021e9b74e
MD5 c5349be64f7ba29eeb568af58b268c11
BLAKE2b-256 5fcd50674ec7ce97c0529d460604dd20e08a97c05a7552e8205130fa80219d1b

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.1-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.1-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.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 923941e49c4df6ea2b2146f3d47bc34467c5867b26f41d7f9f4413cae3756f97
MD5 4634a166bf5d7480d3f89928e11794ce
BLAKE2b-256 7cd14be6f6f6bf2d3013eb15735badabed3a5d4654a7d7a7cb4daa8982fce438

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bytewax-0.8.0_beta.1-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 617.8 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.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 d92a6e7b051b094a6719c1fc69a8b1e62266104a29368ee1e4349ca29c9df512
MD5 3a5c5347754e27dd28ea33693527b224
BLAKE2b-256 c03a54e150b65cf3ced089dd2783f8ddec8e48dbbbd7df5c4d4e16100f5a0a8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bytewax-0.8.0_beta.1-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.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 db615329c55262f8556ab65f4f1757dca95f2ba0fb2e82c1480e530dffb9dec3
MD5 e63776fbd935ef15339f2a2474a8870c
BLAKE2b-256 64f1f033ef047a7a33264fd02940bc600b4d16f0edac21a855d28da2ff994d66

See more details on using hashes here.

File details

Details for the file bytewax-0.8.0_beta.1-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.1-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.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0a68e3b3a4b4f3419988faa2d4c66cb9618f4be08ff9d747fff1727e2f4a5cbb
MD5 5b3881fce0ee03fe602369a0db19f338
BLAKE2b-256 13631a7af42964ee9cdb6eb3de5b405ff6343658bc09d1271300e04fb3b79b5e

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