{"id":16301273,"url":"https://github.com/garu/data-printer","last_synced_at":"2025-05-10T23:03:32.446Z","repository":{"id":1328303,"uuid":"1273882","full_name":"garu/Data-Printer","owner":"garu","description":"colored pretty-print of Perl data structures and objects","archived":false,"fork":false,"pushed_at":"2024-07-31T00:11:14.000Z","size":7119,"stargazers_count":98,"open_issues_count":28,"forks_count":81,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-03-31T21:42:55.718Z","etag":null,"topics":["debug","perl","pretty-print","variable-dumps"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garu.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-01-20T07:19:36.000Z","updated_at":"2025-03-01T16:40:51.000Z","dependencies_parsed_at":"2023-02-09T20:45:27.557Z","dependency_job_id":"1a56a4ba-2916-45bc-bef7-c7dc0c599e90","html_url":"https://github.com/garu/Data-Printer","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garu%2FData-Printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garu%2FData-Printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garu%2FData-Printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garu%2FData-Printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garu","download_url":"https://codeload.github.com/garu/Data-Printer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253492693,"owners_count":21916970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debug","perl","pretty-print","variable-dumps"],"created_at":"2024-10-10T20:54:27.304Z","updated_at":"2025-05-10T23:03:32.427Z","avatar_url":"https://github.com/garu.png","language":"Perl","readme":"Data::Printer\n=============\n\n[![Coverage Status](https://coveralls.io/repos/garu/Data-Printer/badge.png)](https://coveralls.io/r/garu/Data-Printer)\n[![CPAN version](https://badge.fury.io/pl/Data-Printer.png)](http://badge.fury.io/pl/Data-Printer)\n\nData::Printer is a Perl module to\n*pretty-print Perl data structures and objects* in full color,\nin a way that is *properly formatted to be inspected by a human*.\n\nBasic Usage:\n------------\n\n```perl\n    my $data = get_some_data_from_somewhere();\n    ...\n    use DDP; p $data;  # \u003c-- pretty-prints $data's content to STDERR\n```\n\n![See Data::Printer in action](https://raw.githubusercontent.com/garu/Data-Printer/master/examples/ddp.gif)\n\nMain features:\n--------------\n\n* Variable dumps designed for _easy parsing by the human brain_, not a machine;\n\n* _Highly customizable_, from indentation size to depth level.\nYou can even rename the exported p() function!\n\n* Beautiful (and customizable) colors to highlight variable dumps and make\nissues stand-out quickly on your console. Comes bundled with several themes\nfor you to pick.\n\n* Filters for specific data structures and objects to make debugging much,\nmuch easier. Includes filters for several popular classes from CPAN like\nJSON::\\*, URI, HTTP::\\*, LWP, Digest::\\*, DBI and DBIx::Class, printing what\nreally matters to developers debugging code. It also lets you\ncreate your own custom filters easily.\n\n* Lets you inspect information that's otherwise difficult to find/debug\nin Perl 5, like circular references, reference counting (refcount),\nweak/read-only information, even estimated data size - all to help you\nspot issues with your data like leaks without having to know a lot about\ninternal data structures or install heavy-weight tools like Devel::Gladiator.\n\n* keep your custom settings on a `.dataprinter` file that allows\n_different options per module_ being analyzed! You may also create a custom\nprofile class with your preferences and filters and upload it to CPAN.\n\n* output to many different targets like files, variables or open handles\n(defaults to STDERR). You can send your dumps to the screen or anywhere\nelse, and customize this setting on a per-project or even per-module basis,\nlike print everything from Some::Module to a debug.log file with extra info,\nand everything else to STDERR.\n\n* *Easy to learn, easy to master*. Seriously, what you already know cover\nabout 90% of all use cases.\n\n* Works on *Perl 5.8 and later* Because you can't control where\nyou debug, we try our best to be compatible with all versions of Perl 5.\n\n* Best of all? *No non-core dependencies*, Zero. Nada. so don't worry about\nadding extra weight to your project, as Data::Printer can be easily\nadded/removed.\n\nPlease refer to [Data::Printer's complete documentation](https://metacpan.org/pod/Data::Printer)\nfor details on how to customize the output to your needs. Or (after installation) type:\n\n    perldoc Data::Printer\n\nTo view the complete docs on your terminal.\n\n\nInstallation\n------------\n\nTo install this module via cpanm:\n\n    \u003e cpanm Data::Printer\n\nOr, at the cpan shell:\n\n    cpan\u003e install Data::Printer\n\nIf you wish to install it manually, download and unpack the tarball and\nrun the following commands:\n\n\tperl Makefile.PL\n\tmake\n\tmake test\n\tmake install\n\nOf course, instead of downloading the tarball you may simply clone the\ngit repository:\n\n    $ git clone git://github.com/garu/Data-Printer.git\n\n\nThank you for using Data::Printer! Please let me know of potential issues,\nbugs and wishlists :)\n\n\nLICENSE AND COPYRIGHT\n---------------------\n\nCopyright (C) 2011-2024 Breno G. de Oliveira\n\nThis program is free software; you can redistribute it and/or modify it\nunder the terms of either: the GNU General Public License as published\nby the Free Software Foundation; or the Artistic License.\n\nSee http://dev.perl.org/licenses/ for more information.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaru%2Fdata-printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaru%2Fdata-printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaru%2Fdata-printer/lists"}