{"id":19720854,"url":"https://github.com/quantopian/libpy","last_synced_at":"2025-08-31T14:35:19.299Z","repository":{"id":38230419,"uuid":"130941937","full_name":"quantopian/libpy","owner":"quantopian","description":"Utilities for writing C++ extension modules.","archived":false,"fork":false,"pushed_at":"2023-07-13T19:26:01.000Z","size":7115,"stargazers_count":85,"open_issues_count":19,"forks_count":29,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-11T02:09:25.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://quantopian.github.io/libpy/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quantopian.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-04-25T02:50:49.000Z","updated_at":"2025-05-06T20:15:18.000Z","dependencies_parsed_at":"2024-11-11T23:12:47.441Z","dependency_job_id":"78d1bfc4-d3a8-4058-b7c4-5289419a7c70","html_url":"https://github.com/quantopian/libpy","commit_stats":{"total_commits":614,"total_committers":12,"mean_commits":"51.166666666666664","dds":"0.28827361563517917","last_synced_commit":"e174ee103db76a9d0fcd29165d54c676ed1f2629"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantopian%2Flibpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantopian%2Flibpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantopian%2Flibpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantopian%2Flibpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quantopian","download_url":"https://codeload.github.com/quantopian/libpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253759067,"owners_count":21959694,"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":[],"created_at":"2024-11-11T23:12:44.266Z","updated_at":"2025-05-12T14:52:32.317Z","avatar_url":"https://github.com/quantopian.png","language":"C++","readme":"``libpy``\n=========\n\n.. image:: https://github.com/quantopian/libpy/workflows/CI/badge.svg\n    :alt: GitHub Actions status\n    :target: https://github.com/quantopian/libpy/actions?query=workflow%3ACI+branch%3Amaster\n\n.. image:: https://badge.fury.io/py/libpy.svg\n    :target: https://badge.fury.io/py/libpy\n\n``libpy`` is a library to help you write amazing Python extensions in C++.\n``libpy`` makes it easy to expose C++ code to Python.\n``libpy`` lets you automatically wrap functions and classes.\n``libpy`` is designed for high performance and safety: libpy extension modules should be both faster and safer than using the C API directly.\n\n`Full documentation \u003chttps://quantopian.github.io/libpy/\u003e`_\n\nRequirements\n------------\n\nlibpy supports:\n\n- macOS/Linux\n- Python \u003e=3.5\n\nlibpy requires:\n\n- gcc\u003e=9 or clang\u003e=10\n- numpy\u003e=1.11.3\n\nOptional Requirements\n---------------------\n\nlibpy optionally provides wrappers for the following libraries:\n\n- google sparsehash\n\n\nInstall\n-------\n\nTo install for development:\n\n.. code-block:: bash\n\n   $ make\n\nOtherwise, ``pip install libpy``, making sure ``CC`` and ``CXX`` environment variables are set to the the right compiler.\n\n**Note**: The installation of ``libpy`` will use the ``python`` executable to\nfigure out information about your environment. If you are not using a virtual\nenvironment or ``python`` does not point to the Python installation you want\nto use (checked with ``which python`` and ``python --version``) you must\npoint to your Python executable using the ``PYTHON`` environment variable,\ni.e. ``PYTHON=python3 make`` or ``PYTHON=python3 pip3 install libpy``.\n\nTests\n-----\n\nTo run the unit tests, invoke:\n\n.. code-block:: bash\n\n   $ make test\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantopian%2Flibpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantopian%2Flibpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantopian%2Flibpy/lists"}