גאבור סבו - Gábor Szabó > MetaCPAN-Clients > MetaCPAN::Clients

Download:
MetaCPAN-Clients-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.04   Source  

NAME ^

MetaCPAN::Clients - Some useful stand-alone scripts to access MetaCPAN

SYNOPSIS ^

Command-line tools:

 metacpan_meta.pl N [PAUSEID]
 metacpan_namespace.pl --module Module::Name
 metacpan_namespace.pl --distro Distro-Name  (or partial name)
 metacpan_impact.pl --distro Distribution-Name
 metacpan_reverse_dependencies.pl --distro Distro-Name
 metacpan_favorite.pl <token> <file>

... or read the articles and check out MetaCPAN::API.

DESCRIPTION ^

For an explanation of the metacpan_meta.pl script see Fetching META data from Meta CPAN.

For the metacpan_namespace.pl see List all the Perl modules and distributions in a name-space using Meta CPAN.

The metacpan_reverse_dependencies.pl show the list of distributions that use the given distribution. Code taken from Test::DependentModules of Dave Rolsky.

The metacpan_favorite.pl was created by David Golden and it is explained in How to mass-favorite modules on MetaCPAN

The token is taken from https://api.metacpan.org/user (assuming you are logged in) from the key access_token, token. The input file contains lines of "Distro-Name AUTHOR release" but it can work with "Distro-Name" alone too.

RESULTS ^

Some results using these scripts show:

On December 28, 2012 we found that 17.4% of CPAN uploads have no license in the META files

On January 3, 2013 we found that 50% of the new CPAN uploads have a repository link

On February 5, 2013 we found that still about 16.6% of the recent CPAN uploads have no license and 50% no repository link in their META files.

OTHER Examples ^

If you are interested in other examples using the MetaCPAN::API, check out the list of distributions using MetaCPAN::API

AUTHOR ^

Gabor Szabo

CONTRIBUTORS ^

David Golden

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Gabor Szabo.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: