Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Non-blocking File I/O

Open
#156 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start with the Streamz.from_textfile entry point and read the linked Tornado discussion and Gitter conversation for the proposed non-blocking approach. Define completion as reading file updates without blocking and emitting only complete lines; the issue does not name files or tests to run.

Written by the indexing model from the issue text.

Description

Streamz.from_textfile could probably be improved to read from files in a non-blocking fashion, and only emit new data once full lines are written. Apparently we'll probably need a separate thread to do this well.

This would make a common and important class of solutions much more robust, and move this project from the "interesting" to "pragmatically useful" status in many cases.

cc @martindurant @yuvipanda

Referencing conversation in gitter here: https://gitter.im/dask/dev?at=5aa812f78f1c77ef3ab81dfd

Also, just as an FYI, I'm not working much and have limited connectivity this week.

Dominant language
Python
Stars
1.3k
Forks
149
Avg merge
17h 39m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-streamz/streamz

All issues in python-streamz/streamz

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.