Install & Compatibility
Where this runs
tested against v0.7.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.708s · 23.3MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.8s · import 0.612s · 24MB
22MB installed
● package 22MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
MRJob
✓ from mrjob.job import MRJob
✗ from mrjob.job import MRJob
Word count MapReduce job using mrjob. Run locally with: python word_count.py input.txt
from mrjob.job import MRJob
import re
WORD_RE = re.compile(r"[\w']+")
class MRWordFreqCount(MRJob):
def mapper(self, _, line):
for word in WORD_RE.findall(line):
yield (word.lower(), 1)
def combiner(self, word, counts):
yield (word, sum(counts))
def reducer(self, word, counts):
yield (word, sum(counts))
if __name__ == '__main__':
MRWordFreqCount.run()
mrjob --version
Upgrade
Version history
0.7.4latest on PyPI · released Sep 17, 2020
Audit
Dependencies
No dependency data recorded yet.