{"id":15018836,"url":"https://github.com/pablrod/p5-alien-xgboost","last_synced_at":"2026-03-15T19:38:44.971Z","repository":{"id":56835447,"uuid":"100643927","full_name":"pablrod/p5-Alien-XGBoost","owner":"pablrod","description":"Alien package to find, and build if necessary XGBoost library","archived":false,"fork":false,"pushed_at":"2017-09-10T17:10:24.000Z","size":28,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T00:42:35.659Z","etag":null,"topics":["aliens","perl","xgboost"],"latest_commit_sha":null,"homepage":null,"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/pablrod.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-17T20:45:47.000Z","updated_at":"2019-04-18T01:54:49.000Z","dependencies_parsed_at":"2022-09-02T03:50:31.826Z","dependency_job_id":null,"html_url":"https://github.com/pablrod/p5-Alien-XGBoost","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablrod%2Fp5-Alien-XGBoost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablrod%2Fp5-Alien-XGBoost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablrod%2Fp5-Alien-XGBoost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablrod%2Fp5-Alien-XGBoost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablrod","download_url":"https://codeload.github.com/pablrod/p5-Alien-XGBoost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318747,"owners_count":20272137,"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":["aliens","perl","xgboost"],"created_at":"2024-09-24T19:52:31.145Z","updated_at":"2025-12-24T19:05:33.988Z","avatar_url":"https://github.com/pablrod.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nAlien::XGBoost - Alien package to find, and build if necessary XGBoost dynamic library\n\n# VERSION\n\nversion 0.05\n\n# SYNOPSIS\n\n```perl\nuse Alien::XGBoost;\nuse FFI::Platypus;\n\nmy $ffi = FFI::Platypus-\u003enew;\n$ffi-\u003elib(Alien::XGBoost-\u003edynamic_libs);\n$ffi-\u003eattach(XGBGetLastError =\u003e [] =\u003e 'string');\nmy $error = XGBGetLastError();\n```\n\n# DESCRIPTION\n\nAlien package to find, and build if necessary XGBoost dynamic library.\n\n[![Build Status](https://travis-ci.org/pablrod/p5-Alien-XGBoost.png?branch=master)](https://travis-ci.org/pablrod/p5-Alien-XGBoost)\n[![Build status](https://ci.appveyor.com/api/projects/status/nl46f64tjiyaveql/branch/master?svg=true)](https://ci.appveyor.com/project/pablrod/p5-alien-xgboost/branch/master)\n\nThis module is to be used by other modules that need the XGBoost\ndynamic library available, indeed I've made this for [AI::XGBoost](https://metacpan.org/pod/AI::XGBoost).\n\nIf you only want to use XGBoost in your perl programns, just use\n[AI::XGBoost](https://metacpan.org/pod/AI::XGBoost) and forget this module. If you want to make other XGBoost\nwrappers or use from XS then continue reading.\n\nBy now there is no support for compiling your modules against XGBoost.\nJust using the dynamic library via [FFI::Platypus](https://metacpan.org/pod/FFI::Platypus) or [NativeCall](https://metacpan.org/pod/NativeCall).\n\n## Troubleshooting\n\nThe \"instructions\" to build and install as a module are in the [alienfile](https://metacpan.org/pod/alienfile).\n\nLots of things can go wrong, and in that case, I'm glad to help, just open an\nissue [https://github.com/pablrod/p5-Alien-XGBoost](https://github.com/pablrod/p5-Alien-XGBoost).\n\nBut this information could be useful:\n\n- Downloading\n\n    XGBoost doesn't make releases often [https://github.com/dmlc/xgboost/releases](https://github.com/dmlc/xgboost/releases) (last one from 2016)\n    So I'm cloning branch master.\n\n    XGBoost uses git modules, so I need a recursive clone.\n\n- Installing\n\n    XGBoost cmake doesn't provide a install target for the generated Makefiles, so this module\n    is copying the dynamic library and the xgboost command to the module share dir\n\n    If installation is succesfull you can query the module [Alien::XGBoost](https://metacpan.org/pod/Alien::XGBoost) to know where is \n    the dynamic library and command in your system\n\n# SEE ALSO\n\n- [https://github.com/dmlc/xgboost](https://github.com/dmlc/xgboost)\n- [Alien::Build](https://metacpan.org/pod/Alien::Build)\n- [alienfile](https://metacpan.org/pod/alienfile)\n- [AI::XGBoost](https://metacpan.org/pod/AI::XGBoost)\n- [FFI::Platypus](https://metacpan.org/pod/FFI::Platypus)\n- [NativeCall](https://metacpan.org/pod/NativeCall)\n\n# ACKNOWLEDGEMENTS\n\nThanks to Graham Ollis \u003cplicease@cpan.org\u003e for all the support and making so many great modules\nthat make easier to make Alien's:\n\n- [Alien::Build](https://metacpan.org/pod/Alien::Build)\n- [Alien::Build::Plugin::Build::CMake](https://metacpan.org/pod/Alien::Build::Plugin::Build::CMake)\n- [FFI::CheckLib](https://metacpan.org/pod/FFI::CheckLib)\n\n# AUTHOR\n\nPablo Rodríguez González \u003cpablo.rodriguez.gonzalez@gmail.com\u003e\n\n# COPYRIGHT AND LICENSE\n\nCopyright (c) 2017 by Pablo Rodríguez González.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablrod%2Fp5-alien-xgboost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablrod%2Fp5-alien-xgboost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablrod%2Fp5-alien-xgboost/lists"}