From 3cb989e28085b7546a7b1e8965f45bb52faee1f0 Mon Sep 17 00:00:00 2001 From: Sreekanth Date: Sat, 18 Oct 2025 14:20:49 +0530 Subject: [PATCH 1/7] move files to package directory Signed-off-by: Sreekanth --- Makefile => packages/pynumaflow/Makefile | 0 .../examples}/accumulator/streamsorter/Dockerfile | 0 .../examples}/accumulator/streamsorter/Makefile | 0 .../accumulator/streamsorter/Makefile.optimized | 0 .../examples}/accumulator/streamsorter/README.md | 0 .../examples}/accumulator/streamsorter/entry.sh | 0 .../examples}/accumulator/streamsorter/example.py | 0 .../accumulator/streamsorter/pipeline.yaml | 0 .../accumulator/streamsorter/pyproject.toml | 0 .../pynumaflow/examples}/batchmap/README.md | 0 .../examples}/batchmap/flatmap/Dockerfile | 0 .../pynumaflow/examples}/batchmap/flatmap/Makefile | 0 .../pynumaflow/examples}/batchmap/flatmap/entry.sh | 0 .../examples}/batchmap/flatmap/example.py | 0 .../examples}/batchmap/flatmap/pipeline.yaml | 0 .../examples}/batchmap/flatmap/pyproject.toml | 0 .../pynumaflow/examples}/map/even_odd/Dockerfile | 0 .../pynumaflow/examples}/map/even_odd/Makefile | 0 .../examples}/map/even_odd/Makefile.optimized | 0 .../pynumaflow/examples}/map/even_odd/entry.sh | 0 .../pynumaflow/examples}/map/even_odd/example.py | 0 .../pynumaflow/examples}/map/even_odd/pipeline.yaml | 0 .../examples}/map/even_odd/pyproject.toml | 0 .../pynumaflow/examples}/map/flatmap/Dockerfile | 0 .../pynumaflow/examples}/map/flatmap/Makefile | 0 .../pynumaflow/examples}/map/flatmap/entry.sh | 0 .../pynumaflow/examples}/map/flatmap/example.py | 0 .../pynumaflow/examples}/map/flatmap/pipeline.yaml | 0 .../pynumaflow/examples}/map/flatmap/pyproject.toml | 0 .../examples}/map/forward_message/Dockerfile | 0 .../examples}/map/forward_message/Makefile | 0 .../examples}/map/forward_message/entry.sh | 0 .../examples}/map/forward_message/example.py | 0 .../examples}/map/forward_message/pipeline.yaml | 0 .../examples}/map/forward_message/pyproject.toml | 0 .../examples}/map/multiproc_map/Dockerfile | 0 .../pynumaflow/examples}/map/multiproc_map/Makefile | 0 .../examples}/map/multiproc_map/README.md | 0 .../pynumaflow/examples}/map/multiproc_map/entry.sh | 0 .../examples}/map/multiproc_map/example.py | 0 .../examples}/map/multiproc_map/pipeline.yaml | 0 .../examples}/map/multiproc_map/pyproject.toml | 0 .../examples}/mapstream/flatmap_stream/Dockerfile | 0 .../examples}/mapstream/flatmap_stream/Makefile | 0 .../examples}/mapstream/flatmap_stream/entry.sh | 0 .../examples}/mapstream/flatmap_stream/example.py | 0 .../mapstream/flatmap_stream/pipeline.yaml | 0 .../mapstream/flatmap_stream/pyproject.toml | 0 .../pynumaflow/examples}/reduce/README.md | 0 .../examples}/reduce/asyncio_reduce/Dockerfile | 0 .../examples}/reduce/asyncio_reduce/Makefile | 0 .../examples}/reduce/asyncio_reduce/README.md | 0 .../examples}/reduce/asyncio_reduce/async_exec.py | 0 .../examples}/reduce/asyncio_reduce/entry.sh | 0 .../examples}/reduce/asyncio_reduce/executorpool.py | 0 .../examples}/reduce/asyncio_reduce/pyproject.toml | 0 .../testing_data/async/async_100_0.png | Bin .../testing_data/async/async_100_1s.png | Bin .../testing_data/async/async_100_200.png | Bin .../testing_data/async/async_10_0.png | Bin .../testing_data/async/async_10_1s.png | Bin .../testing_data/async/async_10_200.png | Bin .../testing_data/threadpool/thread_100_0.png | Bin .../testing_data/threadpool/thread_100_1s.png | Bin .../testing_data/threadpool/thread_100_200.png | Bin .../testing_data/threadpool/thread_10_0.png | Bin .../testing_data/threadpool/thread_10_1.png | Bin .../testing_data/threadpool/thread_10_200.png | Bin .../pynumaflow/examples}/reduce/counter/Dockerfile | 0 .../pynumaflow/examples}/reduce/counter/Makefile | 0 .../pynumaflow/examples}/reduce/counter/entry.sh | 0 .../pynumaflow/examples}/reduce/counter/example.py | 0 .../examples}/reduce/counter/pipeline.yaml | 0 .../examples}/reduce/counter/pyproject.toml | 0 .../examples}/reducestream/counter/Dockerfile | 0 .../examples}/reducestream/counter/Makefile | 0 .../examples}/reducestream/counter/entry.sh | 0 .../examples}/reducestream/counter/example.py | 0 .../examples}/reducestream/counter/pipeline.yaml | 0 .../examples}/reducestream/counter/pyproject.toml | 0 .../examples}/reducestream/sum/Dockerfile | 0 .../pynumaflow/examples}/reducestream/sum/Makefile | 0 .../pynumaflow/examples}/reducestream/sum/entry.sh | 0 .../examples}/reducestream/sum/example.py | 0 .../examples}/reducestream/sum/pipeline.yaml | 0 .../examples}/reducestream/sum/pyproject.toml | 0 .../examples}/sideinput/simple_sideinput/Dockerfile | 0 .../examples}/sideinput/simple_sideinput/Makefile | 0 .../examples}/sideinput/simple_sideinput/README.md | 0 .../examples}/sideinput/simple_sideinput/entry.sh | 0 .../examples}/sideinput/simple_sideinput/example.py | 0 .../sideinput/simple_sideinput/pipeline.yaml | 0 .../sideinput/simple_sideinput/pyproject.toml | 0 .../sideinput/simple_sideinput/udf/Dockerfile | 0 .../sideinput/simple_sideinput/udf/Makefile | 0 .../sideinput/simple_sideinput/udf/entry.sh | 0 .../sideinput/simple_sideinput/udf/example.py | 0 .../sideinput/simple_sideinput/udf/pyproject.toml | 0 .../pynumaflow/examples}/sink/async_log/Dockerfile | 0 .../pynumaflow/examples}/sink/async_log/Makefile | 0 .../pynumaflow/examples}/sink/async_log/entry.sh | 0 .../pynumaflow/examples}/sink/async_log/example.py | 0 .../examples}/sink/async_log/pipeline.yaml | 0 .../examples}/sink/async_log/pyproject.toml | 0 .../pynumaflow/examples}/sink/log/Dockerfile | 0 .../pynumaflow/examples}/sink/log/Makefile | 0 .../pynumaflow/examples}/sink/log/entry.sh | 0 .../pynumaflow/examples}/sink/log/example.py | 0 .../pynumaflow/examples}/sink/log/pipeline.yaml | 0 .../pynumaflow/examples}/sink/log/pyproject.toml | 0 .../examples}/source/simple_source/Dockerfile | 0 .../examples}/source/simple_source/Makefile | 0 .../examples}/source/simple_source/README.md | 0 .../examples}/source/simple_source/entry.sh | 0 .../examples}/source/simple_source/example.py | 0 .../examples}/source/simple_source/pipeline.yaml | 0 .../examples}/source/simple_source/pyproject.toml | 0 .../async_event_time_filter/Dockerfile | 0 .../async_event_time_filter/Makefile | 0 .../async_event_time_filter/entry.sh | 0 .../async_event_time_filter/example.py | 0 .../async_event_time_filter/pyproject.toml | 0 .../sourcetransform/event_time_filter/Dockerfile | 0 .../sourcetransform/event_time_filter/Makefile | 0 .../sourcetransform/event_time_filter/entry.sh | 0 .../sourcetransform/event_time_filter/example.py | 0 .../event_time_filter/pyproject.toml | 0 poetry.lock => packages/pynumaflow/poetry.lock | 0 .../pynumaflow/pynumaflow}/__init__.py | 0 .../pynumaflow/pynumaflow}/_constants.py | 0 .../pynumaflow/pynumaflow}/accumulator/__init__.py | 0 .../pynumaflow/pynumaflow}/accumulator/_dtypes.py | 0 .../pynumaflow}/accumulator/async_server.py | 0 .../pynumaflow}/accumulator/servicer/__init__.py | 0 .../accumulator/servicer/async_servicer.py | 0 .../accumulator/servicer/task_manager.py | 0 .../pynumaflow/pynumaflow}/batchmapper/__init__.py | 0 .../pynumaflow/pynumaflow}/batchmapper/_dtypes.py | 0 .../pynumaflow}/batchmapper/async_server.py | 0 .../pynumaflow}/batchmapper/servicer/__init__.py | 0 .../batchmapper/servicer/async_servicer.py | 0 .../pynumaflow/pynumaflow}/errors/__init__.py | 0 .../pynumaflow/pynumaflow}/errors/_dtypes.py | 0 .../pynumaflow/pynumaflow}/errors/errors.py | 0 .../pynumaflow/pynumaflow}/exceptions.py | 0 .../pynumaflow/pynumaflow}/info/__init__.py | 0 .../pynumaflow/pynumaflow}/info/server.py | 0 .../pynumaflow/pynumaflow}/info/types.py | 0 .../pynumaflow/pynumaflow}/mapper/__init__.py | 0 .../pynumaflow/pynumaflow}/mapper/_dtypes.py | 0 .../pynumaflow}/mapper/_servicer/__init__.py | 0 .../pynumaflow}/mapper/_servicer/_async_servicer.py | 0 .../pynumaflow}/mapper/_servicer/_sync_servicer.py | 0 .../pynumaflow/pynumaflow}/mapper/async_server.py | 0 .../pynumaflow}/mapper/multiproc_server.py | 0 .../pynumaflow/pynumaflow}/mapper/sync_server.py | 0 .../pynumaflow/pynumaflow}/mapstreamer/__init__.py | 0 .../pynumaflow/pynumaflow}/mapstreamer/_dtypes.py | 0 .../pynumaflow}/mapstreamer/async_server.py | 0 .../pynumaflow}/mapstreamer/servicer/__init__.py | 0 .../mapstreamer/servicer/async_servicer.py | 0 .../pynumaflow/pynumaflow}/proto/__init__.py | 0 .../pynumaflow}/proto/accumulator/__init__.py | 0 .../pynumaflow}/proto/accumulator/accumulator.proto | 0 .../proto/accumulator/accumulator_pb2.py | 0 .../proto/accumulator/accumulator_pb2.pyi | 0 .../proto/accumulator/accumulator_pb2_grpc.py | 0 .../pynumaflow/pynumaflow}/proto/mapper/__init__.py | 0 .../pynumaflow/pynumaflow}/proto/mapper/map.proto | 0 .../pynumaflow/pynumaflow}/proto/mapper/map_pb2.py | 0 .../pynumaflow/pynumaflow}/proto/mapper/map_pb2.pyi | 0 .../pynumaflow}/proto/mapper/map_pb2_grpc.py | 0 .../pynumaflow}/proto/reducer/__init__.py | 0 .../pynumaflow}/proto/reducer/reduce.proto | 0 .../pynumaflow}/proto/reducer/reduce_pb2.py | 0 .../pynumaflow}/proto/reducer/reduce_pb2.pyi | 0 .../pynumaflow}/proto/reducer/reduce_pb2_grpc.py | 0 .../pynumaflow}/proto/sideinput/__init__.py | 0 .../pynumaflow}/proto/sideinput/sideinput.proto | 0 .../pynumaflow}/proto/sideinput/sideinput_pb2.py | 0 .../pynumaflow}/proto/sideinput/sideinput_pb2.pyi | 0 .../proto/sideinput/sideinput_pb2_grpc.py | 0 .../pynumaflow/pynumaflow}/proto/sinker/__init__.py | 0 .../pynumaflow/pynumaflow}/proto/sinker/sink.proto | 0 .../pynumaflow/pynumaflow}/proto/sinker/sink_pb2.py | 0 .../pynumaflow}/proto/sinker/sink_pb2.pyi | 0 .../pynumaflow}/proto/sinker/sink_pb2_grpc.py | 0 .../pynumaflow}/proto/sourcer/__init__.py | 0 .../pynumaflow}/proto/sourcer/source.proto | 0 .../pynumaflow}/proto/sourcer/source_pb2.py | 0 .../pynumaflow}/proto/sourcer/source_pb2.pyi | 0 .../pynumaflow}/proto/sourcer/source_pb2_grpc.py | 0 .../pynumaflow}/proto/sourcetransformer/__init__.py | 0 .../proto/sourcetransformer/transform.proto | 0 .../proto/sourcetransformer/transform_pb2.py | 0 .../proto/sourcetransformer/transform_pb2.pyi | 0 .../proto/sourcetransformer/transform_pb2_grpc.py | 0 .../pynumaflow/pynumaflow}/reducer/__init__.py | 0 .../pynumaflow/pynumaflow}/reducer/_dtypes.py | 0 .../pynumaflow/pynumaflow}/reducer/async_server.py | 0 .../pynumaflow}/reducer/servicer/__init__.py | 0 .../pynumaflow}/reducer/servicer/async_servicer.py | 0 .../pynumaflow}/reducer/servicer/task_manager.py | 0 .../pynumaflow}/reducestreamer/__init__.py | 0 .../pynumaflow}/reducestreamer/_dtypes.py | 0 .../pynumaflow}/reducestreamer/async_server.py | 0 .../pynumaflow}/reducestreamer/servicer/__init__.py | 0 .../reducestreamer/servicer/async_servicer.py | 0 .../reducestreamer/servicer/task_manager.py | 0 .../pynumaflow/pynumaflow}/shared/__init__.py | 0 .../pynumaflow/pynumaflow}/shared/asynciter.py | 0 .../pynumaflow/pynumaflow}/shared/server.py | 0 .../pynumaflow/pynumaflow}/shared/synciter.py | 0 .../pynumaflow}/shared/thread_with_return.py | 0 .../pynumaflow/pynumaflow}/sideinput/__init__.py | 0 .../pynumaflow/pynumaflow}/sideinput/_dtypes.py | 0 .../pynumaflow/pynumaflow}/sideinput/server.py | 0 .../pynumaflow}/sideinput/servicer/__init__.py | 0 .../pynumaflow}/sideinput/servicer/servicer.py | 0 .../pynumaflow/pynumaflow}/sinker/__init__.py | 0 .../pynumaflow/pynumaflow}/sinker/_dtypes.py | 0 .../pynumaflow/pynumaflow}/sinker/async_server.py | 0 .../pynumaflow/pynumaflow}/sinker/server.py | 0 .../pynumaflow}/sinker/servicer/__init__.py | 0 .../pynumaflow}/sinker/servicer/async_servicer.py | 0 .../pynumaflow}/sinker/servicer/sync_servicer.py | 0 .../pynumaflow/pynumaflow}/sinker/servicer/utils.py | 0 .../pynumaflow/pynumaflow}/sourcer/__init__.py | 0 .../pynumaflow/pynumaflow}/sourcer/_dtypes.py | 0 .../pynumaflow/pynumaflow}/sourcer/async_server.py | 0 .../pynumaflow}/sourcer/servicer/__init__.py | 0 .../pynumaflow}/sourcer/servicer/async_servicer.py | 0 .../pynumaflow}/sourcetransformer/__init__.py | 0 .../pynumaflow}/sourcetransformer/_dtypes.py | 0 .../pynumaflow}/sourcetransformer/async_server.py | 0 .../sourcetransformer/multiproc_server.py | 0 .../pynumaflow}/sourcetransformer/server.py | 0 .../sourcetransformer/servicer/__init__.py | 0 .../sourcetransformer/servicer/_async_servicer.py | 0 .../sourcetransformer/servicer/_servicer.py | 0 .../pynumaflow/pynumaflow}/types.py | 0 .../pynumaflow/pyproject.toml | 0 pytest.ini => packages/pynumaflow/pytest.ini | 0 {tests => packages/pynumaflow/tests}/__init__.py | 0 .../pynumaflow/tests}/accumulator/__init__.py | 0 .../tests}/accumulator/test_async_accumulator.py | 0 .../accumulator/test_async_accumulator_err.py | 0 .../pynumaflow/tests}/accumulator/test_datatypes.py | 0 .../pynumaflow/tests}/accumulator/utils.py | 0 .../pynumaflow/tests}/batchmap/__init__.py | 0 .../tests}/batchmap/test_async_batch_map.py | 0 .../tests}/batchmap/test_async_batch_map_err.py | 0 .../pynumaflow/tests}/batchmap/test_datatypes.py | 0 .../pynumaflow/tests}/batchmap/test_messages.py | 0 .../pynumaflow/tests}/batchmap/utils.py | 0 .../pynumaflow/tests}/errors/__init__.py | 0 .../pynumaflow/tests}/errors/test_dtypes.py | 0 .../tests}/errors/test_persist_critical_error.py | 0 .../pynumaflow/tests}/map/__init__.py | 0 .../pynumaflow/tests}/map/test_async_mapper.py | 0 .../pynumaflow/tests}/map/test_messages.py | 0 .../pynumaflow/tests}/map/test_multiproc_mapper.py | 0 .../pynumaflow/tests}/map/test_sync_mapper.py | 0 {tests => packages/pynumaflow/tests}/map/utils.py | 0 .../pynumaflow/tests}/mapstream/__init__.py | 0 .../tests}/mapstream/test_async_map_stream.py | 0 .../tests}/mapstream/test_async_map_stream_err.py | 0 .../pynumaflow/tests}/mapstream/test_messages.py | 0 .../pynumaflow/tests}/mapstream/utils.py | 0 .../pynumaflow/tests}/reduce/__init__.py | 0 .../pynumaflow/tests}/reduce/test_async_reduce.py | 0 .../tests}/reduce/test_async_reduce_err.py | 0 .../pynumaflow/tests}/reduce/test_datatypes.py | 0 .../pynumaflow/tests}/reduce/test_messages.py | 0 .../pynumaflow/tests}/reducestreamer/__init__.py | 0 .../tests}/reducestreamer/test_async_reduce.py | 0 .../tests}/reducestreamer/test_async_reduce_err.py | 0 .../tests}/reducestreamer/test_datatypes.py | 0 .../tests}/reducestreamer/test_messages.py | 0 .../pynumaflow/tests}/sideinput/__init__.py | 0 .../pynumaflow/tests}/sideinput/test_responses.py | 0 .../tests}/sideinput/test_side_input_server.py | 0 .../pynumaflow/tests}/sink/__init__.py | 0 .../pynumaflow/tests}/sink/test_async_sink.py | 0 .../pynumaflow/tests}/sink/test_datatypes.py | 0 .../pynumaflow/tests}/sink/test_responses.py | 0 .../pynumaflow/tests}/sink/test_server.py | 0 .../pynumaflow/tests}/source/__init__.py | 0 .../pynumaflow/tests}/source/test_async_source.py | 0 .../tests}/source/test_async_source_err.py | 0 .../pynumaflow/tests}/source/test_message.py | 0 .../pynumaflow/tests}/source/utils.py | 0 .../pynumaflow/tests}/sourcetransform/__init__.py | 0 .../pynumaflow/tests}/sourcetransform/test_async.py | 0 .../tests}/sourcetransform/test_messages.py | 0 .../tests}/sourcetransform/test_multiproc.py | 0 .../tests}/sourcetransform/test_sync_server.py | 0 .../pynumaflow/tests}/sourcetransform/utils.py | 0 .../pynumaflow/tests}/test_info_server.py | 0 .../pynumaflow/tests}/testing_utils.py | 0 300 files changed, 0 insertions(+), 0 deletions(-) rename Makefile => packages/pynumaflow/Makefile (100%) rename {examples => packages/pynumaflow/examples}/accumulator/streamsorter/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/accumulator/streamsorter/Makefile (100%) rename {examples => packages/pynumaflow/examples}/accumulator/streamsorter/Makefile.optimized (100%) rename {examples => packages/pynumaflow/examples}/accumulator/streamsorter/README.md (100%) rename {examples => packages/pynumaflow/examples}/accumulator/streamsorter/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/accumulator/streamsorter/example.py (100%) rename {examples => packages/pynumaflow/examples}/accumulator/streamsorter/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/accumulator/streamsorter/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/batchmap/README.md (100%) rename {examples => packages/pynumaflow/examples}/batchmap/flatmap/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/batchmap/flatmap/Makefile (100%) rename {examples => packages/pynumaflow/examples}/batchmap/flatmap/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/batchmap/flatmap/example.py (100%) rename {examples => packages/pynumaflow/examples}/batchmap/flatmap/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/batchmap/flatmap/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/map/even_odd/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/map/even_odd/Makefile (100%) rename {examples => packages/pynumaflow/examples}/map/even_odd/Makefile.optimized (100%) rename {examples => packages/pynumaflow/examples}/map/even_odd/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/map/even_odd/example.py (100%) rename {examples => packages/pynumaflow/examples}/map/even_odd/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/map/even_odd/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/map/flatmap/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/map/flatmap/Makefile (100%) rename {examples => packages/pynumaflow/examples}/map/flatmap/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/map/flatmap/example.py (100%) rename {examples => packages/pynumaflow/examples}/map/flatmap/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/map/flatmap/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/map/forward_message/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/map/forward_message/Makefile (100%) rename {examples => packages/pynumaflow/examples}/map/forward_message/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/map/forward_message/example.py (100%) rename {examples => packages/pynumaflow/examples}/map/forward_message/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/map/forward_message/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/map/multiproc_map/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/map/multiproc_map/Makefile (100%) rename {examples => packages/pynumaflow/examples}/map/multiproc_map/README.md (100%) rename {examples => packages/pynumaflow/examples}/map/multiproc_map/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/map/multiproc_map/example.py (100%) rename {examples => packages/pynumaflow/examples}/map/multiproc_map/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/map/multiproc_map/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/mapstream/flatmap_stream/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/mapstream/flatmap_stream/Makefile (100%) rename {examples => packages/pynumaflow/examples}/mapstream/flatmap_stream/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/mapstream/flatmap_stream/example.py (100%) rename {examples => packages/pynumaflow/examples}/mapstream/flatmap_stream/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/mapstream/flatmap_stream/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/reduce/README.md (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/Makefile (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/README.md (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/async_exec.py (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/executorpool.py (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/async/async_100_0.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/async/async_100_1s.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/async/async_100_200.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/async/async_10_0.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/async/async_10_1s.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/async/async_10_200.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/threadpool/thread_100_0.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/threadpool/thread_100_1s.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/threadpool/thread_100_200.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/threadpool/thread_10_0.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/threadpool/thread_10_1.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/asyncio_reduce/testing_data/threadpool/thread_10_200.png (100%) rename {examples => packages/pynumaflow/examples}/reduce/counter/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/reduce/counter/Makefile (100%) rename {examples => packages/pynumaflow/examples}/reduce/counter/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/reduce/counter/example.py (100%) rename {examples => packages/pynumaflow/examples}/reduce/counter/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/reduce/counter/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/reducestream/counter/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/reducestream/counter/Makefile (100%) rename {examples => packages/pynumaflow/examples}/reducestream/counter/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/reducestream/counter/example.py (100%) rename {examples => packages/pynumaflow/examples}/reducestream/counter/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/reducestream/counter/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/reducestream/sum/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/reducestream/sum/Makefile (100%) rename {examples => packages/pynumaflow/examples}/reducestream/sum/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/reducestream/sum/example.py (100%) rename {examples => packages/pynumaflow/examples}/reducestream/sum/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/reducestream/sum/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/Makefile (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/README.md (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/example.py (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/udf/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/udf/Makefile (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/udf/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/udf/example.py (100%) rename {examples => packages/pynumaflow/examples}/sideinput/simple_sideinput/udf/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/sink/async_log/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/sink/async_log/Makefile (100%) rename {examples => packages/pynumaflow/examples}/sink/async_log/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/sink/async_log/example.py (100%) rename {examples => packages/pynumaflow/examples}/sink/async_log/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/sink/async_log/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/sink/log/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/sink/log/Makefile (100%) rename {examples => packages/pynumaflow/examples}/sink/log/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/sink/log/example.py (100%) rename {examples => packages/pynumaflow/examples}/sink/log/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/sink/log/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/source/simple_source/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/source/simple_source/Makefile (100%) rename {examples => packages/pynumaflow/examples}/source/simple_source/README.md (100%) rename {examples => packages/pynumaflow/examples}/source/simple_source/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/source/simple_source/example.py (100%) rename {examples => packages/pynumaflow/examples}/source/simple_source/pipeline.yaml (100%) rename {examples => packages/pynumaflow/examples}/source/simple_source/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/async_event_time_filter/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/async_event_time_filter/Makefile (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/async_event_time_filter/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/async_event_time_filter/example.py (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/async_event_time_filter/pyproject.toml (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/event_time_filter/Dockerfile (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/event_time_filter/Makefile (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/event_time_filter/entry.sh (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/event_time_filter/example.py (100%) rename {examples => packages/pynumaflow/examples}/sourcetransform/event_time_filter/pyproject.toml (100%) rename poetry.lock => packages/pynumaflow/poetry.lock (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/_constants.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/accumulator/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/accumulator/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/accumulator/async_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/accumulator/servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/accumulator/servicer/async_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/accumulator/servicer/task_manager.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/batchmapper/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/batchmapper/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/batchmapper/async_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/batchmapper/servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/batchmapper/servicer/async_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/errors/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/errors/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/errors/errors.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/exceptions.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/info/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/info/server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/info/types.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapper/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapper/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapper/_servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapper/_servicer/_async_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapper/_servicer/_sync_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapper/async_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapper/multiproc_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapper/sync_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapstreamer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapstreamer/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapstreamer/async_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapstreamer/servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/mapstreamer/servicer/async_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/accumulator/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/accumulator/accumulator.proto (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/accumulator/accumulator_pb2.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/accumulator/accumulator_pb2.pyi (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/accumulator/accumulator_pb2_grpc.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/mapper/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/mapper/map.proto (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/mapper/map_pb2.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/mapper/map_pb2.pyi (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/mapper/map_pb2_grpc.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/reducer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/reducer/reduce.proto (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/reducer/reduce_pb2.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/reducer/reduce_pb2.pyi (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/reducer/reduce_pb2_grpc.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sideinput/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sideinput/sideinput.proto (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sideinput/sideinput_pb2.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sideinput/sideinput_pb2.pyi (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sideinput/sideinput_pb2_grpc.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sinker/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sinker/sink.proto (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sinker/sink_pb2.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sinker/sink_pb2.pyi (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sinker/sink_pb2_grpc.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcer/source.proto (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcer/source_pb2.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcer/source_pb2.pyi (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcer/source_pb2_grpc.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcetransformer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcetransformer/transform.proto (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcetransformer/transform_pb2.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcetransformer/transform_pb2.pyi (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/proto/sourcetransformer/transform_pb2_grpc.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducer/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducer/async_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducer/servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducer/servicer/async_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducer/servicer/task_manager.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducestreamer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducestreamer/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducestreamer/async_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducestreamer/servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducestreamer/servicer/async_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/reducestreamer/servicer/task_manager.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/shared/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/shared/asynciter.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/shared/server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/shared/synciter.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/shared/thread_with_return.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sideinput/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sideinput/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sideinput/server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sideinput/servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sideinput/servicer/servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sinker/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sinker/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sinker/async_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sinker/server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sinker/servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sinker/servicer/async_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sinker/servicer/sync_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sinker/servicer/utils.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcer/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcer/async_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcer/servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcer/servicer/async_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcetransformer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcetransformer/_dtypes.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcetransformer/async_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcetransformer/multiproc_server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcetransformer/server.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcetransformer/servicer/__init__.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcetransformer/servicer/_async_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/sourcetransformer/servicer/_servicer.py (100%) rename {pynumaflow => packages/pynumaflow/pynumaflow}/types.py (100%) rename pyproject.toml => packages/pynumaflow/pyproject.toml (100%) rename pytest.ini => packages/pynumaflow/pytest.ini (100%) rename {tests => packages/pynumaflow/tests}/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/accumulator/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/accumulator/test_async_accumulator.py (100%) rename {tests => packages/pynumaflow/tests}/accumulator/test_async_accumulator_err.py (100%) rename {tests => packages/pynumaflow/tests}/accumulator/test_datatypes.py (100%) rename {tests => packages/pynumaflow/tests}/accumulator/utils.py (100%) rename {tests => packages/pynumaflow/tests}/batchmap/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/batchmap/test_async_batch_map.py (100%) rename {tests => packages/pynumaflow/tests}/batchmap/test_async_batch_map_err.py (100%) rename {tests => packages/pynumaflow/tests}/batchmap/test_datatypes.py (100%) rename {tests => packages/pynumaflow/tests}/batchmap/test_messages.py (100%) rename {tests => packages/pynumaflow/tests}/batchmap/utils.py (100%) rename {tests => packages/pynumaflow/tests}/errors/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/errors/test_dtypes.py (100%) rename {tests => packages/pynumaflow/tests}/errors/test_persist_critical_error.py (100%) rename {tests => packages/pynumaflow/tests}/map/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/map/test_async_mapper.py (100%) rename {tests => packages/pynumaflow/tests}/map/test_messages.py (100%) rename {tests => packages/pynumaflow/tests}/map/test_multiproc_mapper.py (100%) rename {tests => packages/pynumaflow/tests}/map/test_sync_mapper.py (100%) rename {tests => packages/pynumaflow/tests}/map/utils.py (100%) rename {tests => packages/pynumaflow/tests}/mapstream/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/mapstream/test_async_map_stream.py (100%) rename {tests => packages/pynumaflow/tests}/mapstream/test_async_map_stream_err.py (100%) rename {tests => packages/pynumaflow/tests}/mapstream/test_messages.py (100%) rename {tests => packages/pynumaflow/tests}/mapstream/utils.py (100%) rename {tests => packages/pynumaflow/tests}/reduce/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/reduce/test_async_reduce.py (100%) rename {tests => packages/pynumaflow/tests}/reduce/test_async_reduce_err.py (100%) rename {tests => packages/pynumaflow/tests}/reduce/test_datatypes.py (100%) rename {tests => packages/pynumaflow/tests}/reduce/test_messages.py (100%) rename {tests => packages/pynumaflow/tests}/reducestreamer/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/reducestreamer/test_async_reduce.py (100%) rename {tests => packages/pynumaflow/tests}/reducestreamer/test_async_reduce_err.py (100%) rename {tests => packages/pynumaflow/tests}/reducestreamer/test_datatypes.py (100%) rename {tests => packages/pynumaflow/tests}/reducestreamer/test_messages.py (100%) rename {tests => packages/pynumaflow/tests}/sideinput/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/sideinput/test_responses.py (100%) rename {tests => packages/pynumaflow/tests}/sideinput/test_side_input_server.py (100%) rename {tests => packages/pynumaflow/tests}/sink/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/sink/test_async_sink.py (100%) rename {tests => packages/pynumaflow/tests}/sink/test_datatypes.py (100%) rename {tests => packages/pynumaflow/tests}/sink/test_responses.py (100%) rename {tests => packages/pynumaflow/tests}/sink/test_server.py (100%) rename {tests => packages/pynumaflow/tests}/source/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/source/test_async_source.py (100%) rename {tests => packages/pynumaflow/tests}/source/test_async_source_err.py (100%) rename {tests => packages/pynumaflow/tests}/source/test_message.py (100%) rename {tests => packages/pynumaflow/tests}/source/utils.py (100%) rename {tests => packages/pynumaflow/tests}/sourcetransform/__init__.py (100%) rename {tests => packages/pynumaflow/tests}/sourcetransform/test_async.py (100%) rename {tests => packages/pynumaflow/tests}/sourcetransform/test_messages.py (100%) rename {tests => packages/pynumaflow/tests}/sourcetransform/test_multiproc.py (100%) rename {tests => packages/pynumaflow/tests}/sourcetransform/test_sync_server.py (100%) rename {tests => packages/pynumaflow/tests}/sourcetransform/utils.py (100%) rename {tests => packages/pynumaflow/tests}/test_info_server.py (100%) rename {tests => packages/pynumaflow/tests}/testing_utils.py (100%) diff --git a/Makefile b/packages/pynumaflow/Makefile similarity index 100% rename from Makefile rename to packages/pynumaflow/Makefile diff --git a/examples/accumulator/streamsorter/Dockerfile b/packages/pynumaflow/examples/accumulator/streamsorter/Dockerfile similarity index 100% rename from examples/accumulator/streamsorter/Dockerfile rename to packages/pynumaflow/examples/accumulator/streamsorter/Dockerfile diff --git a/examples/accumulator/streamsorter/Makefile b/packages/pynumaflow/examples/accumulator/streamsorter/Makefile similarity index 100% rename from examples/accumulator/streamsorter/Makefile rename to packages/pynumaflow/examples/accumulator/streamsorter/Makefile diff --git a/examples/accumulator/streamsorter/Makefile.optimized b/packages/pynumaflow/examples/accumulator/streamsorter/Makefile.optimized similarity index 100% rename from examples/accumulator/streamsorter/Makefile.optimized rename to packages/pynumaflow/examples/accumulator/streamsorter/Makefile.optimized diff --git a/examples/accumulator/streamsorter/README.md b/packages/pynumaflow/examples/accumulator/streamsorter/README.md similarity index 100% rename from examples/accumulator/streamsorter/README.md rename to packages/pynumaflow/examples/accumulator/streamsorter/README.md diff --git a/examples/accumulator/streamsorter/entry.sh b/packages/pynumaflow/examples/accumulator/streamsorter/entry.sh similarity index 100% rename from examples/accumulator/streamsorter/entry.sh rename to packages/pynumaflow/examples/accumulator/streamsorter/entry.sh diff --git a/examples/accumulator/streamsorter/example.py b/packages/pynumaflow/examples/accumulator/streamsorter/example.py similarity index 100% rename from examples/accumulator/streamsorter/example.py rename to packages/pynumaflow/examples/accumulator/streamsorter/example.py diff --git a/examples/accumulator/streamsorter/pipeline.yaml b/packages/pynumaflow/examples/accumulator/streamsorter/pipeline.yaml similarity index 100% rename from examples/accumulator/streamsorter/pipeline.yaml rename to packages/pynumaflow/examples/accumulator/streamsorter/pipeline.yaml diff --git a/examples/accumulator/streamsorter/pyproject.toml b/packages/pynumaflow/examples/accumulator/streamsorter/pyproject.toml similarity index 100% rename from examples/accumulator/streamsorter/pyproject.toml rename to packages/pynumaflow/examples/accumulator/streamsorter/pyproject.toml diff --git a/examples/batchmap/README.md b/packages/pynumaflow/examples/batchmap/README.md similarity index 100% rename from examples/batchmap/README.md rename to packages/pynumaflow/examples/batchmap/README.md diff --git a/examples/batchmap/flatmap/Dockerfile b/packages/pynumaflow/examples/batchmap/flatmap/Dockerfile similarity index 100% rename from examples/batchmap/flatmap/Dockerfile rename to packages/pynumaflow/examples/batchmap/flatmap/Dockerfile diff --git a/examples/batchmap/flatmap/Makefile b/packages/pynumaflow/examples/batchmap/flatmap/Makefile similarity index 100% rename from examples/batchmap/flatmap/Makefile rename to packages/pynumaflow/examples/batchmap/flatmap/Makefile diff --git a/examples/batchmap/flatmap/entry.sh b/packages/pynumaflow/examples/batchmap/flatmap/entry.sh similarity index 100% rename from examples/batchmap/flatmap/entry.sh rename to packages/pynumaflow/examples/batchmap/flatmap/entry.sh diff --git a/examples/batchmap/flatmap/example.py b/packages/pynumaflow/examples/batchmap/flatmap/example.py similarity index 100% rename from examples/batchmap/flatmap/example.py rename to packages/pynumaflow/examples/batchmap/flatmap/example.py diff --git a/examples/batchmap/flatmap/pipeline.yaml b/packages/pynumaflow/examples/batchmap/flatmap/pipeline.yaml similarity index 100% rename from examples/batchmap/flatmap/pipeline.yaml rename to packages/pynumaflow/examples/batchmap/flatmap/pipeline.yaml diff --git a/examples/batchmap/flatmap/pyproject.toml b/packages/pynumaflow/examples/batchmap/flatmap/pyproject.toml similarity index 100% rename from examples/batchmap/flatmap/pyproject.toml rename to packages/pynumaflow/examples/batchmap/flatmap/pyproject.toml diff --git a/examples/map/even_odd/Dockerfile b/packages/pynumaflow/examples/map/even_odd/Dockerfile similarity index 100% rename from examples/map/even_odd/Dockerfile rename to packages/pynumaflow/examples/map/even_odd/Dockerfile diff --git a/examples/map/even_odd/Makefile b/packages/pynumaflow/examples/map/even_odd/Makefile similarity index 100% rename from examples/map/even_odd/Makefile rename to packages/pynumaflow/examples/map/even_odd/Makefile diff --git a/examples/map/even_odd/Makefile.optimized b/packages/pynumaflow/examples/map/even_odd/Makefile.optimized similarity index 100% rename from examples/map/even_odd/Makefile.optimized rename to packages/pynumaflow/examples/map/even_odd/Makefile.optimized diff --git a/examples/map/even_odd/entry.sh b/packages/pynumaflow/examples/map/even_odd/entry.sh similarity index 100% rename from examples/map/even_odd/entry.sh rename to packages/pynumaflow/examples/map/even_odd/entry.sh diff --git a/examples/map/even_odd/example.py b/packages/pynumaflow/examples/map/even_odd/example.py similarity index 100% rename from examples/map/even_odd/example.py rename to packages/pynumaflow/examples/map/even_odd/example.py diff --git a/examples/map/even_odd/pipeline.yaml b/packages/pynumaflow/examples/map/even_odd/pipeline.yaml similarity index 100% rename from examples/map/even_odd/pipeline.yaml rename to packages/pynumaflow/examples/map/even_odd/pipeline.yaml diff --git a/examples/map/even_odd/pyproject.toml b/packages/pynumaflow/examples/map/even_odd/pyproject.toml similarity index 100% rename from examples/map/even_odd/pyproject.toml rename to packages/pynumaflow/examples/map/even_odd/pyproject.toml diff --git a/examples/map/flatmap/Dockerfile b/packages/pynumaflow/examples/map/flatmap/Dockerfile similarity index 100% rename from examples/map/flatmap/Dockerfile rename to packages/pynumaflow/examples/map/flatmap/Dockerfile diff --git a/examples/map/flatmap/Makefile b/packages/pynumaflow/examples/map/flatmap/Makefile similarity index 100% rename from examples/map/flatmap/Makefile rename to packages/pynumaflow/examples/map/flatmap/Makefile diff --git a/examples/map/flatmap/entry.sh b/packages/pynumaflow/examples/map/flatmap/entry.sh similarity index 100% rename from examples/map/flatmap/entry.sh rename to packages/pynumaflow/examples/map/flatmap/entry.sh diff --git a/examples/map/flatmap/example.py b/packages/pynumaflow/examples/map/flatmap/example.py similarity index 100% rename from examples/map/flatmap/example.py rename to packages/pynumaflow/examples/map/flatmap/example.py diff --git a/examples/map/flatmap/pipeline.yaml b/packages/pynumaflow/examples/map/flatmap/pipeline.yaml similarity index 100% rename from examples/map/flatmap/pipeline.yaml rename to packages/pynumaflow/examples/map/flatmap/pipeline.yaml diff --git a/examples/map/flatmap/pyproject.toml b/packages/pynumaflow/examples/map/flatmap/pyproject.toml similarity index 100% rename from examples/map/flatmap/pyproject.toml rename to packages/pynumaflow/examples/map/flatmap/pyproject.toml diff --git a/examples/map/forward_message/Dockerfile b/packages/pynumaflow/examples/map/forward_message/Dockerfile similarity index 100% rename from examples/map/forward_message/Dockerfile rename to packages/pynumaflow/examples/map/forward_message/Dockerfile diff --git a/examples/map/forward_message/Makefile b/packages/pynumaflow/examples/map/forward_message/Makefile similarity index 100% rename from examples/map/forward_message/Makefile rename to packages/pynumaflow/examples/map/forward_message/Makefile diff --git a/examples/map/forward_message/entry.sh b/packages/pynumaflow/examples/map/forward_message/entry.sh similarity index 100% rename from examples/map/forward_message/entry.sh rename to packages/pynumaflow/examples/map/forward_message/entry.sh diff --git a/examples/map/forward_message/example.py b/packages/pynumaflow/examples/map/forward_message/example.py similarity index 100% rename from examples/map/forward_message/example.py rename to packages/pynumaflow/examples/map/forward_message/example.py diff --git a/examples/map/forward_message/pipeline.yaml b/packages/pynumaflow/examples/map/forward_message/pipeline.yaml similarity index 100% rename from examples/map/forward_message/pipeline.yaml rename to packages/pynumaflow/examples/map/forward_message/pipeline.yaml diff --git a/examples/map/forward_message/pyproject.toml b/packages/pynumaflow/examples/map/forward_message/pyproject.toml similarity index 100% rename from examples/map/forward_message/pyproject.toml rename to packages/pynumaflow/examples/map/forward_message/pyproject.toml diff --git a/examples/map/multiproc_map/Dockerfile b/packages/pynumaflow/examples/map/multiproc_map/Dockerfile similarity index 100% rename from examples/map/multiproc_map/Dockerfile rename to packages/pynumaflow/examples/map/multiproc_map/Dockerfile diff --git a/examples/map/multiproc_map/Makefile b/packages/pynumaflow/examples/map/multiproc_map/Makefile similarity index 100% rename from examples/map/multiproc_map/Makefile rename to packages/pynumaflow/examples/map/multiproc_map/Makefile diff --git a/examples/map/multiproc_map/README.md b/packages/pynumaflow/examples/map/multiproc_map/README.md similarity index 100% rename from examples/map/multiproc_map/README.md rename to packages/pynumaflow/examples/map/multiproc_map/README.md diff --git a/examples/map/multiproc_map/entry.sh b/packages/pynumaflow/examples/map/multiproc_map/entry.sh similarity index 100% rename from examples/map/multiproc_map/entry.sh rename to packages/pynumaflow/examples/map/multiproc_map/entry.sh diff --git a/examples/map/multiproc_map/example.py b/packages/pynumaflow/examples/map/multiproc_map/example.py similarity index 100% rename from examples/map/multiproc_map/example.py rename to packages/pynumaflow/examples/map/multiproc_map/example.py diff --git a/examples/map/multiproc_map/pipeline.yaml b/packages/pynumaflow/examples/map/multiproc_map/pipeline.yaml similarity index 100% rename from examples/map/multiproc_map/pipeline.yaml rename to packages/pynumaflow/examples/map/multiproc_map/pipeline.yaml diff --git a/examples/map/multiproc_map/pyproject.toml b/packages/pynumaflow/examples/map/multiproc_map/pyproject.toml similarity index 100% rename from examples/map/multiproc_map/pyproject.toml rename to packages/pynumaflow/examples/map/multiproc_map/pyproject.toml diff --git a/examples/mapstream/flatmap_stream/Dockerfile b/packages/pynumaflow/examples/mapstream/flatmap_stream/Dockerfile similarity index 100% rename from examples/mapstream/flatmap_stream/Dockerfile rename to packages/pynumaflow/examples/mapstream/flatmap_stream/Dockerfile diff --git a/examples/mapstream/flatmap_stream/Makefile b/packages/pynumaflow/examples/mapstream/flatmap_stream/Makefile similarity index 100% rename from examples/mapstream/flatmap_stream/Makefile rename to packages/pynumaflow/examples/mapstream/flatmap_stream/Makefile diff --git a/examples/mapstream/flatmap_stream/entry.sh b/packages/pynumaflow/examples/mapstream/flatmap_stream/entry.sh similarity index 100% rename from examples/mapstream/flatmap_stream/entry.sh rename to packages/pynumaflow/examples/mapstream/flatmap_stream/entry.sh diff --git a/examples/mapstream/flatmap_stream/example.py b/packages/pynumaflow/examples/mapstream/flatmap_stream/example.py similarity index 100% rename from examples/mapstream/flatmap_stream/example.py rename to packages/pynumaflow/examples/mapstream/flatmap_stream/example.py diff --git a/examples/mapstream/flatmap_stream/pipeline.yaml b/packages/pynumaflow/examples/mapstream/flatmap_stream/pipeline.yaml similarity index 100% rename from examples/mapstream/flatmap_stream/pipeline.yaml rename to packages/pynumaflow/examples/mapstream/flatmap_stream/pipeline.yaml diff --git a/examples/mapstream/flatmap_stream/pyproject.toml b/packages/pynumaflow/examples/mapstream/flatmap_stream/pyproject.toml similarity index 100% rename from examples/mapstream/flatmap_stream/pyproject.toml rename to packages/pynumaflow/examples/mapstream/flatmap_stream/pyproject.toml diff --git a/examples/reduce/README.md b/packages/pynumaflow/examples/reduce/README.md similarity index 100% rename from examples/reduce/README.md rename to packages/pynumaflow/examples/reduce/README.md diff --git a/examples/reduce/asyncio_reduce/Dockerfile b/packages/pynumaflow/examples/reduce/asyncio_reduce/Dockerfile similarity index 100% rename from examples/reduce/asyncio_reduce/Dockerfile rename to packages/pynumaflow/examples/reduce/asyncio_reduce/Dockerfile diff --git a/examples/reduce/asyncio_reduce/Makefile b/packages/pynumaflow/examples/reduce/asyncio_reduce/Makefile similarity index 100% rename from examples/reduce/asyncio_reduce/Makefile rename to packages/pynumaflow/examples/reduce/asyncio_reduce/Makefile diff --git a/examples/reduce/asyncio_reduce/README.md b/packages/pynumaflow/examples/reduce/asyncio_reduce/README.md similarity index 100% rename from examples/reduce/asyncio_reduce/README.md rename to packages/pynumaflow/examples/reduce/asyncio_reduce/README.md diff --git a/examples/reduce/asyncio_reduce/async_exec.py b/packages/pynumaflow/examples/reduce/asyncio_reduce/async_exec.py similarity index 100% rename from examples/reduce/asyncio_reduce/async_exec.py rename to packages/pynumaflow/examples/reduce/asyncio_reduce/async_exec.py diff --git a/examples/reduce/asyncio_reduce/entry.sh b/packages/pynumaflow/examples/reduce/asyncio_reduce/entry.sh similarity index 100% rename from examples/reduce/asyncio_reduce/entry.sh rename to packages/pynumaflow/examples/reduce/asyncio_reduce/entry.sh diff --git a/examples/reduce/asyncio_reduce/executorpool.py b/packages/pynumaflow/examples/reduce/asyncio_reduce/executorpool.py similarity index 100% rename from examples/reduce/asyncio_reduce/executorpool.py rename to packages/pynumaflow/examples/reduce/asyncio_reduce/executorpool.py diff --git a/examples/reduce/asyncio_reduce/pyproject.toml b/packages/pynumaflow/examples/reduce/asyncio_reduce/pyproject.toml similarity index 100% rename from examples/reduce/asyncio_reduce/pyproject.toml rename to packages/pynumaflow/examples/reduce/asyncio_reduce/pyproject.toml diff --git a/examples/reduce/asyncio_reduce/testing_data/async/async_100_0.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_100_0.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/async/async_100_0.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_100_0.png diff --git a/examples/reduce/asyncio_reduce/testing_data/async/async_100_1s.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_100_1s.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/async/async_100_1s.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_100_1s.png diff --git a/examples/reduce/asyncio_reduce/testing_data/async/async_100_200.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_100_200.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/async/async_100_200.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_100_200.png diff --git a/examples/reduce/asyncio_reduce/testing_data/async/async_10_0.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_10_0.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/async/async_10_0.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_10_0.png diff --git a/examples/reduce/asyncio_reduce/testing_data/async/async_10_1s.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_10_1s.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/async/async_10_1s.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_10_1s.png diff --git a/examples/reduce/asyncio_reduce/testing_data/async/async_10_200.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_10_200.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/async/async_10_200.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/async/async_10_200.png diff --git a/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_0.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_0.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_0.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_0.png diff --git a/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_1s.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_1s.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_1s.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_1s.png diff --git a/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_200.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_200.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_200.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_100_200.png diff --git a/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_0.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_0.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_0.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_0.png diff --git a/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_1.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_1.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_1.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_1.png diff --git a/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_200.png b/packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_200.png similarity index 100% rename from examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_200.png rename to packages/pynumaflow/examples/reduce/asyncio_reduce/testing_data/threadpool/thread_10_200.png diff --git a/examples/reduce/counter/Dockerfile b/packages/pynumaflow/examples/reduce/counter/Dockerfile similarity index 100% rename from examples/reduce/counter/Dockerfile rename to packages/pynumaflow/examples/reduce/counter/Dockerfile diff --git a/examples/reduce/counter/Makefile b/packages/pynumaflow/examples/reduce/counter/Makefile similarity index 100% rename from examples/reduce/counter/Makefile rename to packages/pynumaflow/examples/reduce/counter/Makefile diff --git a/examples/reduce/counter/entry.sh b/packages/pynumaflow/examples/reduce/counter/entry.sh similarity index 100% rename from examples/reduce/counter/entry.sh rename to packages/pynumaflow/examples/reduce/counter/entry.sh diff --git a/examples/reduce/counter/example.py b/packages/pynumaflow/examples/reduce/counter/example.py similarity index 100% rename from examples/reduce/counter/example.py rename to packages/pynumaflow/examples/reduce/counter/example.py diff --git a/examples/reduce/counter/pipeline.yaml b/packages/pynumaflow/examples/reduce/counter/pipeline.yaml similarity index 100% rename from examples/reduce/counter/pipeline.yaml rename to packages/pynumaflow/examples/reduce/counter/pipeline.yaml diff --git a/examples/reduce/counter/pyproject.toml b/packages/pynumaflow/examples/reduce/counter/pyproject.toml similarity index 100% rename from examples/reduce/counter/pyproject.toml rename to packages/pynumaflow/examples/reduce/counter/pyproject.toml diff --git a/examples/reducestream/counter/Dockerfile b/packages/pynumaflow/examples/reducestream/counter/Dockerfile similarity index 100% rename from examples/reducestream/counter/Dockerfile rename to packages/pynumaflow/examples/reducestream/counter/Dockerfile diff --git a/examples/reducestream/counter/Makefile b/packages/pynumaflow/examples/reducestream/counter/Makefile similarity index 100% rename from examples/reducestream/counter/Makefile rename to packages/pynumaflow/examples/reducestream/counter/Makefile diff --git a/examples/reducestream/counter/entry.sh b/packages/pynumaflow/examples/reducestream/counter/entry.sh similarity index 100% rename from examples/reducestream/counter/entry.sh rename to packages/pynumaflow/examples/reducestream/counter/entry.sh diff --git a/examples/reducestream/counter/example.py b/packages/pynumaflow/examples/reducestream/counter/example.py similarity index 100% rename from examples/reducestream/counter/example.py rename to packages/pynumaflow/examples/reducestream/counter/example.py diff --git a/examples/reducestream/counter/pipeline.yaml b/packages/pynumaflow/examples/reducestream/counter/pipeline.yaml similarity index 100% rename from examples/reducestream/counter/pipeline.yaml rename to packages/pynumaflow/examples/reducestream/counter/pipeline.yaml diff --git a/examples/reducestream/counter/pyproject.toml b/packages/pynumaflow/examples/reducestream/counter/pyproject.toml similarity index 100% rename from examples/reducestream/counter/pyproject.toml rename to packages/pynumaflow/examples/reducestream/counter/pyproject.toml diff --git a/examples/reducestream/sum/Dockerfile b/packages/pynumaflow/examples/reducestream/sum/Dockerfile similarity index 100% rename from examples/reducestream/sum/Dockerfile rename to packages/pynumaflow/examples/reducestream/sum/Dockerfile diff --git a/examples/reducestream/sum/Makefile b/packages/pynumaflow/examples/reducestream/sum/Makefile similarity index 100% rename from examples/reducestream/sum/Makefile rename to packages/pynumaflow/examples/reducestream/sum/Makefile diff --git a/examples/reducestream/sum/entry.sh b/packages/pynumaflow/examples/reducestream/sum/entry.sh similarity index 100% rename from examples/reducestream/sum/entry.sh rename to packages/pynumaflow/examples/reducestream/sum/entry.sh diff --git a/examples/reducestream/sum/example.py b/packages/pynumaflow/examples/reducestream/sum/example.py similarity index 100% rename from examples/reducestream/sum/example.py rename to packages/pynumaflow/examples/reducestream/sum/example.py diff --git a/examples/reducestream/sum/pipeline.yaml b/packages/pynumaflow/examples/reducestream/sum/pipeline.yaml similarity index 100% rename from examples/reducestream/sum/pipeline.yaml rename to packages/pynumaflow/examples/reducestream/sum/pipeline.yaml diff --git a/examples/reducestream/sum/pyproject.toml b/packages/pynumaflow/examples/reducestream/sum/pyproject.toml similarity index 100% rename from examples/reducestream/sum/pyproject.toml rename to packages/pynumaflow/examples/reducestream/sum/pyproject.toml diff --git a/examples/sideinput/simple_sideinput/Dockerfile b/packages/pynumaflow/examples/sideinput/simple_sideinput/Dockerfile similarity index 100% rename from examples/sideinput/simple_sideinput/Dockerfile rename to packages/pynumaflow/examples/sideinput/simple_sideinput/Dockerfile diff --git a/examples/sideinput/simple_sideinput/Makefile b/packages/pynumaflow/examples/sideinput/simple_sideinput/Makefile similarity index 100% rename from examples/sideinput/simple_sideinput/Makefile rename to packages/pynumaflow/examples/sideinput/simple_sideinput/Makefile diff --git a/examples/sideinput/simple_sideinput/README.md b/packages/pynumaflow/examples/sideinput/simple_sideinput/README.md similarity index 100% rename from examples/sideinput/simple_sideinput/README.md rename to packages/pynumaflow/examples/sideinput/simple_sideinput/README.md diff --git a/examples/sideinput/simple_sideinput/entry.sh b/packages/pynumaflow/examples/sideinput/simple_sideinput/entry.sh similarity index 100% rename from examples/sideinput/simple_sideinput/entry.sh rename to packages/pynumaflow/examples/sideinput/simple_sideinput/entry.sh diff --git a/examples/sideinput/simple_sideinput/example.py b/packages/pynumaflow/examples/sideinput/simple_sideinput/example.py similarity index 100% rename from examples/sideinput/simple_sideinput/example.py rename to packages/pynumaflow/examples/sideinput/simple_sideinput/example.py diff --git a/examples/sideinput/simple_sideinput/pipeline.yaml b/packages/pynumaflow/examples/sideinput/simple_sideinput/pipeline.yaml similarity index 100% rename from examples/sideinput/simple_sideinput/pipeline.yaml rename to packages/pynumaflow/examples/sideinput/simple_sideinput/pipeline.yaml diff --git a/examples/sideinput/simple_sideinput/pyproject.toml b/packages/pynumaflow/examples/sideinput/simple_sideinput/pyproject.toml similarity index 100% rename from examples/sideinput/simple_sideinput/pyproject.toml rename to packages/pynumaflow/examples/sideinput/simple_sideinput/pyproject.toml diff --git a/examples/sideinput/simple_sideinput/udf/Dockerfile b/packages/pynumaflow/examples/sideinput/simple_sideinput/udf/Dockerfile similarity index 100% rename from examples/sideinput/simple_sideinput/udf/Dockerfile rename to packages/pynumaflow/examples/sideinput/simple_sideinput/udf/Dockerfile diff --git a/examples/sideinput/simple_sideinput/udf/Makefile b/packages/pynumaflow/examples/sideinput/simple_sideinput/udf/Makefile similarity index 100% rename from examples/sideinput/simple_sideinput/udf/Makefile rename to packages/pynumaflow/examples/sideinput/simple_sideinput/udf/Makefile diff --git a/examples/sideinput/simple_sideinput/udf/entry.sh b/packages/pynumaflow/examples/sideinput/simple_sideinput/udf/entry.sh similarity index 100% rename from examples/sideinput/simple_sideinput/udf/entry.sh rename to packages/pynumaflow/examples/sideinput/simple_sideinput/udf/entry.sh diff --git a/examples/sideinput/simple_sideinput/udf/example.py b/packages/pynumaflow/examples/sideinput/simple_sideinput/udf/example.py similarity index 100% rename from examples/sideinput/simple_sideinput/udf/example.py rename to packages/pynumaflow/examples/sideinput/simple_sideinput/udf/example.py diff --git a/examples/sideinput/simple_sideinput/udf/pyproject.toml b/packages/pynumaflow/examples/sideinput/simple_sideinput/udf/pyproject.toml similarity index 100% rename from examples/sideinput/simple_sideinput/udf/pyproject.toml rename to packages/pynumaflow/examples/sideinput/simple_sideinput/udf/pyproject.toml diff --git a/examples/sink/async_log/Dockerfile b/packages/pynumaflow/examples/sink/async_log/Dockerfile similarity index 100% rename from examples/sink/async_log/Dockerfile rename to packages/pynumaflow/examples/sink/async_log/Dockerfile diff --git a/examples/sink/async_log/Makefile b/packages/pynumaflow/examples/sink/async_log/Makefile similarity index 100% rename from examples/sink/async_log/Makefile rename to packages/pynumaflow/examples/sink/async_log/Makefile diff --git a/examples/sink/async_log/entry.sh b/packages/pynumaflow/examples/sink/async_log/entry.sh similarity index 100% rename from examples/sink/async_log/entry.sh rename to packages/pynumaflow/examples/sink/async_log/entry.sh diff --git a/examples/sink/async_log/example.py b/packages/pynumaflow/examples/sink/async_log/example.py similarity index 100% rename from examples/sink/async_log/example.py rename to packages/pynumaflow/examples/sink/async_log/example.py diff --git a/examples/sink/async_log/pipeline.yaml b/packages/pynumaflow/examples/sink/async_log/pipeline.yaml similarity index 100% rename from examples/sink/async_log/pipeline.yaml rename to packages/pynumaflow/examples/sink/async_log/pipeline.yaml diff --git a/examples/sink/async_log/pyproject.toml b/packages/pynumaflow/examples/sink/async_log/pyproject.toml similarity index 100% rename from examples/sink/async_log/pyproject.toml rename to packages/pynumaflow/examples/sink/async_log/pyproject.toml diff --git a/examples/sink/log/Dockerfile b/packages/pynumaflow/examples/sink/log/Dockerfile similarity index 100% rename from examples/sink/log/Dockerfile rename to packages/pynumaflow/examples/sink/log/Dockerfile diff --git a/examples/sink/log/Makefile b/packages/pynumaflow/examples/sink/log/Makefile similarity index 100% rename from examples/sink/log/Makefile rename to packages/pynumaflow/examples/sink/log/Makefile diff --git a/examples/sink/log/entry.sh b/packages/pynumaflow/examples/sink/log/entry.sh similarity index 100% rename from examples/sink/log/entry.sh rename to packages/pynumaflow/examples/sink/log/entry.sh diff --git a/examples/sink/log/example.py b/packages/pynumaflow/examples/sink/log/example.py similarity index 100% rename from examples/sink/log/example.py rename to packages/pynumaflow/examples/sink/log/example.py diff --git a/examples/sink/log/pipeline.yaml b/packages/pynumaflow/examples/sink/log/pipeline.yaml similarity index 100% rename from examples/sink/log/pipeline.yaml rename to packages/pynumaflow/examples/sink/log/pipeline.yaml diff --git a/examples/sink/log/pyproject.toml b/packages/pynumaflow/examples/sink/log/pyproject.toml similarity index 100% rename from examples/sink/log/pyproject.toml rename to packages/pynumaflow/examples/sink/log/pyproject.toml diff --git a/examples/source/simple_source/Dockerfile b/packages/pynumaflow/examples/source/simple_source/Dockerfile similarity index 100% rename from examples/source/simple_source/Dockerfile rename to packages/pynumaflow/examples/source/simple_source/Dockerfile diff --git a/examples/source/simple_source/Makefile b/packages/pynumaflow/examples/source/simple_source/Makefile similarity index 100% rename from examples/source/simple_source/Makefile rename to packages/pynumaflow/examples/source/simple_source/Makefile diff --git a/examples/source/simple_source/README.md b/packages/pynumaflow/examples/source/simple_source/README.md similarity index 100% rename from examples/source/simple_source/README.md rename to packages/pynumaflow/examples/source/simple_source/README.md diff --git a/examples/source/simple_source/entry.sh b/packages/pynumaflow/examples/source/simple_source/entry.sh similarity index 100% rename from examples/source/simple_source/entry.sh rename to packages/pynumaflow/examples/source/simple_source/entry.sh diff --git a/examples/source/simple_source/example.py b/packages/pynumaflow/examples/source/simple_source/example.py similarity index 100% rename from examples/source/simple_source/example.py rename to packages/pynumaflow/examples/source/simple_source/example.py diff --git a/examples/source/simple_source/pipeline.yaml b/packages/pynumaflow/examples/source/simple_source/pipeline.yaml similarity index 100% rename from examples/source/simple_source/pipeline.yaml rename to packages/pynumaflow/examples/source/simple_source/pipeline.yaml diff --git a/examples/source/simple_source/pyproject.toml b/packages/pynumaflow/examples/source/simple_source/pyproject.toml similarity index 100% rename from examples/source/simple_source/pyproject.toml rename to packages/pynumaflow/examples/source/simple_source/pyproject.toml diff --git a/examples/sourcetransform/async_event_time_filter/Dockerfile b/packages/pynumaflow/examples/sourcetransform/async_event_time_filter/Dockerfile similarity index 100% rename from examples/sourcetransform/async_event_time_filter/Dockerfile rename to packages/pynumaflow/examples/sourcetransform/async_event_time_filter/Dockerfile diff --git a/examples/sourcetransform/async_event_time_filter/Makefile b/packages/pynumaflow/examples/sourcetransform/async_event_time_filter/Makefile similarity index 100% rename from examples/sourcetransform/async_event_time_filter/Makefile rename to packages/pynumaflow/examples/sourcetransform/async_event_time_filter/Makefile diff --git a/examples/sourcetransform/async_event_time_filter/entry.sh b/packages/pynumaflow/examples/sourcetransform/async_event_time_filter/entry.sh similarity index 100% rename from examples/sourcetransform/async_event_time_filter/entry.sh rename to packages/pynumaflow/examples/sourcetransform/async_event_time_filter/entry.sh diff --git a/examples/sourcetransform/async_event_time_filter/example.py b/packages/pynumaflow/examples/sourcetransform/async_event_time_filter/example.py similarity index 100% rename from examples/sourcetransform/async_event_time_filter/example.py rename to packages/pynumaflow/examples/sourcetransform/async_event_time_filter/example.py diff --git a/examples/sourcetransform/async_event_time_filter/pyproject.toml b/packages/pynumaflow/examples/sourcetransform/async_event_time_filter/pyproject.toml similarity index 100% rename from examples/sourcetransform/async_event_time_filter/pyproject.toml rename to packages/pynumaflow/examples/sourcetransform/async_event_time_filter/pyproject.toml diff --git a/examples/sourcetransform/event_time_filter/Dockerfile b/packages/pynumaflow/examples/sourcetransform/event_time_filter/Dockerfile similarity index 100% rename from examples/sourcetransform/event_time_filter/Dockerfile rename to packages/pynumaflow/examples/sourcetransform/event_time_filter/Dockerfile diff --git a/examples/sourcetransform/event_time_filter/Makefile b/packages/pynumaflow/examples/sourcetransform/event_time_filter/Makefile similarity index 100% rename from examples/sourcetransform/event_time_filter/Makefile rename to packages/pynumaflow/examples/sourcetransform/event_time_filter/Makefile diff --git a/examples/sourcetransform/event_time_filter/entry.sh b/packages/pynumaflow/examples/sourcetransform/event_time_filter/entry.sh similarity index 100% rename from examples/sourcetransform/event_time_filter/entry.sh rename to packages/pynumaflow/examples/sourcetransform/event_time_filter/entry.sh diff --git a/examples/sourcetransform/event_time_filter/example.py b/packages/pynumaflow/examples/sourcetransform/event_time_filter/example.py similarity index 100% rename from examples/sourcetransform/event_time_filter/example.py rename to packages/pynumaflow/examples/sourcetransform/event_time_filter/example.py diff --git a/examples/sourcetransform/event_time_filter/pyproject.toml b/packages/pynumaflow/examples/sourcetransform/event_time_filter/pyproject.toml similarity index 100% rename from examples/sourcetransform/event_time_filter/pyproject.toml rename to packages/pynumaflow/examples/sourcetransform/event_time_filter/pyproject.toml diff --git a/poetry.lock b/packages/pynumaflow/poetry.lock similarity index 100% rename from poetry.lock rename to packages/pynumaflow/poetry.lock diff --git a/pynumaflow/__init__.py b/packages/pynumaflow/pynumaflow/__init__.py similarity index 100% rename from pynumaflow/__init__.py rename to packages/pynumaflow/pynumaflow/__init__.py diff --git a/pynumaflow/_constants.py b/packages/pynumaflow/pynumaflow/_constants.py similarity index 100% rename from pynumaflow/_constants.py rename to packages/pynumaflow/pynumaflow/_constants.py diff --git a/pynumaflow/accumulator/__init__.py b/packages/pynumaflow/pynumaflow/accumulator/__init__.py similarity index 100% rename from pynumaflow/accumulator/__init__.py rename to packages/pynumaflow/pynumaflow/accumulator/__init__.py diff --git a/pynumaflow/accumulator/_dtypes.py b/packages/pynumaflow/pynumaflow/accumulator/_dtypes.py similarity index 100% rename from pynumaflow/accumulator/_dtypes.py rename to packages/pynumaflow/pynumaflow/accumulator/_dtypes.py diff --git a/pynumaflow/accumulator/async_server.py b/packages/pynumaflow/pynumaflow/accumulator/async_server.py similarity index 100% rename from pynumaflow/accumulator/async_server.py rename to packages/pynumaflow/pynumaflow/accumulator/async_server.py diff --git a/pynumaflow/accumulator/servicer/__init__.py b/packages/pynumaflow/pynumaflow/accumulator/servicer/__init__.py similarity index 100% rename from pynumaflow/accumulator/servicer/__init__.py rename to packages/pynumaflow/pynumaflow/accumulator/servicer/__init__.py diff --git a/pynumaflow/accumulator/servicer/async_servicer.py b/packages/pynumaflow/pynumaflow/accumulator/servicer/async_servicer.py similarity index 100% rename from pynumaflow/accumulator/servicer/async_servicer.py rename to packages/pynumaflow/pynumaflow/accumulator/servicer/async_servicer.py diff --git a/pynumaflow/accumulator/servicer/task_manager.py b/packages/pynumaflow/pynumaflow/accumulator/servicer/task_manager.py similarity index 100% rename from pynumaflow/accumulator/servicer/task_manager.py rename to packages/pynumaflow/pynumaflow/accumulator/servicer/task_manager.py diff --git a/pynumaflow/batchmapper/__init__.py b/packages/pynumaflow/pynumaflow/batchmapper/__init__.py similarity index 100% rename from pynumaflow/batchmapper/__init__.py rename to packages/pynumaflow/pynumaflow/batchmapper/__init__.py diff --git a/pynumaflow/batchmapper/_dtypes.py b/packages/pynumaflow/pynumaflow/batchmapper/_dtypes.py similarity index 100% rename from pynumaflow/batchmapper/_dtypes.py rename to packages/pynumaflow/pynumaflow/batchmapper/_dtypes.py diff --git a/pynumaflow/batchmapper/async_server.py b/packages/pynumaflow/pynumaflow/batchmapper/async_server.py similarity index 100% rename from pynumaflow/batchmapper/async_server.py rename to packages/pynumaflow/pynumaflow/batchmapper/async_server.py diff --git a/pynumaflow/batchmapper/servicer/__init__.py b/packages/pynumaflow/pynumaflow/batchmapper/servicer/__init__.py similarity index 100% rename from pynumaflow/batchmapper/servicer/__init__.py rename to packages/pynumaflow/pynumaflow/batchmapper/servicer/__init__.py diff --git a/pynumaflow/batchmapper/servicer/async_servicer.py b/packages/pynumaflow/pynumaflow/batchmapper/servicer/async_servicer.py similarity index 100% rename from pynumaflow/batchmapper/servicer/async_servicer.py rename to packages/pynumaflow/pynumaflow/batchmapper/servicer/async_servicer.py diff --git a/pynumaflow/errors/__init__.py b/packages/pynumaflow/pynumaflow/errors/__init__.py similarity index 100% rename from pynumaflow/errors/__init__.py rename to packages/pynumaflow/pynumaflow/errors/__init__.py diff --git a/pynumaflow/errors/_dtypes.py b/packages/pynumaflow/pynumaflow/errors/_dtypes.py similarity index 100% rename from pynumaflow/errors/_dtypes.py rename to packages/pynumaflow/pynumaflow/errors/_dtypes.py diff --git a/pynumaflow/errors/errors.py b/packages/pynumaflow/pynumaflow/errors/errors.py similarity index 100% rename from pynumaflow/errors/errors.py rename to packages/pynumaflow/pynumaflow/errors/errors.py diff --git a/pynumaflow/exceptions.py b/packages/pynumaflow/pynumaflow/exceptions.py similarity index 100% rename from pynumaflow/exceptions.py rename to packages/pynumaflow/pynumaflow/exceptions.py diff --git a/pynumaflow/info/__init__.py b/packages/pynumaflow/pynumaflow/info/__init__.py similarity index 100% rename from pynumaflow/info/__init__.py rename to packages/pynumaflow/pynumaflow/info/__init__.py diff --git a/pynumaflow/info/server.py b/packages/pynumaflow/pynumaflow/info/server.py similarity index 100% rename from pynumaflow/info/server.py rename to packages/pynumaflow/pynumaflow/info/server.py diff --git a/pynumaflow/info/types.py b/packages/pynumaflow/pynumaflow/info/types.py similarity index 100% rename from pynumaflow/info/types.py rename to packages/pynumaflow/pynumaflow/info/types.py diff --git a/pynumaflow/mapper/__init__.py b/packages/pynumaflow/pynumaflow/mapper/__init__.py similarity index 100% rename from pynumaflow/mapper/__init__.py rename to packages/pynumaflow/pynumaflow/mapper/__init__.py diff --git a/pynumaflow/mapper/_dtypes.py b/packages/pynumaflow/pynumaflow/mapper/_dtypes.py similarity index 100% rename from pynumaflow/mapper/_dtypes.py rename to packages/pynumaflow/pynumaflow/mapper/_dtypes.py diff --git a/pynumaflow/mapper/_servicer/__init__.py b/packages/pynumaflow/pynumaflow/mapper/_servicer/__init__.py similarity index 100% rename from pynumaflow/mapper/_servicer/__init__.py rename to packages/pynumaflow/pynumaflow/mapper/_servicer/__init__.py diff --git a/pynumaflow/mapper/_servicer/_async_servicer.py b/packages/pynumaflow/pynumaflow/mapper/_servicer/_async_servicer.py similarity index 100% rename from pynumaflow/mapper/_servicer/_async_servicer.py rename to packages/pynumaflow/pynumaflow/mapper/_servicer/_async_servicer.py diff --git a/pynumaflow/mapper/_servicer/_sync_servicer.py b/packages/pynumaflow/pynumaflow/mapper/_servicer/_sync_servicer.py similarity index 100% rename from pynumaflow/mapper/_servicer/_sync_servicer.py rename to packages/pynumaflow/pynumaflow/mapper/_servicer/_sync_servicer.py diff --git a/pynumaflow/mapper/async_server.py b/packages/pynumaflow/pynumaflow/mapper/async_server.py similarity index 100% rename from pynumaflow/mapper/async_server.py rename to packages/pynumaflow/pynumaflow/mapper/async_server.py diff --git a/pynumaflow/mapper/multiproc_server.py b/packages/pynumaflow/pynumaflow/mapper/multiproc_server.py similarity index 100% rename from pynumaflow/mapper/multiproc_server.py rename to packages/pynumaflow/pynumaflow/mapper/multiproc_server.py diff --git a/pynumaflow/mapper/sync_server.py b/packages/pynumaflow/pynumaflow/mapper/sync_server.py similarity index 100% rename from pynumaflow/mapper/sync_server.py rename to packages/pynumaflow/pynumaflow/mapper/sync_server.py diff --git a/pynumaflow/mapstreamer/__init__.py b/packages/pynumaflow/pynumaflow/mapstreamer/__init__.py similarity index 100% rename from pynumaflow/mapstreamer/__init__.py rename to packages/pynumaflow/pynumaflow/mapstreamer/__init__.py diff --git a/pynumaflow/mapstreamer/_dtypes.py b/packages/pynumaflow/pynumaflow/mapstreamer/_dtypes.py similarity index 100% rename from pynumaflow/mapstreamer/_dtypes.py rename to packages/pynumaflow/pynumaflow/mapstreamer/_dtypes.py diff --git a/pynumaflow/mapstreamer/async_server.py b/packages/pynumaflow/pynumaflow/mapstreamer/async_server.py similarity index 100% rename from pynumaflow/mapstreamer/async_server.py rename to packages/pynumaflow/pynumaflow/mapstreamer/async_server.py diff --git a/pynumaflow/mapstreamer/servicer/__init__.py b/packages/pynumaflow/pynumaflow/mapstreamer/servicer/__init__.py similarity index 100% rename from pynumaflow/mapstreamer/servicer/__init__.py rename to packages/pynumaflow/pynumaflow/mapstreamer/servicer/__init__.py diff --git a/pynumaflow/mapstreamer/servicer/async_servicer.py b/packages/pynumaflow/pynumaflow/mapstreamer/servicer/async_servicer.py similarity index 100% rename from pynumaflow/mapstreamer/servicer/async_servicer.py rename to packages/pynumaflow/pynumaflow/mapstreamer/servicer/async_servicer.py diff --git a/pynumaflow/proto/__init__.py b/packages/pynumaflow/pynumaflow/proto/__init__.py similarity index 100% rename from pynumaflow/proto/__init__.py rename to packages/pynumaflow/pynumaflow/proto/__init__.py diff --git a/pynumaflow/proto/accumulator/__init__.py b/packages/pynumaflow/pynumaflow/proto/accumulator/__init__.py similarity index 100% rename from pynumaflow/proto/accumulator/__init__.py rename to packages/pynumaflow/pynumaflow/proto/accumulator/__init__.py diff --git a/pynumaflow/proto/accumulator/accumulator.proto b/packages/pynumaflow/pynumaflow/proto/accumulator/accumulator.proto similarity index 100% rename from pynumaflow/proto/accumulator/accumulator.proto rename to packages/pynumaflow/pynumaflow/proto/accumulator/accumulator.proto diff --git a/pynumaflow/proto/accumulator/accumulator_pb2.py b/packages/pynumaflow/pynumaflow/proto/accumulator/accumulator_pb2.py similarity index 100% rename from pynumaflow/proto/accumulator/accumulator_pb2.py rename to packages/pynumaflow/pynumaflow/proto/accumulator/accumulator_pb2.py diff --git a/pynumaflow/proto/accumulator/accumulator_pb2.pyi b/packages/pynumaflow/pynumaflow/proto/accumulator/accumulator_pb2.pyi similarity index 100% rename from pynumaflow/proto/accumulator/accumulator_pb2.pyi rename to packages/pynumaflow/pynumaflow/proto/accumulator/accumulator_pb2.pyi diff --git a/pynumaflow/proto/accumulator/accumulator_pb2_grpc.py b/packages/pynumaflow/pynumaflow/proto/accumulator/accumulator_pb2_grpc.py similarity index 100% rename from pynumaflow/proto/accumulator/accumulator_pb2_grpc.py rename to packages/pynumaflow/pynumaflow/proto/accumulator/accumulator_pb2_grpc.py diff --git a/pynumaflow/proto/mapper/__init__.py b/packages/pynumaflow/pynumaflow/proto/mapper/__init__.py similarity index 100% rename from pynumaflow/proto/mapper/__init__.py rename to packages/pynumaflow/pynumaflow/proto/mapper/__init__.py diff --git a/pynumaflow/proto/mapper/map.proto b/packages/pynumaflow/pynumaflow/proto/mapper/map.proto similarity index 100% rename from pynumaflow/proto/mapper/map.proto rename to packages/pynumaflow/pynumaflow/proto/mapper/map.proto diff --git a/pynumaflow/proto/mapper/map_pb2.py b/packages/pynumaflow/pynumaflow/proto/mapper/map_pb2.py similarity index 100% rename from pynumaflow/proto/mapper/map_pb2.py rename to packages/pynumaflow/pynumaflow/proto/mapper/map_pb2.py diff --git a/pynumaflow/proto/mapper/map_pb2.pyi b/packages/pynumaflow/pynumaflow/proto/mapper/map_pb2.pyi similarity index 100% rename from pynumaflow/proto/mapper/map_pb2.pyi rename to packages/pynumaflow/pynumaflow/proto/mapper/map_pb2.pyi diff --git a/pynumaflow/proto/mapper/map_pb2_grpc.py b/packages/pynumaflow/pynumaflow/proto/mapper/map_pb2_grpc.py similarity index 100% rename from pynumaflow/proto/mapper/map_pb2_grpc.py rename to packages/pynumaflow/pynumaflow/proto/mapper/map_pb2_grpc.py diff --git a/pynumaflow/proto/reducer/__init__.py b/packages/pynumaflow/pynumaflow/proto/reducer/__init__.py similarity index 100% rename from pynumaflow/proto/reducer/__init__.py rename to packages/pynumaflow/pynumaflow/proto/reducer/__init__.py diff --git a/pynumaflow/proto/reducer/reduce.proto b/packages/pynumaflow/pynumaflow/proto/reducer/reduce.proto similarity index 100% rename from pynumaflow/proto/reducer/reduce.proto rename to packages/pynumaflow/pynumaflow/proto/reducer/reduce.proto diff --git a/pynumaflow/proto/reducer/reduce_pb2.py b/packages/pynumaflow/pynumaflow/proto/reducer/reduce_pb2.py similarity index 100% rename from pynumaflow/proto/reducer/reduce_pb2.py rename to packages/pynumaflow/pynumaflow/proto/reducer/reduce_pb2.py diff --git a/pynumaflow/proto/reducer/reduce_pb2.pyi b/packages/pynumaflow/pynumaflow/proto/reducer/reduce_pb2.pyi similarity index 100% rename from pynumaflow/proto/reducer/reduce_pb2.pyi rename to packages/pynumaflow/pynumaflow/proto/reducer/reduce_pb2.pyi diff --git a/pynumaflow/proto/reducer/reduce_pb2_grpc.py b/packages/pynumaflow/pynumaflow/proto/reducer/reduce_pb2_grpc.py similarity index 100% rename from pynumaflow/proto/reducer/reduce_pb2_grpc.py rename to packages/pynumaflow/pynumaflow/proto/reducer/reduce_pb2_grpc.py diff --git a/pynumaflow/proto/sideinput/__init__.py b/packages/pynumaflow/pynumaflow/proto/sideinput/__init__.py similarity index 100% rename from pynumaflow/proto/sideinput/__init__.py rename to packages/pynumaflow/pynumaflow/proto/sideinput/__init__.py diff --git a/pynumaflow/proto/sideinput/sideinput.proto b/packages/pynumaflow/pynumaflow/proto/sideinput/sideinput.proto similarity index 100% rename from pynumaflow/proto/sideinput/sideinput.proto rename to packages/pynumaflow/pynumaflow/proto/sideinput/sideinput.proto diff --git a/pynumaflow/proto/sideinput/sideinput_pb2.py b/packages/pynumaflow/pynumaflow/proto/sideinput/sideinput_pb2.py similarity index 100% rename from pynumaflow/proto/sideinput/sideinput_pb2.py rename to packages/pynumaflow/pynumaflow/proto/sideinput/sideinput_pb2.py diff --git a/pynumaflow/proto/sideinput/sideinput_pb2.pyi b/packages/pynumaflow/pynumaflow/proto/sideinput/sideinput_pb2.pyi similarity index 100% rename from pynumaflow/proto/sideinput/sideinput_pb2.pyi rename to packages/pynumaflow/pynumaflow/proto/sideinput/sideinput_pb2.pyi diff --git a/pynumaflow/proto/sideinput/sideinput_pb2_grpc.py b/packages/pynumaflow/pynumaflow/proto/sideinput/sideinput_pb2_grpc.py similarity index 100% rename from pynumaflow/proto/sideinput/sideinput_pb2_grpc.py rename to packages/pynumaflow/pynumaflow/proto/sideinput/sideinput_pb2_grpc.py diff --git a/pynumaflow/proto/sinker/__init__.py b/packages/pynumaflow/pynumaflow/proto/sinker/__init__.py similarity index 100% rename from pynumaflow/proto/sinker/__init__.py rename to packages/pynumaflow/pynumaflow/proto/sinker/__init__.py diff --git a/pynumaflow/proto/sinker/sink.proto b/packages/pynumaflow/pynumaflow/proto/sinker/sink.proto similarity index 100% rename from pynumaflow/proto/sinker/sink.proto rename to packages/pynumaflow/pynumaflow/proto/sinker/sink.proto diff --git a/pynumaflow/proto/sinker/sink_pb2.py b/packages/pynumaflow/pynumaflow/proto/sinker/sink_pb2.py similarity index 100% rename from pynumaflow/proto/sinker/sink_pb2.py rename to packages/pynumaflow/pynumaflow/proto/sinker/sink_pb2.py diff --git a/pynumaflow/proto/sinker/sink_pb2.pyi b/packages/pynumaflow/pynumaflow/proto/sinker/sink_pb2.pyi similarity index 100% rename from pynumaflow/proto/sinker/sink_pb2.pyi rename to packages/pynumaflow/pynumaflow/proto/sinker/sink_pb2.pyi diff --git a/pynumaflow/proto/sinker/sink_pb2_grpc.py b/packages/pynumaflow/pynumaflow/proto/sinker/sink_pb2_grpc.py similarity index 100% rename from pynumaflow/proto/sinker/sink_pb2_grpc.py rename to packages/pynumaflow/pynumaflow/proto/sinker/sink_pb2_grpc.py diff --git a/pynumaflow/proto/sourcer/__init__.py b/packages/pynumaflow/pynumaflow/proto/sourcer/__init__.py similarity index 100% rename from pynumaflow/proto/sourcer/__init__.py rename to packages/pynumaflow/pynumaflow/proto/sourcer/__init__.py diff --git a/pynumaflow/proto/sourcer/source.proto b/packages/pynumaflow/pynumaflow/proto/sourcer/source.proto similarity index 100% rename from pynumaflow/proto/sourcer/source.proto rename to packages/pynumaflow/pynumaflow/proto/sourcer/source.proto diff --git a/pynumaflow/proto/sourcer/source_pb2.py b/packages/pynumaflow/pynumaflow/proto/sourcer/source_pb2.py similarity index 100% rename from pynumaflow/proto/sourcer/source_pb2.py rename to packages/pynumaflow/pynumaflow/proto/sourcer/source_pb2.py diff --git a/pynumaflow/proto/sourcer/source_pb2.pyi b/packages/pynumaflow/pynumaflow/proto/sourcer/source_pb2.pyi similarity index 100% rename from pynumaflow/proto/sourcer/source_pb2.pyi rename to packages/pynumaflow/pynumaflow/proto/sourcer/source_pb2.pyi diff --git a/pynumaflow/proto/sourcer/source_pb2_grpc.py b/packages/pynumaflow/pynumaflow/proto/sourcer/source_pb2_grpc.py similarity index 100% rename from pynumaflow/proto/sourcer/source_pb2_grpc.py rename to packages/pynumaflow/pynumaflow/proto/sourcer/source_pb2_grpc.py diff --git a/pynumaflow/proto/sourcetransformer/__init__.py b/packages/pynumaflow/pynumaflow/proto/sourcetransformer/__init__.py similarity index 100% rename from pynumaflow/proto/sourcetransformer/__init__.py rename to packages/pynumaflow/pynumaflow/proto/sourcetransformer/__init__.py diff --git a/pynumaflow/proto/sourcetransformer/transform.proto b/packages/pynumaflow/pynumaflow/proto/sourcetransformer/transform.proto similarity index 100% rename from pynumaflow/proto/sourcetransformer/transform.proto rename to packages/pynumaflow/pynumaflow/proto/sourcetransformer/transform.proto diff --git a/pynumaflow/proto/sourcetransformer/transform_pb2.py b/packages/pynumaflow/pynumaflow/proto/sourcetransformer/transform_pb2.py similarity index 100% rename from pynumaflow/proto/sourcetransformer/transform_pb2.py rename to packages/pynumaflow/pynumaflow/proto/sourcetransformer/transform_pb2.py diff --git a/pynumaflow/proto/sourcetransformer/transform_pb2.pyi b/packages/pynumaflow/pynumaflow/proto/sourcetransformer/transform_pb2.pyi similarity index 100% rename from pynumaflow/proto/sourcetransformer/transform_pb2.pyi rename to packages/pynumaflow/pynumaflow/proto/sourcetransformer/transform_pb2.pyi diff --git a/pynumaflow/proto/sourcetransformer/transform_pb2_grpc.py b/packages/pynumaflow/pynumaflow/proto/sourcetransformer/transform_pb2_grpc.py similarity index 100% rename from pynumaflow/proto/sourcetransformer/transform_pb2_grpc.py rename to packages/pynumaflow/pynumaflow/proto/sourcetransformer/transform_pb2_grpc.py diff --git a/pynumaflow/reducer/__init__.py b/packages/pynumaflow/pynumaflow/reducer/__init__.py similarity index 100% rename from pynumaflow/reducer/__init__.py rename to packages/pynumaflow/pynumaflow/reducer/__init__.py diff --git a/pynumaflow/reducer/_dtypes.py b/packages/pynumaflow/pynumaflow/reducer/_dtypes.py similarity index 100% rename from pynumaflow/reducer/_dtypes.py rename to packages/pynumaflow/pynumaflow/reducer/_dtypes.py diff --git a/pynumaflow/reducer/async_server.py b/packages/pynumaflow/pynumaflow/reducer/async_server.py similarity index 100% rename from pynumaflow/reducer/async_server.py rename to packages/pynumaflow/pynumaflow/reducer/async_server.py diff --git a/pynumaflow/reducer/servicer/__init__.py b/packages/pynumaflow/pynumaflow/reducer/servicer/__init__.py similarity index 100% rename from pynumaflow/reducer/servicer/__init__.py rename to packages/pynumaflow/pynumaflow/reducer/servicer/__init__.py diff --git a/pynumaflow/reducer/servicer/async_servicer.py b/packages/pynumaflow/pynumaflow/reducer/servicer/async_servicer.py similarity index 100% rename from pynumaflow/reducer/servicer/async_servicer.py rename to packages/pynumaflow/pynumaflow/reducer/servicer/async_servicer.py diff --git a/pynumaflow/reducer/servicer/task_manager.py b/packages/pynumaflow/pynumaflow/reducer/servicer/task_manager.py similarity index 100% rename from pynumaflow/reducer/servicer/task_manager.py rename to packages/pynumaflow/pynumaflow/reducer/servicer/task_manager.py diff --git a/pynumaflow/reducestreamer/__init__.py b/packages/pynumaflow/pynumaflow/reducestreamer/__init__.py similarity index 100% rename from pynumaflow/reducestreamer/__init__.py rename to packages/pynumaflow/pynumaflow/reducestreamer/__init__.py diff --git a/pynumaflow/reducestreamer/_dtypes.py b/packages/pynumaflow/pynumaflow/reducestreamer/_dtypes.py similarity index 100% rename from pynumaflow/reducestreamer/_dtypes.py rename to packages/pynumaflow/pynumaflow/reducestreamer/_dtypes.py diff --git a/pynumaflow/reducestreamer/async_server.py b/packages/pynumaflow/pynumaflow/reducestreamer/async_server.py similarity index 100% rename from pynumaflow/reducestreamer/async_server.py rename to packages/pynumaflow/pynumaflow/reducestreamer/async_server.py diff --git a/pynumaflow/reducestreamer/servicer/__init__.py b/packages/pynumaflow/pynumaflow/reducestreamer/servicer/__init__.py similarity index 100% rename from pynumaflow/reducestreamer/servicer/__init__.py rename to packages/pynumaflow/pynumaflow/reducestreamer/servicer/__init__.py diff --git a/pynumaflow/reducestreamer/servicer/async_servicer.py b/packages/pynumaflow/pynumaflow/reducestreamer/servicer/async_servicer.py similarity index 100% rename from pynumaflow/reducestreamer/servicer/async_servicer.py rename to packages/pynumaflow/pynumaflow/reducestreamer/servicer/async_servicer.py diff --git a/pynumaflow/reducestreamer/servicer/task_manager.py b/packages/pynumaflow/pynumaflow/reducestreamer/servicer/task_manager.py similarity index 100% rename from pynumaflow/reducestreamer/servicer/task_manager.py rename to packages/pynumaflow/pynumaflow/reducestreamer/servicer/task_manager.py diff --git a/pynumaflow/shared/__init__.py b/packages/pynumaflow/pynumaflow/shared/__init__.py similarity index 100% rename from pynumaflow/shared/__init__.py rename to packages/pynumaflow/pynumaflow/shared/__init__.py diff --git a/pynumaflow/shared/asynciter.py b/packages/pynumaflow/pynumaflow/shared/asynciter.py similarity index 100% rename from pynumaflow/shared/asynciter.py rename to packages/pynumaflow/pynumaflow/shared/asynciter.py diff --git a/pynumaflow/shared/server.py b/packages/pynumaflow/pynumaflow/shared/server.py similarity index 100% rename from pynumaflow/shared/server.py rename to packages/pynumaflow/pynumaflow/shared/server.py diff --git a/pynumaflow/shared/synciter.py b/packages/pynumaflow/pynumaflow/shared/synciter.py similarity index 100% rename from pynumaflow/shared/synciter.py rename to packages/pynumaflow/pynumaflow/shared/synciter.py diff --git a/pynumaflow/shared/thread_with_return.py b/packages/pynumaflow/pynumaflow/shared/thread_with_return.py similarity index 100% rename from pynumaflow/shared/thread_with_return.py rename to packages/pynumaflow/pynumaflow/shared/thread_with_return.py diff --git a/pynumaflow/sideinput/__init__.py b/packages/pynumaflow/pynumaflow/sideinput/__init__.py similarity index 100% rename from pynumaflow/sideinput/__init__.py rename to packages/pynumaflow/pynumaflow/sideinput/__init__.py diff --git a/pynumaflow/sideinput/_dtypes.py b/packages/pynumaflow/pynumaflow/sideinput/_dtypes.py similarity index 100% rename from pynumaflow/sideinput/_dtypes.py rename to packages/pynumaflow/pynumaflow/sideinput/_dtypes.py diff --git a/pynumaflow/sideinput/server.py b/packages/pynumaflow/pynumaflow/sideinput/server.py similarity index 100% rename from pynumaflow/sideinput/server.py rename to packages/pynumaflow/pynumaflow/sideinput/server.py diff --git a/pynumaflow/sideinput/servicer/__init__.py b/packages/pynumaflow/pynumaflow/sideinput/servicer/__init__.py similarity index 100% rename from pynumaflow/sideinput/servicer/__init__.py rename to packages/pynumaflow/pynumaflow/sideinput/servicer/__init__.py diff --git a/pynumaflow/sideinput/servicer/servicer.py b/packages/pynumaflow/pynumaflow/sideinput/servicer/servicer.py similarity index 100% rename from pynumaflow/sideinput/servicer/servicer.py rename to packages/pynumaflow/pynumaflow/sideinput/servicer/servicer.py diff --git a/pynumaflow/sinker/__init__.py b/packages/pynumaflow/pynumaflow/sinker/__init__.py similarity index 100% rename from pynumaflow/sinker/__init__.py rename to packages/pynumaflow/pynumaflow/sinker/__init__.py diff --git a/pynumaflow/sinker/_dtypes.py b/packages/pynumaflow/pynumaflow/sinker/_dtypes.py similarity index 100% rename from pynumaflow/sinker/_dtypes.py rename to packages/pynumaflow/pynumaflow/sinker/_dtypes.py diff --git a/pynumaflow/sinker/async_server.py b/packages/pynumaflow/pynumaflow/sinker/async_server.py similarity index 100% rename from pynumaflow/sinker/async_server.py rename to packages/pynumaflow/pynumaflow/sinker/async_server.py diff --git a/pynumaflow/sinker/server.py b/packages/pynumaflow/pynumaflow/sinker/server.py similarity index 100% rename from pynumaflow/sinker/server.py rename to packages/pynumaflow/pynumaflow/sinker/server.py diff --git a/pynumaflow/sinker/servicer/__init__.py b/packages/pynumaflow/pynumaflow/sinker/servicer/__init__.py similarity index 100% rename from pynumaflow/sinker/servicer/__init__.py rename to packages/pynumaflow/pynumaflow/sinker/servicer/__init__.py diff --git a/pynumaflow/sinker/servicer/async_servicer.py b/packages/pynumaflow/pynumaflow/sinker/servicer/async_servicer.py similarity index 100% rename from pynumaflow/sinker/servicer/async_servicer.py rename to packages/pynumaflow/pynumaflow/sinker/servicer/async_servicer.py diff --git a/pynumaflow/sinker/servicer/sync_servicer.py b/packages/pynumaflow/pynumaflow/sinker/servicer/sync_servicer.py similarity index 100% rename from pynumaflow/sinker/servicer/sync_servicer.py rename to packages/pynumaflow/pynumaflow/sinker/servicer/sync_servicer.py diff --git a/pynumaflow/sinker/servicer/utils.py b/packages/pynumaflow/pynumaflow/sinker/servicer/utils.py similarity index 100% rename from pynumaflow/sinker/servicer/utils.py rename to packages/pynumaflow/pynumaflow/sinker/servicer/utils.py diff --git a/pynumaflow/sourcer/__init__.py b/packages/pynumaflow/pynumaflow/sourcer/__init__.py similarity index 100% rename from pynumaflow/sourcer/__init__.py rename to packages/pynumaflow/pynumaflow/sourcer/__init__.py diff --git a/pynumaflow/sourcer/_dtypes.py b/packages/pynumaflow/pynumaflow/sourcer/_dtypes.py similarity index 100% rename from pynumaflow/sourcer/_dtypes.py rename to packages/pynumaflow/pynumaflow/sourcer/_dtypes.py diff --git a/pynumaflow/sourcer/async_server.py b/packages/pynumaflow/pynumaflow/sourcer/async_server.py similarity index 100% rename from pynumaflow/sourcer/async_server.py rename to packages/pynumaflow/pynumaflow/sourcer/async_server.py diff --git a/pynumaflow/sourcer/servicer/__init__.py b/packages/pynumaflow/pynumaflow/sourcer/servicer/__init__.py similarity index 100% rename from pynumaflow/sourcer/servicer/__init__.py rename to packages/pynumaflow/pynumaflow/sourcer/servicer/__init__.py diff --git a/pynumaflow/sourcer/servicer/async_servicer.py b/packages/pynumaflow/pynumaflow/sourcer/servicer/async_servicer.py similarity index 100% rename from pynumaflow/sourcer/servicer/async_servicer.py rename to packages/pynumaflow/pynumaflow/sourcer/servicer/async_servicer.py diff --git a/pynumaflow/sourcetransformer/__init__.py b/packages/pynumaflow/pynumaflow/sourcetransformer/__init__.py similarity index 100% rename from pynumaflow/sourcetransformer/__init__.py rename to packages/pynumaflow/pynumaflow/sourcetransformer/__init__.py diff --git a/pynumaflow/sourcetransformer/_dtypes.py b/packages/pynumaflow/pynumaflow/sourcetransformer/_dtypes.py similarity index 100% rename from pynumaflow/sourcetransformer/_dtypes.py rename to packages/pynumaflow/pynumaflow/sourcetransformer/_dtypes.py diff --git a/pynumaflow/sourcetransformer/async_server.py b/packages/pynumaflow/pynumaflow/sourcetransformer/async_server.py similarity index 100% rename from pynumaflow/sourcetransformer/async_server.py rename to packages/pynumaflow/pynumaflow/sourcetransformer/async_server.py diff --git a/pynumaflow/sourcetransformer/multiproc_server.py b/packages/pynumaflow/pynumaflow/sourcetransformer/multiproc_server.py similarity index 100% rename from pynumaflow/sourcetransformer/multiproc_server.py rename to packages/pynumaflow/pynumaflow/sourcetransformer/multiproc_server.py diff --git a/pynumaflow/sourcetransformer/server.py b/packages/pynumaflow/pynumaflow/sourcetransformer/server.py similarity index 100% rename from pynumaflow/sourcetransformer/server.py rename to packages/pynumaflow/pynumaflow/sourcetransformer/server.py diff --git a/pynumaflow/sourcetransformer/servicer/__init__.py b/packages/pynumaflow/pynumaflow/sourcetransformer/servicer/__init__.py similarity index 100% rename from pynumaflow/sourcetransformer/servicer/__init__.py rename to packages/pynumaflow/pynumaflow/sourcetransformer/servicer/__init__.py diff --git a/pynumaflow/sourcetransformer/servicer/_async_servicer.py b/packages/pynumaflow/pynumaflow/sourcetransformer/servicer/_async_servicer.py similarity index 100% rename from pynumaflow/sourcetransformer/servicer/_async_servicer.py rename to packages/pynumaflow/pynumaflow/sourcetransformer/servicer/_async_servicer.py diff --git a/pynumaflow/sourcetransformer/servicer/_servicer.py b/packages/pynumaflow/pynumaflow/sourcetransformer/servicer/_servicer.py similarity index 100% rename from pynumaflow/sourcetransformer/servicer/_servicer.py rename to packages/pynumaflow/pynumaflow/sourcetransformer/servicer/_servicer.py diff --git a/pynumaflow/types.py b/packages/pynumaflow/pynumaflow/types.py similarity index 100% rename from pynumaflow/types.py rename to packages/pynumaflow/pynumaflow/types.py diff --git a/pyproject.toml b/packages/pynumaflow/pyproject.toml similarity index 100% rename from pyproject.toml rename to packages/pynumaflow/pyproject.toml diff --git a/pytest.ini b/packages/pynumaflow/pytest.ini similarity index 100% rename from pytest.ini rename to packages/pynumaflow/pytest.ini diff --git a/tests/__init__.py b/packages/pynumaflow/tests/__init__.py similarity index 100% rename from tests/__init__.py rename to packages/pynumaflow/tests/__init__.py diff --git a/tests/accumulator/__init__.py b/packages/pynumaflow/tests/accumulator/__init__.py similarity index 100% rename from tests/accumulator/__init__.py rename to packages/pynumaflow/tests/accumulator/__init__.py diff --git a/tests/accumulator/test_async_accumulator.py b/packages/pynumaflow/tests/accumulator/test_async_accumulator.py similarity index 100% rename from tests/accumulator/test_async_accumulator.py rename to packages/pynumaflow/tests/accumulator/test_async_accumulator.py diff --git a/tests/accumulator/test_async_accumulator_err.py b/packages/pynumaflow/tests/accumulator/test_async_accumulator_err.py similarity index 100% rename from tests/accumulator/test_async_accumulator_err.py rename to packages/pynumaflow/tests/accumulator/test_async_accumulator_err.py diff --git a/tests/accumulator/test_datatypes.py b/packages/pynumaflow/tests/accumulator/test_datatypes.py similarity index 100% rename from tests/accumulator/test_datatypes.py rename to packages/pynumaflow/tests/accumulator/test_datatypes.py diff --git a/tests/accumulator/utils.py b/packages/pynumaflow/tests/accumulator/utils.py similarity index 100% rename from tests/accumulator/utils.py rename to packages/pynumaflow/tests/accumulator/utils.py diff --git a/tests/batchmap/__init__.py b/packages/pynumaflow/tests/batchmap/__init__.py similarity index 100% rename from tests/batchmap/__init__.py rename to packages/pynumaflow/tests/batchmap/__init__.py diff --git a/tests/batchmap/test_async_batch_map.py b/packages/pynumaflow/tests/batchmap/test_async_batch_map.py similarity index 100% rename from tests/batchmap/test_async_batch_map.py rename to packages/pynumaflow/tests/batchmap/test_async_batch_map.py diff --git a/tests/batchmap/test_async_batch_map_err.py b/packages/pynumaflow/tests/batchmap/test_async_batch_map_err.py similarity index 100% rename from tests/batchmap/test_async_batch_map_err.py rename to packages/pynumaflow/tests/batchmap/test_async_batch_map_err.py diff --git a/tests/batchmap/test_datatypes.py b/packages/pynumaflow/tests/batchmap/test_datatypes.py similarity index 100% rename from tests/batchmap/test_datatypes.py rename to packages/pynumaflow/tests/batchmap/test_datatypes.py diff --git a/tests/batchmap/test_messages.py b/packages/pynumaflow/tests/batchmap/test_messages.py similarity index 100% rename from tests/batchmap/test_messages.py rename to packages/pynumaflow/tests/batchmap/test_messages.py diff --git a/tests/batchmap/utils.py b/packages/pynumaflow/tests/batchmap/utils.py similarity index 100% rename from tests/batchmap/utils.py rename to packages/pynumaflow/tests/batchmap/utils.py diff --git a/tests/errors/__init__.py b/packages/pynumaflow/tests/errors/__init__.py similarity index 100% rename from tests/errors/__init__.py rename to packages/pynumaflow/tests/errors/__init__.py diff --git a/tests/errors/test_dtypes.py b/packages/pynumaflow/tests/errors/test_dtypes.py similarity index 100% rename from tests/errors/test_dtypes.py rename to packages/pynumaflow/tests/errors/test_dtypes.py diff --git a/tests/errors/test_persist_critical_error.py b/packages/pynumaflow/tests/errors/test_persist_critical_error.py similarity index 100% rename from tests/errors/test_persist_critical_error.py rename to packages/pynumaflow/tests/errors/test_persist_critical_error.py diff --git a/tests/map/__init__.py b/packages/pynumaflow/tests/map/__init__.py similarity index 100% rename from tests/map/__init__.py rename to packages/pynumaflow/tests/map/__init__.py diff --git a/tests/map/test_async_mapper.py b/packages/pynumaflow/tests/map/test_async_mapper.py similarity index 100% rename from tests/map/test_async_mapper.py rename to packages/pynumaflow/tests/map/test_async_mapper.py diff --git a/tests/map/test_messages.py b/packages/pynumaflow/tests/map/test_messages.py similarity index 100% rename from tests/map/test_messages.py rename to packages/pynumaflow/tests/map/test_messages.py diff --git a/tests/map/test_multiproc_mapper.py b/packages/pynumaflow/tests/map/test_multiproc_mapper.py similarity index 100% rename from tests/map/test_multiproc_mapper.py rename to packages/pynumaflow/tests/map/test_multiproc_mapper.py diff --git a/tests/map/test_sync_mapper.py b/packages/pynumaflow/tests/map/test_sync_mapper.py similarity index 100% rename from tests/map/test_sync_mapper.py rename to packages/pynumaflow/tests/map/test_sync_mapper.py diff --git a/tests/map/utils.py b/packages/pynumaflow/tests/map/utils.py similarity index 100% rename from tests/map/utils.py rename to packages/pynumaflow/tests/map/utils.py diff --git a/tests/mapstream/__init__.py b/packages/pynumaflow/tests/mapstream/__init__.py similarity index 100% rename from tests/mapstream/__init__.py rename to packages/pynumaflow/tests/mapstream/__init__.py diff --git a/tests/mapstream/test_async_map_stream.py b/packages/pynumaflow/tests/mapstream/test_async_map_stream.py similarity index 100% rename from tests/mapstream/test_async_map_stream.py rename to packages/pynumaflow/tests/mapstream/test_async_map_stream.py diff --git a/tests/mapstream/test_async_map_stream_err.py b/packages/pynumaflow/tests/mapstream/test_async_map_stream_err.py similarity index 100% rename from tests/mapstream/test_async_map_stream_err.py rename to packages/pynumaflow/tests/mapstream/test_async_map_stream_err.py diff --git a/tests/mapstream/test_messages.py b/packages/pynumaflow/tests/mapstream/test_messages.py similarity index 100% rename from tests/mapstream/test_messages.py rename to packages/pynumaflow/tests/mapstream/test_messages.py diff --git a/tests/mapstream/utils.py b/packages/pynumaflow/tests/mapstream/utils.py similarity index 100% rename from tests/mapstream/utils.py rename to packages/pynumaflow/tests/mapstream/utils.py diff --git a/tests/reduce/__init__.py b/packages/pynumaflow/tests/reduce/__init__.py similarity index 100% rename from tests/reduce/__init__.py rename to packages/pynumaflow/tests/reduce/__init__.py diff --git a/tests/reduce/test_async_reduce.py b/packages/pynumaflow/tests/reduce/test_async_reduce.py similarity index 100% rename from tests/reduce/test_async_reduce.py rename to packages/pynumaflow/tests/reduce/test_async_reduce.py diff --git a/tests/reduce/test_async_reduce_err.py b/packages/pynumaflow/tests/reduce/test_async_reduce_err.py similarity index 100% rename from tests/reduce/test_async_reduce_err.py rename to packages/pynumaflow/tests/reduce/test_async_reduce_err.py diff --git a/tests/reduce/test_datatypes.py b/packages/pynumaflow/tests/reduce/test_datatypes.py similarity index 100% rename from tests/reduce/test_datatypes.py rename to packages/pynumaflow/tests/reduce/test_datatypes.py diff --git a/tests/reduce/test_messages.py b/packages/pynumaflow/tests/reduce/test_messages.py similarity index 100% rename from tests/reduce/test_messages.py rename to packages/pynumaflow/tests/reduce/test_messages.py diff --git a/tests/reducestreamer/__init__.py b/packages/pynumaflow/tests/reducestreamer/__init__.py similarity index 100% rename from tests/reducestreamer/__init__.py rename to packages/pynumaflow/tests/reducestreamer/__init__.py diff --git a/tests/reducestreamer/test_async_reduce.py b/packages/pynumaflow/tests/reducestreamer/test_async_reduce.py similarity index 100% rename from tests/reducestreamer/test_async_reduce.py rename to packages/pynumaflow/tests/reducestreamer/test_async_reduce.py diff --git a/tests/reducestreamer/test_async_reduce_err.py b/packages/pynumaflow/tests/reducestreamer/test_async_reduce_err.py similarity index 100% rename from tests/reducestreamer/test_async_reduce_err.py rename to packages/pynumaflow/tests/reducestreamer/test_async_reduce_err.py diff --git a/tests/reducestreamer/test_datatypes.py b/packages/pynumaflow/tests/reducestreamer/test_datatypes.py similarity index 100% rename from tests/reducestreamer/test_datatypes.py rename to packages/pynumaflow/tests/reducestreamer/test_datatypes.py diff --git a/tests/reducestreamer/test_messages.py b/packages/pynumaflow/tests/reducestreamer/test_messages.py similarity index 100% rename from tests/reducestreamer/test_messages.py rename to packages/pynumaflow/tests/reducestreamer/test_messages.py diff --git a/tests/sideinput/__init__.py b/packages/pynumaflow/tests/sideinput/__init__.py similarity index 100% rename from tests/sideinput/__init__.py rename to packages/pynumaflow/tests/sideinput/__init__.py diff --git a/tests/sideinput/test_responses.py b/packages/pynumaflow/tests/sideinput/test_responses.py similarity index 100% rename from tests/sideinput/test_responses.py rename to packages/pynumaflow/tests/sideinput/test_responses.py diff --git a/tests/sideinput/test_side_input_server.py b/packages/pynumaflow/tests/sideinput/test_side_input_server.py similarity index 100% rename from tests/sideinput/test_side_input_server.py rename to packages/pynumaflow/tests/sideinput/test_side_input_server.py diff --git a/tests/sink/__init__.py b/packages/pynumaflow/tests/sink/__init__.py similarity index 100% rename from tests/sink/__init__.py rename to packages/pynumaflow/tests/sink/__init__.py diff --git a/tests/sink/test_async_sink.py b/packages/pynumaflow/tests/sink/test_async_sink.py similarity index 100% rename from tests/sink/test_async_sink.py rename to packages/pynumaflow/tests/sink/test_async_sink.py diff --git a/tests/sink/test_datatypes.py b/packages/pynumaflow/tests/sink/test_datatypes.py similarity index 100% rename from tests/sink/test_datatypes.py rename to packages/pynumaflow/tests/sink/test_datatypes.py diff --git a/tests/sink/test_responses.py b/packages/pynumaflow/tests/sink/test_responses.py similarity index 100% rename from tests/sink/test_responses.py rename to packages/pynumaflow/tests/sink/test_responses.py diff --git a/tests/sink/test_server.py b/packages/pynumaflow/tests/sink/test_server.py similarity index 100% rename from tests/sink/test_server.py rename to packages/pynumaflow/tests/sink/test_server.py diff --git a/tests/source/__init__.py b/packages/pynumaflow/tests/source/__init__.py similarity index 100% rename from tests/source/__init__.py rename to packages/pynumaflow/tests/source/__init__.py diff --git a/tests/source/test_async_source.py b/packages/pynumaflow/tests/source/test_async_source.py similarity index 100% rename from tests/source/test_async_source.py rename to packages/pynumaflow/tests/source/test_async_source.py diff --git a/tests/source/test_async_source_err.py b/packages/pynumaflow/tests/source/test_async_source_err.py similarity index 100% rename from tests/source/test_async_source_err.py rename to packages/pynumaflow/tests/source/test_async_source_err.py diff --git a/tests/source/test_message.py b/packages/pynumaflow/tests/source/test_message.py similarity index 100% rename from tests/source/test_message.py rename to packages/pynumaflow/tests/source/test_message.py diff --git a/tests/source/utils.py b/packages/pynumaflow/tests/source/utils.py similarity index 100% rename from tests/source/utils.py rename to packages/pynumaflow/tests/source/utils.py diff --git a/tests/sourcetransform/__init__.py b/packages/pynumaflow/tests/sourcetransform/__init__.py similarity index 100% rename from tests/sourcetransform/__init__.py rename to packages/pynumaflow/tests/sourcetransform/__init__.py diff --git a/tests/sourcetransform/test_async.py b/packages/pynumaflow/tests/sourcetransform/test_async.py similarity index 100% rename from tests/sourcetransform/test_async.py rename to packages/pynumaflow/tests/sourcetransform/test_async.py diff --git a/tests/sourcetransform/test_messages.py b/packages/pynumaflow/tests/sourcetransform/test_messages.py similarity index 100% rename from tests/sourcetransform/test_messages.py rename to packages/pynumaflow/tests/sourcetransform/test_messages.py diff --git a/tests/sourcetransform/test_multiproc.py b/packages/pynumaflow/tests/sourcetransform/test_multiproc.py similarity index 100% rename from tests/sourcetransform/test_multiproc.py rename to packages/pynumaflow/tests/sourcetransform/test_multiproc.py diff --git a/tests/sourcetransform/test_sync_server.py b/packages/pynumaflow/tests/sourcetransform/test_sync_server.py similarity index 100% rename from tests/sourcetransform/test_sync_server.py rename to packages/pynumaflow/tests/sourcetransform/test_sync_server.py diff --git a/tests/sourcetransform/utils.py b/packages/pynumaflow/tests/sourcetransform/utils.py similarity index 100% rename from tests/sourcetransform/utils.py rename to packages/pynumaflow/tests/sourcetransform/utils.py diff --git a/tests/test_info_server.py b/packages/pynumaflow/tests/test_info_server.py similarity index 100% rename from tests/test_info_server.py rename to packages/pynumaflow/tests/test_info_server.py diff --git a/tests/testing_utils.py b/packages/pynumaflow/tests/testing_utils.py similarity index 100% rename from tests/testing_utils.py rename to packages/pynumaflow/tests/testing_utils.py From f72a6306f87ad4477514ceca2c06d68988d319f6 Mon Sep 17 00:00:00 2001 From: Sreekanth Date: Sat, 18 Oct 2025 14:49:59 +0530 Subject: [PATCH 2/7] chore: update CI Signed-off-by: Sreekanth --- .github/workflows/build-push.yaml | 7 +++++-- .github/workflows/coverage.yml | 5 ++++- .github/workflows/lint.yml | 6 ++++++ .github/workflows/pypi.yaml | 3 +++ .github/workflows/run-tests.yml | 3 +++ hack/update_examples.sh | 2 +- 6 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-push.yaml b/.github/workflows/build-push.yaml index a2c1ed8c..7c73a148 100644 --- a/.github/workflows/build-push.yaml +++ b/.github/workflows/build-push.yaml @@ -2,7 +2,7 @@ name: Docker Publish on: push: - branches: [ main ] + branches: [ main, multiple-packages ] tags: - '*' @@ -12,6 +12,9 @@ jobs: if: ${{ github.repository }} == "numaproj/numaflow-python" name: Build, Tag, and Push Image runs-on: ubuntu-latest + defaults: + run: + working-directory: packages/pynumaflow/ strategy: matrix: @@ -50,4 +53,4 @@ jobs: password: ${{ secrets.NUMAIO_PASSWORD }} - name: Build, tag, and push images run: | - ./hack/update_examples.sh --build-push-example ${{ matrix.example_directories }} + ../../hack/update_examples.sh --build-push-example ${{ matrix.example_directories }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4d296098..e4d9c699 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -10,6 +10,9 @@ jobs: build: name: Codecov runs-on: ubuntu-latest + defaults: + run: + working-directory: packages/pynumaflow/ strategy: fail-fast: false matrix: @@ -40,6 +43,6 @@ jobs: uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} - files: ./coverage.xml + files: ./packages/pynumaflow/coverage.xml fail_ci_if_error: true verbose: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6c35dc84..f4cbda25 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,9 @@ jobs: black: name: Black format runs-on: ubuntu-latest + defaults: + run: + working-directory: packages/pynumaflow/ steps: - uses: actions/checkout@v3 - uses: psf/black@stable @@ -20,6 +23,9 @@ jobs: ruff: name: Ruff lint runs-on: ubuntu-latest + defaults: + run: + working-directory: packages/pynumaflow/ steps: - uses: actions/checkout@v3 - uses: chartboost/ruff-action@v1 diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index b7d491c3..ac4afdd9 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -9,6 +9,9 @@ jobs: if: github.repository == 'numaproj/numaflow-python' runs-on: ubuntu-latest environment: production + defaults: + run: + working-directory: packages/pynumaflow/ strategy: fail-fast: false matrix: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0387ba79..68a74b5a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,6 +10,9 @@ jobs: build: name: Python version runs-on: ubuntu-latest + defaults: + run: + working-directory: packages/pynumaflow/ strategy: fail-fast: false matrix: diff --git a/hack/update_examples.sh b/hack/update_examples.sh index 1188f8f4..2a6eff38 100755 --- a/hack/update_examples.sh +++ b/hack/update_examples.sh @@ -77,7 +77,7 @@ fi if (( usingBuildPushExample )); then cd "./$directoryPath" || exit - if ! make image-push TAG="$tag"; then + if ! make image TAG="$tag"; then echo "Error: failed to run make image-push in $directoryPath" >&2 exit 1 fi From a219e517852c50fbd90a13b64eb50427c094047c Mon Sep 17 00:00:00 2001 From: Sreekanth Date: Sat, 18 Oct 2025 16:49:31 +0530 Subject: [PATCH 3/7] fix paths for black and ruff Signed-off-by: Sreekanth --- .github/workflows/lint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f4cbda25..8eaef343 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,6 +17,7 @@ jobs: - uses: actions/checkout@v3 - uses: psf/black@stable with: + src: packages/pynumaflow/ options: "--check --verbose --exclude=pynumaflow/proto/" version: "~= 23.3" @@ -29,3 +30,5 @@ jobs: steps: - uses: actions/checkout@v3 - uses: chartboost/ruff-action@v1 + with: + src: packages/pynumaflow/ From effd2efcd8e9ed21493b453902156be4888f4f4b Mon Sep 17 00:00:00 2001 From: Sreekanth Date: Sat, 18 Oct 2025 16:58:20 +0530 Subject: [PATCH 4/7] copy license and readme to package directory Signed-off-by: Sreekanth --- packages/pynumaflow/LICENSE | 201 ++++++++++++++++++++++++++++++++++ packages/pynumaflow/README.md | 163 +++++++++++++++++++++++++++ 2 files changed, 364 insertions(+) create mode 100644 packages/pynumaflow/LICENSE create mode 100644 packages/pynumaflow/README.md diff --git a/packages/pynumaflow/LICENSE b/packages/pynumaflow/LICENSE new file mode 100644 index 00000000..261eeb9e --- /dev/null +++ b/packages/pynumaflow/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/packages/pynumaflow/README.md b/packages/pynumaflow/README.md new file mode 100644 index 00000000..c7f397f2 --- /dev/null +++ b/packages/pynumaflow/README.md @@ -0,0 +1,163 @@ +# Python SDK for Numaflow + +[![Build](https://github.com/numaproj/numaflow-python/actions/workflows/run-tests.yml/badge.svg)](https://github.com/numaproj/numaflow-python/actions/workflows/run-tests.yml) +[![black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) +[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) +[![Release Version](https://img.shields.io/github/v/release/numaproj/numaflow-python?label=pynumaflow)](https://github.com/numaproj/numaflow-python/releases/latest) + +This is the Python SDK for [Numaflow](https://numaflow.numaproj.io/). + +This SDK provides the interface for writing different functionalities of Numaflow like [UDFs](https://numaflow.numaproj.io/user-guide/user-defined-functions/user-defined-functions/), [UDSinks](https://numaflow.numaproj.io/user-guide/sinks/user-defined-sinks/), [UDSources](https://numaflow.numaproj.io/user-guide/sources/user-defined-sources/) and [SideInput](https://numaflow.numaproj.io/specifications/side-inputs/) in Python. + +## Installation + +Install the package using pip. +```bash +pip install pynumaflow +``` + +### Build locally + +This project uses [Poetry](https://python-poetry.org/) for dependency management and packaging. +To build the package locally, run the following command from the root of the project. + +```bash +make setup +```` + +To run unit tests: +```bash +make test +``` + +To format code style using black and ruff: +```bash +make lint +``` + +Setup [pre-commit](https://pre-commit.com/) hooks: +```bash +pre-commit install +``` + +## Implementing different functionalities +- [Implement User Defined Sources](https://github.com/numaproj/numaflow-python/tree/main/examples/source) +- [Implement User Defined Source Transformers](https://github.com/numaproj/numaflow-python/tree/main/examples/sourcetransform) +- Implement User Defined Functions + - [Map](https://github.com/numaproj/numaflow-python/tree/main/examples/map) + - [Reduce](https://github.com/numaproj/numaflow-python/tree/main/examples/reduce) + - [Map Stream](https://github.com/numaproj/numaflow-python/tree/main/examples/mapstream) + - [Batch Map](https://github.com/numaproj/numaflow-python/tree/main/examples/batchmap) +- [Implement User Defined Sinks](https://github.com/numaproj/numaflow-python/tree/main/examples/sink) +- [Implement User Defined SideInputs](https://github.com/numaproj/numaflow-python/tree/main/examples/sideinput) + +## Server Types + +There are different types of gRPC server mechanisms which can be used to serve the UDFs, UDSinks and UDSource. +These have different functionalities and are used for different use cases. + +Currently we support the following server types: +- Sync Server +- Asyncronous Server +- MultiProcessing Server + +Not all of the above are supported for all UDFs, UDSource and UDSinks. + +For each of the UDFs, UDSource and UDSinks, there are seperate classes for each of the server types. +This helps in keeping the interface simple and easy to use, and the user can start the specific server type based +on the use case. + + +#### SyncServer + +Syncronous Server is the simplest server type. It is a multithreaded threaded server which can be used for simple UDFs and UDSinks. +Here the server will invoke the handler function for each message. The messaging is synchronous and the server will wait +for the handler to return before processing the next message. + +``` +grpc_server = MapServer(handler) +``` + +#### AsyncServer + +Asyncronous Server is a multi threaded server which can be used for UDFs which are asyncronous. Here we utilize the asyncronous capabilities of Python to process multiple messages in parallel. The server will invoke the handler function for each message. The messaging is asyncronous and the server will not wait for the handler to return before processing the next message. Thus this server type is useful for UDFs which are asyncronous. +The handler function for such a server should be an async function. + +``` +grpc_server = MapAsyncServer(handler) +``` + +#### MultiProcessServer + +MultiProcess Server is a multi process server which can be used for UDFs which are CPU intensive. Here we utilize the multi process capabilities of Python to process multiple messages in parallel by forking multiple servers in different processes. +The server will invoke the handler function for each message. Individually at the server level the messaging is synchronous and the server will wait for the handler to return before processing the next message. But since we have multiple servers running in parallel, the overall messaging also executes in parallel. + +This could be an alternative to creating multiple replicas of the same UDF container as here we are using the multi processing capabilities of the system to process multiple messages in parallel but within the same container. + +Thus this server type is useful for UDFs which are CPU intensive. +``` +grpc_server = MapMultiProcServer(mapper_instance=handler, server_count=2) +``` + +#### Currently Supported Server Types for each functionality + +These are the class names for the server types supported by each of the functionalities. + +- UDFs + - Map + - MapServer + - MapAsyncServer + - MapMultiProcServer + - Reduce + - ReduceAsyncServer + - MapStream + - MapStreamAsyncServer + - BatchMap + - BatchMapAsyncServer + - Source Transform + - SourceTransformServer + - SourceTransformMultiProcServer +- UDSource + - SourceServer + - SourceAsyncServer +- UDSink + - SinkServer + - SinkAsyncServer +- SideInput + - SideInputServer + + + + +### Handler Function and Classes + +All the server types take a instance of a handler class or a handler function as an argument. +The handler function or class is the function or class which implements the functionality of the UDF, UDSource or UDSink. +For ease of use the user can pass either of the two to the server and the server will handle the rest. + +The handler for each of the servers has a specific signature which is defined by the server type and the implentation of the handlers +should follow the same signature. + +For using the class based handlers the user can inherit from the base handler class for each of the functionalities and implement the handler function. +The base handler class for each of the functionalities has the same signature as the handler function for the respective server type. +The list of base handler classes for each of the functionalities is given below - +- UDFs + - Map + - Mapper + - Reduce + - Reducer + - MapStream + - MapStreamer + - Source Transform + - SourceTransformer + - Batch Map + - BatchMapper +- UDSource + - Sourcer +- UDSink + - Sinker +- SideInput + - SideInput + +More details about the signature of the handler function for each of the server types is given in the +documentation of the respective server type. From f64e52ac5b611fe9c5f42521f2ddc3d1937ccefb Mon Sep 17 00:00:00 2001 From: Sreekanth Date: Sat, 18 Oct 2025 18:44:23 +0530 Subject: [PATCH 5/7] revert build image CI changes Signed-off-by: Sreekanth --- .github/workflows/build-push.yaml | 2 +- hack/update_examples.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-push.yaml b/.github/workflows/build-push.yaml index 7c73a148..cc4f0a3b 100644 --- a/.github/workflows/build-push.yaml +++ b/.github/workflows/build-push.yaml @@ -2,7 +2,7 @@ name: Docker Publish on: push: - branches: [ main, multiple-packages ] + branches: [ main ] tags: - '*' diff --git a/hack/update_examples.sh b/hack/update_examples.sh index 2a6eff38..1188f8f4 100755 --- a/hack/update_examples.sh +++ b/hack/update_examples.sh @@ -77,7 +77,7 @@ fi if (( usingBuildPushExample )); then cd "./$directoryPath" || exit - if ! make image TAG="$tag"; then + if ! make image-push TAG="$tag"; then echo "Error: failed to run make image-push in $directoryPath" >&2 exit 1 fi From e432e2a56935b285a8a993bce669b3f88ecea38f Mon Sep 17 00:00:00 2001 From: Sreekanth Date: Sun, 19 Oct 2025 06:02:37 +0530 Subject: [PATCH 6/7] move Readme.md to pynumaflow package sub-directory Signed-off-by: Sreekanth --- README.md | 163 ------------------------------------------------------ 1 file changed, 163 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index c7f397f2..00000000 --- a/README.md +++ /dev/null @@ -1,163 +0,0 @@ -# Python SDK for Numaflow - -[![Build](https://github.com/numaproj/numaflow-python/actions/workflows/run-tests.yml/badge.svg)](https://github.com/numaproj/numaflow-python/actions/workflows/run-tests.yml) -[![black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) -[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) -[![Release Version](https://img.shields.io/github/v/release/numaproj/numaflow-python?label=pynumaflow)](https://github.com/numaproj/numaflow-python/releases/latest) - -This is the Python SDK for [Numaflow](https://numaflow.numaproj.io/). - -This SDK provides the interface for writing different functionalities of Numaflow like [UDFs](https://numaflow.numaproj.io/user-guide/user-defined-functions/user-defined-functions/), [UDSinks](https://numaflow.numaproj.io/user-guide/sinks/user-defined-sinks/), [UDSources](https://numaflow.numaproj.io/user-guide/sources/user-defined-sources/) and [SideInput](https://numaflow.numaproj.io/specifications/side-inputs/) in Python. - -## Installation - -Install the package using pip. -```bash -pip install pynumaflow -``` - -### Build locally - -This project uses [Poetry](https://python-poetry.org/) for dependency management and packaging. -To build the package locally, run the following command from the root of the project. - -```bash -make setup -```` - -To run unit tests: -```bash -make test -``` - -To format code style using black and ruff: -```bash -make lint -``` - -Setup [pre-commit](https://pre-commit.com/) hooks: -```bash -pre-commit install -``` - -## Implementing different functionalities -- [Implement User Defined Sources](https://github.com/numaproj/numaflow-python/tree/main/examples/source) -- [Implement User Defined Source Transformers](https://github.com/numaproj/numaflow-python/tree/main/examples/sourcetransform) -- Implement User Defined Functions - - [Map](https://github.com/numaproj/numaflow-python/tree/main/examples/map) - - [Reduce](https://github.com/numaproj/numaflow-python/tree/main/examples/reduce) - - [Map Stream](https://github.com/numaproj/numaflow-python/tree/main/examples/mapstream) - - [Batch Map](https://github.com/numaproj/numaflow-python/tree/main/examples/batchmap) -- [Implement User Defined Sinks](https://github.com/numaproj/numaflow-python/tree/main/examples/sink) -- [Implement User Defined SideInputs](https://github.com/numaproj/numaflow-python/tree/main/examples/sideinput) - -## Server Types - -There are different types of gRPC server mechanisms which can be used to serve the UDFs, UDSinks and UDSource. -These have different functionalities and are used for different use cases. - -Currently we support the following server types: -- Sync Server -- Asyncronous Server -- MultiProcessing Server - -Not all of the above are supported for all UDFs, UDSource and UDSinks. - -For each of the UDFs, UDSource and UDSinks, there are seperate classes for each of the server types. -This helps in keeping the interface simple and easy to use, and the user can start the specific server type based -on the use case. - - -#### SyncServer - -Syncronous Server is the simplest server type. It is a multithreaded threaded server which can be used for simple UDFs and UDSinks. -Here the server will invoke the handler function for each message. The messaging is synchronous and the server will wait -for the handler to return before processing the next message. - -``` -grpc_server = MapServer(handler) -``` - -#### AsyncServer - -Asyncronous Server is a multi threaded server which can be used for UDFs which are asyncronous. Here we utilize the asyncronous capabilities of Python to process multiple messages in parallel. The server will invoke the handler function for each message. The messaging is asyncronous and the server will not wait for the handler to return before processing the next message. Thus this server type is useful for UDFs which are asyncronous. -The handler function for such a server should be an async function. - -``` -grpc_server = MapAsyncServer(handler) -``` - -#### MultiProcessServer - -MultiProcess Server is a multi process server which can be used for UDFs which are CPU intensive. Here we utilize the multi process capabilities of Python to process multiple messages in parallel by forking multiple servers in different processes. -The server will invoke the handler function for each message. Individually at the server level the messaging is synchronous and the server will wait for the handler to return before processing the next message. But since we have multiple servers running in parallel, the overall messaging also executes in parallel. - -This could be an alternative to creating multiple replicas of the same UDF container as here we are using the multi processing capabilities of the system to process multiple messages in parallel but within the same container. - -Thus this server type is useful for UDFs which are CPU intensive. -``` -grpc_server = MapMultiProcServer(mapper_instance=handler, server_count=2) -``` - -#### Currently Supported Server Types for each functionality - -These are the class names for the server types supported by each of the functionalities. - -- UDFs - - Map - - MapServer - - MapAsyncServer - - MapMultiProcServer - - Reduce - - ReduceAsyncServer - - MapStream - - MapStreamAsyncServer - - BatchMap - - BatchMapAsyncServer - - Source Transform - - SourceTransformServer - - SourceTransformMultiProcServer -- UDSource - - SourceServer - - SourceAsyncServer -- UDSink - - SinkServer - - SinkAsyncServer -- SideInput - - SideInputServer - - - - -### Handler Function and Classes - -All the server types take a instance of a handler class or a handler function as an argument. -The handler function or class is the function or class which implements the functionality of the UDF, UDSource or UDSink. -For ease of use the user can pass either of the two to the server and the server will handle the rest. - -The handler for each of the servers has a specific signature which is defined by the server type and the implentation of the handlers -should follow the same signature. - -For using the class based handlers the user can inherit from the base handler class for each of the functionalities and implement the handler function. -The base handler class for each of the functionalities has the same signature as the handler function for the respective server type. -The list of base handler classes for each of the functionalities is given below - -- UDFs - - Map - - Mapper - - Reduce - - Reducer - - MapStream - - MapStreamer - - Source Transform - - SourceTransformer - - Batch Map - - BatchMapper -- UDSource - - Sourcer -- UDSink - - Sinker -- SideInput - - SideInput - -More details about the signature of the handler function for each of the server types is given in the -documentation of the respective server type. From 4ae1a16953ca8865fcacf13dd9d94335c790dcce Mon Sep 17 00:00:00 2001 From: Sreekanth Date: Sun, 19 Oct 2025 06:18:59 +0530 Subject: [PATCH 7/7] move .coveragerc to correct location Signed-off-by: Sreekanth --- .coveragerc => packages/pynumaflow/.coveragerc | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .coveragerc => packages/pynumaflow/.coveragerc (100%) diff --git a/.coveragerc b/packages/pynumaflow/.coveragerc similarity index 100% rename from .coveragerc rename to packages/pynumaflow/.coveragerc