Skip to content

Argparse multiprocess #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Repsay
Copy link

@Repsay Repsay commented Mar 13, 2025

Use argparse instead. update multiprocessing to be more readable. Implement stdin working on stream with timeout. closes #60. extension on #65.

Repsay added 3 commits March 12, 2025 20:29
First part of NetherlandsForensicInstitute#60 to split in parts. First just adding type hinting and making PEP8 compliant. Small improvements and fixing small bugs. Removing changing global variables.
Some small improvements for optimizations. Added fallback encodings. de-nest lot of code in clean_up. split between bytes processing and string processing to reduce unnecessary re-encoding/decoding. Instead of stop use continue to speed up processing. Instead of changing locale use it directly in opening the file. Part of NetherlandsForensicInstitute#60
Use argparse instead. update multiprocessing to be more readable. Implement stdin working on stream with timeout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant