{"id":22591917,"url":"https://github.com/gmagno/nb-cpp","last_synced_at":"2025-10-03T21:04:21.917Z","repository":{"id":37602907,"uuid":"166861692","full_name":"gmagno/nb-cpp","owner":"gmagno","description":" Newton Basins implementation in C++ with bindings (pybind11)","archived":false,"fork":false,"pushed_at":"2022-12-13T18:28:00.000Z","size":11,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-24T20:11:26.613Z","etag":null,"topics":["cpp","newton-fractals","pybind11","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/gmagno.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-01-21T18:36:16.000Z","updated_at":"2022-12-13T18:28:05.000Z","dependencies_parsed_at":"2023-01-28T14:02:47.783Z","dependency_job_id":null,"html_url":"https://github.com/gmagno/nb-cpp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmagno%2Fnb-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmagno%2Fnb-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmagno%2Fnb-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmagno%2Fnb-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmagno","download_url":"https://codeload.github.com/gmagno/nb-cpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248036064,"owners_count":21037092,"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":["cpp","newton-fractals","pybind11","python"],"created_at":"2024-12-08T09:14:36.764Z","updated_at":"2025-10-03T21:04:21.841Z","avatar_url":"https://github.com/gmagno.png","language":"Python","readme":"# Newton Basins C++ Implementation (pybind11)\n\nA Python/C++ (pybind11) package to generate newton basins images.\n\n\n## Installation\n\n### From PyPI\n```\npip install nb-cpp\n```\n\n### From source code\n\n```\npip install git+https://github.com/gmagno/nb-cpp.git\n```\n\nor\n\n```\ngit clone git@github.com:gmagno/nb-cpp.git\ncd nb-cpp/\nmake install\n```\n\n## Example Usage\n\nJust run:\n\n```python\nimport matplotlib as mpl  # don't forget to `pip install matplotlib` first\nimport matplotlib.pyplot as plt\nimport nb_cpp\nhsv = nb_cpp.compute(\n    imw=32, imh=32, # for more details, run: help(nb_py.compute)\n)\nrgb = mpl.colors.hsv_to_rgb(hsv)\nplt.figure()\nplt.imshow(rgb)\nplt.show()\n```\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmagno%2Fnb-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmagno%2Fnb-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmagno%2Fnb-cpp/lists"}