Line-based protocols for use with mrjob.
Project description
“Protocols? Why, those are my primary function!”
mr3po is a library of line-based custom protocols for use with the mrjob library.
mr3po is about the easiest Open Source project to contribute to. Just submit a class that can read and write an existing line-based format, and you’ve made a useful contribution.
Some guidelines for contributions:
put the code for your format in mrjob/<format name>.py
the name of your protocol class(es) should end in Protocol
if your protocol class(es) only handle single values (rather than key-value pairs), their name should end in ValueProtocol
include tests, in tests/test_<format name>.py. At least one test should inherit from tests.roundtrip.RoundTripTestCase.
external dependencies are fine, but should be optional; add them to extras_require in setup.py.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mr3po-0.1.0.tar.gz
.
File metadata
- Download URL: mr3po-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fefb78047bf7e774d98458a266701f655bf6bc09fa45c58cdc4a84e080591d5f |
|
MD5 | 0f927555758a400b6d4a0d1a2cf067af |
|
BLAKE2b-256 | 06d749a362a816312bb05a2d144c3f0fbbaf4fd5ece6f13be9f751d4e4a89352 |