-
-
29 Apr 2012 22:07:33 UTC
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (0)
- Testers (568 / 0 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (42.78KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
Changes for version 0.005
- Change: 31cb38417cd994ea62ab188827ce78bea2039ca3 Author: Rocco Caputo <rcaputo@cpan.org> Date : 2012-04-29 18:06:21 +0000
- Standardize my distribution workflow.
- Change: 0a3df819d0f29418b3f8d834cc3004d27fa16e98 Author: Rocco Caputo <rcaputo@cpan.org> Date : 2012-04-29 14:21:20 +0000
- Merge pull request #2 from kimmel/master
- Add package App::PipeFilter so CPAN can find it by its distribution name.
- Change: a5038ba147d7f9a2663e342ea7e0654d296b890c Author: Rocco Caputo <rcaputo@cpan.org> Date : 2012-04-29 17:12:51 +0000
- [rt.cpan.org 76837] Un-hardcode sort(1) and cut(1) paths for jsort.
- Peter P. Hallam pointed out that my hardcoded /usr/bin/sort and /usr/bin/cut weren't universal. I added a little path search with fallbacks to /usr/bin/env {sort,cut}. It's still not non-UNIX safe, of course, but I'm hoping I'll get patches for other systems.
- Change: bf4730bbb518c0a5e4b5586a28aa729e25316b74 Author: Kirk Kimmel <kimmel.k.programmer@gmail.com> Date : 2012-04-28 01:29:09 +0000
- App::PipeFilter should now work correctly with the cpan client and metacpan.org indexing.
- Change: 3065ebb3b2e97598646d54a55780d1074602289b Author: Rocco Caputo <rcaputo@cpan.org> Date : 2012-04-27 14:08:15 +0000
- Document where to read about JSONPath.
- Change: 2b51acc36f1abbe5670605952fddc8cfde6450dd Author: Rocco Caputo <rcaputo@cpan.org> Date : 2011-06-13 16:30:18 +0000
- Add json2pcap to write pcap files from JSON input.
- Required the ability to open output files and write to them in different ways. For example, using Net::Pcap's functions for those purposes.
- Change: 4ebaf976c9b6a318b65cec473e41dcd77f015c17 Author: Rocco Caputo <rcaputo@cpan.org> Date : 2011-06-09 16:39:47 +0000
- Add tools to read pcap and convert network layers to JSON.
- Change: 4e2502c7fba5448e9305ff64ce43ea23bd1b07a2 Author: Rocco Caputo <rcaputo@cpan.org> Date : 2011-06-06 19:09:36 +0000
- Add support for tab-separated output.
- Implement a TSV output role. Implement a JsonToTsv subclass of App::PipeFilter::Generic. Implement json2tsv, which is like jcut but outputs TSV.
Documentation
concatenate and print JSON filescut out selected portions of each JSON object in a filemap input JSON fields to output JSON fields by renaming themconvert files of JSON objects into a stream of TSV rowsconvert files of JSON objects into a stream of YAML objectsuse JSON::Path to cut out selected portions of JSON objectssort input files of JSON objects on key fieldsconvert mysql -B output to JSON object streamsModules
a generic JSON pipeline filteruseless use of cat(1) for JSON streamsreturn specified fields from a JSON streammap input fields to output fields by renaming themreturn JSON::Path-specified fields from a JSON streama sort(1)-like filter that understands JSON fieldstranslate streams of JSON objects into tab-separated columnstranslate streams of JSON objects into YAMLtranslate mysql batch output to JSONstandard flag attributes and getoptparse input as a stream of JSON recordsgeneric methods to open input and output filescommon method to open input filesa generic method to open output filesserialize output as one JSON object per lineserialize output objects one per TSV rowserialize output as YAMLread input streams one line at a timeread input streams in large chunks for speeddon't transform data at allProvides
in lib/App/PipeFilter/Generic.pmin lib/App/PipeFilter/JsonEthernetToIp.pmin lib/App/PipeFilter/JsonIpToUdp.pmin lib/App/PipeFilter/JsonPcapToEthernet.pmin lib/App/PipeFilter/JsonToPcap.pmin lib/App/PipeFilter/PcapToJson.pmin lib/App/PipeFilter/Role/Input/ArrayBuffer.pmin lib/App/PipeFilter/Role/Opener/PcapInput.pmin lib/App/PipeFilter/Role/Opener/PcapOutput.pmin lib/App/PipeFilter/Role/Output/Pcap.pmin lib/App/PipeFilter/Role/Reader/Pcap.pmin lib/App/PipeFilter/Role/Transform/EthernetToIp.pmin lib/App/PipeFilter/Role/Transform/IpToUdp.pmin lib/App/PipeFilter/Role/Transform/PcapToEthernet.pmin lib/App/PipeFilter/Role/Writer/Pcap.pmin lib/App/PipeFilter/Role/Writer/Print.pmOther files
Module Install Instructions
To install App::PipeFilter, copy and paste the appropriate command in to your terminal.
cpanm App::PipeFilter
perl -MCPAN -e shell install App::PipeFilter
For more information on module installation, please visit the detailed CPAN module installation guide.