{"id":17655135,"url":"https://github.com/ickc/python-pybind11-testing","last_synced_at":"2025-03-30T09:26:50.585Z","repository":{"id":37074044,"uuid":"386774007","full_name":"ickc/python-pybind11-testing","owner":"ickc","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-16T20:04:50.000Z","size":18,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T11:36:42.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ickc.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2021-07-16T22:00:40.000Z","updated_at":"2021-07-17T02:51:38.000Z","dependencies_parsed_at":"2023-02-10T06:00:55.631Z","dependency_job_id":null,"html_url":"https://github.com/ickc/python-pybind11-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"pybind/python_example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fpython-pybind11-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fpython-pybind11-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fpython-pybind11-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fpython-pybind11-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickc","download_url":"https://codeload.github.com/ickc/python-pybind11-testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246299330,"owners_count":20755145,"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-10-23T12:40:54.617Z","updated_at":"2025-03-30T09:26:50.529Z","avatar_url":"https://github.com/ickc.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"python_example\n==============\n\n[![Gitter][gitter-badge]][gitter-link]\n\n|      CI              | status |\n|----------------------|--------|\n| Linux/macOS Travis   | [![Travis-CI][travis-badge]][travis-link] |\n| MSVC 2015            | [![AppVeyor][appveyor-badge]][appveyor-link] |\n| conda.recipe         | [![Conda Actions Status][actions-conda-badge]][actions-conda-link] |\n| pip builds           | [![Pip Actions Status][actions-pip-badge]][actions-pip-link] |\n| [`cibuildwheel`][]   | [![Wheels Actions Status][actions-wheels-badge]][actions-wheels-link] |\n\n[gitter-badge]:            https://badges.gitter.im/pybind/Lobby.svg\n[gitter-link]:             https://gitter.im/pybind/Lobby\n[actions-badge]:           https://github.com/pybind/python_example/workflows/Tests/badge.svg\n[actions-conda-link]:      https://github.com/pybind/python_example/actions?query=workflow%3A%22Conda\n[actions-conda-badge]:     https://github.com/pybind/python_example/workflows/Conda/badge.svg\n[actions-pip-link]:        https://github.com/pybind/python_example/actions?query=workflow%3A%22Pip\n[actions-pip-badge]:       https://github.com/pybind/python_example/workflows/Pip/badge.svg\n[actions-wheels-link]:     https://github.com/pybind/python_example/actions?query=workflow%3AWheels\n[actions-wheels-badge]:    https://github.com/pybind/python_example/workflows/Wheels/badge.svg\n[travis-link]:             https://travis-ci.org/pybind/python_example\n[travis-badge]:            https://travis-ci.org/pybind/python_example.svg?branch=master\u0026status=passed \n[appveyor-link]:           https://ci.appveyor.com/project/wjakob/python-example\n\u003c!-- TODO: get a real badge link for appveyor --\u003e\n[appveyor-badge]:          https://travis-ci.org/pybind/python_example.svg?branch=master\u0026status=passed\n\nAn example project built with [pybind11](https://github.com/pybind/pybind11).\n\nInstallation\n------------\n\n**On Unix (Linux, OS X)**\n\n - clone this repository\n - `pip install ./python_example`\n\n**On Windows (Requires Visual Studio 2015)**\n\n - For Python 3.5+:\n     - clone this repository\n     - `pip install ./python_example`\n - For Python 2.7:\n\n   Pybind11 requires a C++11 compliant compiler (i.e. Visual Studio 2015 on\n   Windows). Running a regular `pip install` command will detect the version\n   of the compiler used to build Python and attempt to build the extension\n   with it. We must force the use of Visual Studio 2015.\n\n     - clone this repository\n     - `\"%VS140COMNTOOLS%\\..\\..\\VC\\vcvarsall.bat\" x64`\n     - `set DISTUTILS_USE_SDK=1`\n     - `set MSSdk=1`\n     - `pip install ./python_example`\n\n   Note that this requires the user building `python_example` to have registry edition\n   rights on the machine, to be able to run the `vcvarsall.bat` script.\n\nCI Examples\n-----------\n\nThere are examples for CI in `.github/workflows`. A simple way to produces\nbinary \"wheels\" for all platforms is illustrated in the \"wheels.yml\" file,\nusing [`cibuildwheel`][]. You can also see a basic recipe for building and\ntesting in `pip.yml`, and `conda.yml` has an example of a conda recipe build.\n\nWindows Python 2.7 runtime requirements\n----------------------------\n\nOn Windows, the Visual C++ 2015 redistributable packages are a runtime\nrequirement for this project if you build for Python 2.7 (newer versions of\nPython include this redistributable). It can be found\n[here](https://www.microsoft.com/en-us/download/details.aspx?id=48145).\n\n\nBuilding the documentation\n--------------------------\n\nDocumentation for the example project is generated using Sphinx. Sphinx has the\nability to automatically inspect the signatures and documentation strings in\nthe extension module to generate beautiful documentation in a variety formats.\nThe following command generates HTML-based reference documentation; for other\nformats please refer to the Sphinx manual:\n\n - `cd python_example/docs`\n - `make html`\n\nLicense\n-------\n\npybind11 is provided under a BSD-style license that can be found in the LICENSE\nfile. By using, distributing, or contributing to this project, you agree to the\nterms and conditions of this license.\n\nTest call\n---------\n\n```python\nimport python_example\npython_example.add(1, 2)\n```\n\n[`cibuildwheel`]:          https://cibuildwheel.readthedocs.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickc%2Fpython-pybind11-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickc%2Fpython-pybind11-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickc%2Fpython-pybind11-testing/lists"}