/
View dependency graph
Depends on
- libany-uri-escape-perl (libany-uri-escape-perl)
- libapp-cmd-perl (libapp-cmd-perl)
- libasa-perl (libasa-perl)
- libcapture-tiny-perl (libcapture-tiny-perl)
- libcgi-expand-perl (libcgi-expand-perl)
- libclass-method-modifiers-perl (libclass-method-modifiers-perl)
- libclone-perl (libclone-perl)
- libdata-compare-perl (libdata-compare-perl)
- libdata-util-perl (libdata-util-perl)
- libhash-merge-simple-perl (libhash-merge-simple-perl)
- libhttp-message-perl (libhttp-message-perl)
- libio-handle-util-perl (libio-handle-util-perl)
- liblist-someutils-perl (liblist-someutils-perl)
- liblog-any-adapter-log4perl-perl (liblog-any-adapter-log4perl-perl)
- liblog-any-perl (liblog-any-perl)
- liblog-log4perl-perl (liblog-log4perl-perl)
- libmime-types-perl (libmime-types-perl)
- libmodule-build-perl (libmodule-build-perl)
- libmodule-info-perl (libmodule-info-perl)
- libpackage-stash-perl (libpackage-stash-perl)
- libparser-mgc-perl (libparser-mgc-perl)
- libpath-iterator-rule-perl (libpath-iterator-rule-perl)
- libpath-tiny-perl (libpath-tiny-perl)
- librole-tiny-perl (librole-tiny-perl)
- libtest-deep-perl (libtest-deep-perl)
- libtest-exception-perl (libtest-exception-perl)
- libtest-lwp-useragent-perl (libtest-lwp-useragent-perl)
- libtest-pod-perl (libtest-pod-perl)
- libtext-csv-perl (libtext-csv-perl)
- libtext-hogan-perl (libtext-hogan-perl)
- libthrowable-perl (libthrowable-perl)
- libtry-tiny-byclass-perl (libtry-tiny-byclass-perl)
- liburi-perl (liburi-perl)
- liburi-template-perl (liburi-template-perl)
- libuuid-tiny-perl (libuuid-tiny-perl)
- libwww-perl (libwww-perl)
- libyaml-libyaml-perl (libyaml-libyaml-perl)
- debhelper-compat, libconfig-onion-perl, libcpanel-json-xs-perl, libmoo-perl, libmoox-aliases-perl, libnamespace-clean-perl, libstring-camelcase-perl, libsub-exporter-perl
Used by
- libapp-cmd-perl 0.340-1
- libcatmandu-aat-perl 0.03-2
- libcatmandu-alephx-perl 1.073-2
- libcatmandu-atom-perl 0.05-3
- libcatmandu-bibtex-perl 0.21-2
- libcatmandu-blacklight-perl 0.04-2
- libcatmandu-breaker-perl 0.141-2
- libcatmandu-cmd-repl-perl 0.01-2
- libcatmandu-crossref-perl 0.007-2
- libcatmandu-dbi-perl 0.13-1
- libcatmandu-exporter-table-perl 0.3.0-3
- libcatmandu-fedoracommons-perl 0.5-2
- libcatmandu-filestore-perl 1.16-4
- libcatmandu-fix-cmd-perl 0.0201-2
- libcatmandu-fix-datahub-perl 0.03-2
- libcatmandu-html-perl 0.02+dfsg-2
- libcatmandu-i18n-perl 0.01-2
- libcatmandu-identifier-perl 0.15-2
- libcatmandu-importer-getjson-perl 0.52-3
- libcatmandu-inspire-perl 0.300-2
Show 28 more
- libcatmandu-ldap-perl 0.0105-2
- libcatmandu-mab2-perl 0.24-3
- libcatmandu-marc-perl 1.320-1
- libcatmandu-markdown-perl 0.011-2
- libcatmandu-mediawiki-perl 0.021-2
- libcatmandu-mendeley-perl 0.01-2
- libcatmandu-mods-perl 0.31-4
- libcatmandu-oai-perl 0.21-1
- libcatmandu-plos-perl 0.01-2
- libcatmandu-pubmed-perl 0.01-2
- libcatmandu-pure-perl 0.05-2
- libcatmandu-rdf-perl 0.32-4
- libcatmandu-ris-perl 0.13-2
- libcatmandu-solr-perl 0.0304-2
- libcatmandu-sru-perl 0.43.0-2
- libcatmandu-stat-perl 0.13-2
- libcatmandu-store-elasticsearch-perl 1.0204-1
- libcatmandu-store-mongodb-perl 0.0806-1
- libcatmandu-template-perl 0.14-1
- libcatmandu-viaf-perl 0.05-2
- libcatmandu-wikidata-perl 0.06-4
- libcatmandu-xls-perl 0.11-1
- libcatmandu-xml-perl 0.17-1
- libcatmandu-xsd-perl 0.05-4
- libcatmandu-z3950-perl 0.06-2
- libcatmandu-zotero-perl 0.07-2
- libdancer-plugin-catmandu-oai-perl 0.0508-3
- libxml-struct-perl 0.27-3
README (full)
NAME
Catmandu - a data toolkit
SYNOPSIS
# From the command line
# Convert data from one format to another
$ catmandu convert JSON to CSV < data.json
$ catmandu convert CSV to YAML < data.csv
$ catmandu convert MARC to YAML < data.mrc
# Fix data, add, delete, change fields
$ catmandu convert JSON --fix 'move_field(title,my_title)' < data.json
$ catmandu convert JSON --fix all_my_fixes.txt < data.json
# Use a moustache preprocessor on the fix script
$ catmandu convert JSON --fix all_my_fixes.txt --var opt1=foo --var opt2=bar < data.json
# run a fix script
$ catmandu run myfixes.fix
# or, create an executable fix script
$ cat myfixes.fix
#!/usr/local/bin/catmandu run
do importer(OAI,url:"http://biblio.ugent.be/oai")
retain(_id)
end
$ chmod 755 myfixes.fix
$ ./myfixes.fix
DESCRIPTION
Catmandu provides a command line tools for the conversion of various
data formats including: JSON, YAML, RDF, CSV, TSV, XML and even Excel.
Using extension modules, specialized conversions for metadata formats
using in libraries, archives and museums is also supports. We provide
support for MARC, MAB, MODS, OAI-PMH, PICA, PNX, RIS, LIDO, SRU and
Z39.50.
Specialized conversions require a mapping language. This is implemented
in Catmandu using the `Fix` language. For a short introduction read
Catmandu::Introduction. Online tutorials can be found at the end of
this document.
INSTALL
From Source
# Clone the directory
git clone https://github.com/LibreCat/Catmandu
# Build
cd Catmandu
cpanm -n -q --installdeps --skip-satisfied .
perl Build.PL && ./Build && ./Build install
Using Docker
docker build -t librecat/catmandu .
# Run catmandu with access to you local files at <YourDrive>
docker run -v <YourDrive>:/home/catmandu/Home -it librecat/catmandu
# E.g.
docker run -v C:\Users\alice:/home/catmandu/Home -it librecat/catmandu
INSTALL EXTENSIONS
cpanm install <PackageName>
# E.g.
cpanm install Catmandu::MARC
POPULAR EXTENSIONS
Catmandu::Breaker
Catmandu::Identifier
Catmandu::MARC
Catmandu::OAI
Catmandu::PICA
Catmandu::RDF
Catmandu::SRU
Catmandu::Stat
Catmandu::Template
Catmandu::Validator
Catmandu::XLS
Catmandu::XSD
Catmandu::Z3950
SEE ALSO
introduction
Catmandu::Introduction
documentation
http://librecat.org/
blog
https://librecatproject.wordpress.com/
step-by-step introduction from basics
https://librecatproject.wordpress.com/2014/12/01/day-1-getting-catmandu/
command line client
catmandu
Perl API
Catmandu::PerlAPI
AUTHOR
Nicolas Steenlant, <nicolas.steenlant at ugent.be>
CONTRIBUTORS
Patrick Hochstenbach, patrick.hochstenbach at ugent.be
Nicolas Franck, nicolas.franck at ugent.be
Johann Rolschewski, jorol at cpan.org
Vitali Peil, vitali.peil at uni-bielefeld.de
Jakob Voss, nichtich at cpan.org
Magnus Enger, magnus at enger.priv.no
Christian Pietsch, christian.pietsch at uni-bielefeld.de
Dave Sherohman, dave.sherohman at ub.lu.se
Snorri Briem, snorri.briem at ub.lu.se
Pieter De Praetere, pieter.de.praetere at helptux.be
Doug Bell
Upsana, me at upasana.me
Stefan Weil
Tom Hukins
Michal Josef Špaček <michal.josef.spacek at gmail.com>
QUESTIONS, ISSUES & BUG REPORTS
For any questions on the use of our modules, or bug reports, or feature
requests, please use our issue tracker at:
https://github.com/LibreCat/Catmandu/issues
LICENSE AND COPYRIGHT
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
| dir | benchmark/ |
| dir | bin/ |
| dir | debian/ |
| dir | docker/ |
| dir | lib/ |
| dir | misc/ |
| dir | t/ |
| file | Build.PL |
| file | Changes |
| file | Dockerfile |
| file | LICENSE |
| file | MANIFEST |
| file | META.json |
| file | META.yml |
| file | Makefile |
| file | README |
| file | README-Docker.md |
| file | cpanfile |
| file | dist.ini |