libsonata 0.1.37__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/publish-sdist-wheels.yml +8 -7
- {libsonata-0.1.37 → libsonata-0.2.0}/CMakeLists.txt +45 -58
- {libsonata-0.1.37/python/libsonata.egg-info → libsonata-0.2.0}/PKG-INFO +4 -17
- {libsonata-0.1.37 → libsonata-0.2.0}/ci/coverage_test.sh +10 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/ci/cpp_test.sh +9 -12
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/conf.py +2 -0
- libsonata-0.2.0/docs/source/developer.rst +25 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/index.rst +1 -0
- libsonata-0.2.0/extlib/HighFive/.clang-format +93 -0
- libsonata-0.2.0/extlib/HighFive/.git-blame-ignore-revs +2 -0
- libsonata-0.2.0/extlib/HighFive/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
- libsonata-0.2.0/extlib/HighFive/.github/ISSUE_TEMPLATE/build_failure.md +44 -0
- libsonata-0.2.0/extlib/HighFive/.github/ISSUE_TEMPLATE/config.yml +5 -0
- libsonata-0.2.0/extlib/HighFive/.github/ISSUE_TEMPLATE/feature_request.md +9 -0
- libsonata-0.2.0/extlib/HighFive/.github/build.sh +12 -0
- libsonata-0.2.0/extlib/HighFive/.github/create_submodule_update_pr.sh +70 -0
- libsonata-0.2.0/extlib/HighFive/.github/dependabot.yml +8 -0
- libsonata-0.2.0/extlib/HighFive/.github/mamba_env_cxx14.yaml +12 -0
- libsonata-0.2.0/extlib/HighFive/.github/mamba_env_cxx17.yaml +12 -0
- libsonata-0.2.0/extlib/HighFive/.github/mamba_env_cxx20.yaml +12 -0
- libsonata-0.2.0/extlib/HighFive/.github/run_examples.sh +39 -0
- libsonata-0.2.0/extlib/HighFive/.github/workflows/check_doxygen_awesome_version.yml +20 -0
- libsonata-0.2.0/extlib/HighFive/.github/workflows/ci.yml +395 -0
- libsonata-0.2.0/extlib/HighFive/.github/workflows/clang_format.yml +26 -0
- libsonata-0.2.0/extlib/HighFive/.github/workflows/coverage.yml +74 -0
- libsonata-0.2.0/extlib/HighFive/.github/workflows/gh-pages.yml +77 -0
- libsonata-0.2.0/extlib/HighFive/.github/workflows/integration_trigger.yml +21 -0
- libsonata-0.2.0/extlib/HighFive/.github/workflows/version_file.yml +41 -0
- libsonata-0.2.0/extlib/HighFive/.gitignore +6 -0
- libsonata-0.2.0/extlib/HighFive/.gitmodules +3 -0
- libsonata-0.2.0/extlib/HighFive/AUTHORS.txt +60 -0
- libsonata-0.2.0/extlib/HighFive/CHANGELOG.md +371 -0
- libsonata-0.2.0/extlib/HighFive/README.md +280 -0
- libsonata-0.2.0/extlib/HighFive/bin/format.sh +44 -0
- libsonata-0.2.0/extlib/HighFive/cmake/HighFiveConfig.cmake +28 -0
- libsonata-0.2.0/extlib/HighFive/cmake/HighFiveFlags.cmake +30 -0
- libsonata-0.2.0/extlib/HighFive/cmake/HighFiveOptionalDependencies.cmake +64 -0
- libsonata-0.2.0/extlib/HighFive/cmake/HighFiveWarnings.cmake +49 -0
- libsonata-0.2.0/extlib/HighFive/codecov.yml +8 -0
- libsonata-0.2.0/extlib/HighFive/doc/CMakeLists.txt +7 -0
- libsonata-0.2.0/extlib/HighFive/doc/Doxyfile +2622 -0
- libsonata-0.2.0/extlib/HighFive/doc/DoxygenLayout.xml +241 -0
- libsonata-0.2.0/extlib/HighFive/doc/developer_guide.md +343 -0
- libsonata-0.2.0/extlib/HighFive/doc/doxygen-awesome-css/doxygen-awesome.css +2681 -0
- libsonata-0.2.0/extlib/HighFive/doc/doxygen-awesome-css/update_doxygen_awesome.sh +47 -0
- libsonata-0.2.0/extlib/HighFive/doc/installation.md +257 -0
- libsonata-0.2.0/extlib/HighFive/doc/migration_guide.md +276 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/CMakeLists.txt +123 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/boost_multi_array_2D.cpp +38 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/boost_multiarray_complex.cpp +27 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/boost_ublas_double.cpp +64 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/broadcasting_arrays.cpp +50 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/compound_types.cpp +42 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/create_attribute_string_integer.cpp +54 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/create_dataset_double.cpp +38 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/create_dataset_half_float.cpp +46 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/create_datatype.cpp +101 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/create_extensible_dataset.cpp +63 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/create_large_attribute.cpp +19 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/create_page_allocated_files.cpp +72 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/easy_attribute.cpp +45 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/easy_dumpoptions.cpp +95 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/easy_load_dump.cpp +109 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/eigen_map.cpp +48 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/eigen_matrix.cpp +33 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/eigen_vector.cpp +33 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/hl_hdf5_inmemory_files.cpp +69 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/parallel_hdf5_collective_io.cpp +118 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/parallel_hdf5_independent_io.cpp +101 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/read_write_dataset_string.cpp +51 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/read_write_raw_ptr.cpp +73 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/read_write_single_scalar.cpp +46 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/read_write_std_span.cpp +56 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/read_write_std_strings.cpp +114 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/read_write_vector_dataset.cpp +63 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/read_write_vector_dataset_references.cpp +73 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/readme_snippet.cpp +32 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/renaming_objects.cpp +68 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/select_by_id_dataset_cpp11.cpp +67 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/select_partial_dataset_cpp11.cpp +49 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/select_slices.cpp +131 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/swmr_read.cpp +76 -0
- libsonata-0.2.0/extlib/HighFive/src/examples/swmr_write.cpp +65 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/README.md +22 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/application/CMakeLists.txt +87 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/application/deps/.gitignore +2 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/application/hi5_application.cpp +36 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/CMakeLists.txt +158 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/cmake/Hi5DependentConfig.cmake.in +24 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/include/hi5_dependent/read.hpp +17 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/include/hi5_dependent/write.hpp +8 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/src/hi5_dependent/boost.cpp +17 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/src/hi5_dependent/read_vector.cpp +7 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/src/hi5_dependent/write_vector.cpp +9 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/test_cmake_integration.sh +159 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/test_dependent_library/CMakeLists.txt +45 -0
- libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/test_dependent_library/test_dependent_library.cpp +34 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/CMakeLists.txt +88 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/compary_arrays.hpp +80 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/create_traits.hpp +70 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/data_generator.hpp +865 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/supported_types.hpp +223 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_all_types.cpp +287 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_boost.cpp +27 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_empty_arrays.cpp +248 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_high_five_selection.cpp +707 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_legacy.cpp +74 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_nothrow_movable.cpp +90 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_opencv.cpp +59 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_stl.cpp +58 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_string.cpp +393 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/test_xtensor.cpp +151 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five.hpp +206 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five_base.cpp +2604 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five_data_type.cpp +427 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five_easy.cpp +557 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five_parallel.cpp +254 -0
- libsonata-0.2.0/extlib/HighFive/tests/unit/tests_import_public_headers.cpp +7 -0
- libsonata-0.2.0/extlib/fmt/.clang-format +8 -0
- libsonata-0.2.0/extlib/fmt/.github/dependabot.yml +8 -0
- libsonata-0.2.0/extlib/fmt/.github/issue_template.md +6 -0
- libsonata-0.2.0/extlib/fmt/.github/pull_request_template.md +7 -0
- libsonata-0.2.0/extlib/fmt/.github/workflows/cifuzz.yml +30 -0
- libsonata-0.2.0/extlib/fmt/.github/workflows/doc.yml +43 -0
- libsonata-0.2.0/extlib/fmt/.github/workflows/lint.yml +56 -0
- libsonata-0.2.0/extlib/fmt/.github/workflows/linux.yml +116 -0
- libsonata-0.2.0/extlib/fmt/.github/workflows/macos.yml +54 -0
- libsonata-0.2.0/extlib/fmt/.github/workflows/scorecard.yml +65 -0
- libsonata-0.2.0/extlib/fmt/.github/workflows/windows.yml +100 -0
- libsonata-0.2.0/extlib/fmt/.gitignore +20 -0
- libsonata-0.2.0/extlib/fmt/CONTRIBUTING.md +20 -0
- libsonata-0.2.0/extlib/fmt/doc/ChangeLog-old.md +3290 -0
- libsonata-0.2.0/extlib/fmt/doc/api.md +650 -0
- libsonata-0.2.0/extlib/fmt/doc/fmt.css +61 -0
- libsonata-0.2.0/extlib/fmt/doc/fmt.js +4 -0
- libsonata-0.2.0/extlib/fmt/doc/get-started.md +222 -0
- libsonata-0.2.0/extlib/fmt/doc/index.md +151 -0
- libsonata-0.2.0/extlib/fmt/doc/perf.svg +1 -0
- libsonata-0.2.0/extlib/fmt/doc/python-license.txt +290 -0
- libsonata-0.2.0/extlib/fmt/doc/syntax.md +887 -0
- libsonata-0.2.0/extlib/fmt/support/Android.mk +15 -0
- libsonata-0.2.0/extlib/fmt/support/AndroidManifest.xml +1 -0
- libsonata-0.2.0/extlib/fmt/support/C++.sublime-syntax +2061 -0
- libsonata-0.2.0/extlib/fmt/support/README +4 -0
- libsonata-0.2.0/extlib/fmt/support/Vagrantfile +19 -0
- libsonata-0.2.0/extlib/fmt/support/bazel/.bazelversion +1 -0
- libsonata-0.2.0/extlib/fmt/support/bazel/BUILD.bazel +20 -0
- libsonata-0.2.0/extlib/fmt/support/bazel/MODULE.bazel +6 -0
- libsonata-0.2.0/extlib/fmt/support/bazel/README.md +28 -0
- libsonata-0.2.0/extlib/fmt/support/bazel/WORKSPACE.bazel +2 -0
- libsonata-0.2.0/extlib/fmt/support/build.gradle +132 -0
- libsonata-0.2.0/extlib/fmt/support/check-commits +43 -0
- libsonata-0.2.0/extlib/fmt/support/docopt.py +581 -0
- libsonata-0.2.0/extlib/fmt/support/manage.py +218 -0
- libsonata-0.2.0/extlib/fmt/support/mkdocs +44 -0
- libsonata-0.2.0/extlib/fmt/support/mkdocs.yml +48 -0
- libsonata-0.2.0/extlib/fmt/support/printable.py +201 -0
- libsonata-0.2.0/extlib/fmt/support/python/mkdocstrings_handlers/cxx/__init__.py +317 -0
- libsonata-0.2.0/extlib/fmt/support/python/mkdocstrings_handlers/cxx/templates/README +1 -0
- libsonata-0.2.0/extlib/fmt/test/CMakeLists.txt +272 -0
- libsonata-0.2.0/extlib/fmt/test/add-subdirectory-test/CMakeLists.txt +17 -0
- libsonata-0.2.0/extlib/fmt/test/add-subdirectory-test/main.cc +5 -0
- libsonata-0.2.0/extlib/fmt/test/args-test.cc +188 -0
- libsonata-0.2.0/extlib/fmt/test/assert-test.cc +31 -0
- libsonata-0.2.0/extlib/fmt/test/base-test.cc +899 -0
- libsonata-0.2.0/extlib/fmt/test/chrono-test.cc +1063 -0
- libsonata-0.2.0/extlib/fmt/test/color-test.cc +72 -0
- libsonata-0.2.0/extlib/fmt/test/compile-error-test/CMakeLists.txt +241 -0
- libsonata-0.2.0/extlib/fmt/test/compile-fp-test.cc +61 -0
- libsonata-0.2.0/extlib/fmt/test/compile-test.cc +385 -0
- libsonata-0.2.0/extlib/fmt/test/cuda-test/CMakeLists.txt +73 -0
- libsonata-0.2.0/extlib/fmt/test/cuda-test/cpp14.cc +11 -0
- libsonata-0.2.0/extlib/fmt/test/cuda-test/cuda-cpp14.cu +28 -0
- libsonata-0.2.0/extlib/fmt/test/detect-stdfs.cc +18 -0
- libsonata-0.2.0/extlib/fmt/test/enforce-checks-test.cc +65 -0
- libsonata-0.2.0/extlib/fmt/test/find-package-test/CMakeLists.txt +17 -0
- libsonata-0.2.0/extlib/fmt/test/find-package-test/main.cc +5 -0
- libsonata-0.2.0/extlib/fmt/test/format-impl-test.cc +476 -0
- libsonata-0.2.0/extlib/fmt/test/format-test.cc +2465 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/.gitignore +3 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/CMakeLists.txt +30 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/README.md +25 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/build.sh +90 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/chrono-duration.cc +136 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/chrono-timepoint.cc +32 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/float.cc +39 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/fuzzer-common.h +77 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/main.cc +22 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/named-arg.cc +102 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/one-arg.cc +92 -0
- libsonata-0.2.0/extlib/fmt/test/fuzzing/two-args.cc +106 -0
- libsonata-0.2.0/extlib/fmt/test/gtest/.clang-format +3 -0
- libsonata-0.2.0/extlib/fmt/test/gtest/CMakeLists.txt +32 -0
- libsonata-0.2.0/extlib/fmt/test/gtest/gmock/gmock.h +11645 -0
- libsonata-0.2.0/extlib/fmt/test/gtest/gmock-gtest-all.cc +14434 -0
- libsonata-0.2.0/extlib/fmt/test/gtest/gtest/gtest-spi.h +238 -0
- libsonata-0.2.0/extlib/fmt/test/gtest/gtest/gtest.h +12398 -0
- libsonata-0.2.0/extlib/fmt/test/gtest-extra-test.cc +410 -0
- libsonata-0.2.0/extlib/fmt/test/gtest-extra.cc +80 -0
- libsonata-0.2.0/extlib/fmt/test/gtest-extra.h +165 -0
- libsonata-0.2.0/extlib/fmt/test/header-only-test.cc +11 -0
- libsonata-0.2.0/extlib/fmt/test/mock-allocator.h +77 -0
- libsonata-0.2.0/extlib/fmt/test/module-test.cc +520 -0
- libsonata-0.2.0/extlib/fmt/test/noexception-test.cc +18 -0
- libsonata-0.2.0/extlib/fmt/test/os-test.cc +516 -0
- libsonata-0.2.0/extlib/fmt/test/ostream-test.cc +308 -0
- libsonata-0.2.0/extlib/fmt/test/perf-sanity.cc +25 -0
- libsonata-0.2.0/extlib/fmt/test/posix-mock-test.cc +442 -0
- libsonata-0.2.0/extlib/fmt/test/posix-mock.h +75 -0
- libsonata-0.2.0/extlib/fmt/test/printf-test.cc +568 -0
- libsonata-0.2.0/extlib/fmt/test/ranges-odr-test.cc +18 -0
- libsonata-0.2.0/extlib/fmt/test/ranges-test.cc +789 -0
- libsonata-0.2.0/extlib/fmt/test/scan-test.cc +184 -0
- libsonata-0.2.0/extlib/fmt/test/scan.h +669 -0
- libsonata-0.2.0/extlib/fmt/test/static-export-test/CMakeLists.txt +30 -0
- libsonata-0.2.0/extlib/fmt/test/static-export-test/library.cc +5 -0
- libsonata-0.2.0/extlib/fmt/test/static-export-test/main.cc +6 -0
- libsonata-0.2.0/extlib/fmt/test/std-test.cc +390 -0
- libsonata-0.2.0/extlib/fmt/test/test-assert.h +39 -0
- libsonata-0.2.0/extlib/fmt/test/test-main.cc +43 -0
- libsonata-0.2.0/extlib/fmt/test/unicode-test.cc +48 -0
- libsonata-0.2.0/extlib/fmt/test/util.cc +49 -0
- libsonata-0.2.0/extlib/fmt/test/util.h +83 -0
- libsonata-0.2.0/extlib/fmt/test/xchar-test.cc +600 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/nlohmann/nlohmann/json.hpp +10073 -9994
- libsonata-0.2.0/include/bbp/sonata/electrode_reader.h +129 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/node_sets.h +7 -0
- libsonata-0.2.0/include/bbp/sonata/selection.h +170 -0
- libsonata-0.2.0/pyproject.toml +42 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/CMakeLists.txt +4 -2
- {libsonata-0.1.37 → libsonata-0.2.0}/python/bindings.cpp +98 -11
- {libsonata-0.1.37 → libsonata-0.2.0}/python/generated/docstrings.h +122 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/libsonata/__init__.py +6 -0
- libsonata-0.2.0/python/pybind11/.appveyor.yml +35 -0
- libsonata-0.2.0/python/pybind11/.clang-format +38 -0
- libsonata-0.2.0/python/pybind11/.clang-tidy +80 -0
- libsonata-0.2.0/python/pybind11/.cmake-format.yaml +73 -0
- libsonata-0.2.0/python/pybind11/.codespell-ignore-lines +35 -0
- libsonata-0.2.0/python/pybind11/.gitattributes +1 -0
- libsonata-0.2.0/python/pybind11/.github/CODEOWNERS +9 -0
- libsonata-0.2.0/python/pybind11/.github/CONTRIBUTING.md +349 -0
- libsonata-0.2.0/python/pybind11/.github/ISSUE_TEMPLATE/bug-report.yml +61 -0
- libsonata-0.2.0/python/pybind11/.github/ISSUE_TEMPLATE/config.yml +8 -0
- libsonata-0.2.0/python/pybind11/.github/dependabot.yml +15 -0
- libsonata-0.2.0/python/pybind11/.github/labeler.yml +13 -0
- libsonata-0.2.0/python/pybind11/.github/labeler_merged.yml +8 -0
- libsonata-0.2.0/python/pybind11/.github/matchers/pylint.json +32 -0
- libsonata-0.2.0/python/pybind11/.github/pull_request_template.md +15 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/ci.yml +1279 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/configure.yml +85 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/docs-link.yml +41 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/format.yml +54 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/labeler.yml +25 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/nightlies.yml +59 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/pip.yml +118 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/reusable-standard.yml +96 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/tests-cibw.yml +86 -0
- libsonata-0.2.0/python/pybind11/.github/workflows/upstream.yml +116 -0
- libsonata-0.2.0/python/pybind11/.gitignore +53 -0
- libsonata-0.2.0/python/pybind11/.pre-commit-config.yaml +149 -0
- libsonata-0.2.0/python/pybind11/.readthedocs.yml +20 -0
- libsonata-0.2.0/python/pybind11/CMakePresets.json +93 -0
- libsonata-0.2.0/python/pybind11/README.rst +216 -0
- libsonata-0.2.0/python/pybind11/SECURITY.md +13 -0
- libsonata-0.2.0/python/pybind11/docs/Doxyfile +21 -0
- libsonata-0.2.0/python/pybind11/docs/_static/css/custom.css +3 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/cast/chrono.rst +81 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/cast/custom.rst +137 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/cast/eigen.rst +310 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/cast/functional.rst +109 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/cast/index.rst +43 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/cast/overview.rst +170 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/cast/stl.rst +249 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/cast/strings.rst +296 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/classes.rst +1408 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/deadlock.md +391 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/deprecated.rst +179 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/embedding.rst +495 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/exceptions.rst +422 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/functions.rst +616 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/misc.rst +615 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/pycpp/index.rst +13 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/pycpp/numpy.rst +493 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/pycpp/object.rst +286 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/pycpp/utilities.rst +155 -0
- libsonata-0.2.0/python/pybind11/docs/advanced/smart_ptrs.rst +179 -0
- libsonata-0.2.0/python/pybind11/docs/basics.rst +314 -0
- libsonata-0.2.0/python/pybind11/docs/benchmark.py +89 -0
- libsonata-0.2.0/python/pybind11/docs/benchmark.rst +95 -0
- libsonata-0.2.0/python/pybind11/docs/changelog.md +3234 -0
- libsonata-0.2.0/python/pybind11/docs/classes.rst +652 -0
- libsonata-0.2.0/python/pybind11/docs/cmake/index.rst +8 -0
- libsonata-0.2.0/python/pybind11/docs/compiling.rst +731 -0
- libsonata-0.2.0/python/pybind11/docs/conf.py +369 -0
- libsonata-0.2.0/python/pybind11/docs/faq.rst +351 -0
- libsonata-0.2.0/python/pybind11/docs/index.rst +49 -0
- libsonata-0.2.0/python/pybind11/docs/installing.rst +105 -0
- libsonata-0.2.0/python/pybind11/docs/limitations.rst +68 -0
- libsonata-0.2.0/python/pybind11/docs/pybind11-logo.png +0 -0
- libsonata-0.2.0/python/pybind11/docs/pybind11_vs_boost_python1.png +0 -0
- libsonata-0.2.0/python/pybind11/docs/pybind11_vs_boost_python1.svg +427 -0
- libsonata-0.2.0/python/pybind11/docs/pybind11_vs_boost_python2.png +0 -0
- libsonata-0.2.0/python/pybind11/docs/pybind11_vs_boost_python2.svg +427 -0
- libsonata-0.2.0/python/pybind11/docs/reference.rst +130 -0
- libsonata-0.2.0/python/pybind11/docs/release.rst +135 -0
- libsonata-0.2.0/python/pybind11/docs/requirements.in +7 -0
- libsonata-0.2.0/python/pybind11/docs/requirements.txt +91 -0
- libsonata-0.2.0/python/pybind11/docs/upgrade.rst +746 -0
- libsonata-0.2.0/python/pybind11/noxfile.py +151 -0
- libsonata-0.2.0/python/pybind11/pybind11/__init__.py +19 -0
- libsonata-0.2.0/python/pybind11/pybind11/__main__.py +97 -0
- libsonata-0.2.0/python/pybind11/pybind11/_version.py +34 -0
- libsonata-0.2.0/python/pybind11/pybind11/commands.py +39 -0
- libsonata-0.2.0/python/pybind11/pybind11/py.typed +0 -0
- libsonata-0.2.0/python/pybind11/pybind11/setup_helpers.py +500 -0
- libsonata-0.2.0/python/pybind11/pyproject.toml +184 -0
- libsonata-0.2.0/python/pybind11/tests/CMakeLists.txt +658 -0
- libsonata-0.2.0/python/pybind11/tests/conftest.py +277 -0
- libsonata-0.2.0/python/pybind11/tests/constructor_stats.h +330 -0
- libsonata-0.2.0/python/pybind11/tests/cross_module_gil_utils.cpp +111 -0
- libsonata-0.2.0/python/pybind11/tests/cross_module_interleaved_error_already_set.cpp +54 -0
- libsonata-0.2.0/python/pybind11/tests/custom_exceptions.py +10 -0
- libsonata-0.2.0/python/pybind11/tests/eigen_tensor_avoid_stl_array.cpp +16 -0
- libsonata-0.2.0/python/pybind11/tests/env.py +37 -0
- libsonata-0.2.0/python/pybind11/tests/exo_planet_c_api.cpp +76 -0
- libsonata-0.2.0/python/pybind11/tests/exo_planet_pybind11.cpp +19 -0
- libsonata-0.2.0/python/pybind11/tests/extra_python_package/pytest.ini +0 -0
- libsonata-0.2.0/python/pybind11/tests/extra_python_package/test_files.py +383 -0
- libsonata-0.2.0/python/pybind11/tests/extra_setuptools/pytest.ini +0 -0
- libsonata-0.2.0/python/pybind11/tests/extra_setuptools/test_setuphelper.py +153 -0
- libsonata-0.2.0/python/pybind11/tests/home_planet_very_lonely_traveler.cpp +13 -0
- libsonata-0.2.0/python/pybind11/tests/local_bindings.h +92 -0
- libsonata-0.2.0/python/pybind11/tests/mod_per_interpreter_gil.cpp +20 -0
- libsonata-0.2.0/python/pybind11/tests/mod_shared_interpreter_gil.cpp +17 -0
- libsonata-0.2.0/python/pybind11/tests/object.h +205 -0
- libsonata-0.2.0/python/pybind11/tests/pure_cpp/CMakeLists.txt +20 -0
- libsonata-0.2.0/python/pybind11/tests/pure_cpp/smart_holder_poc.h +56 -0
- libsonata-0.2.0/python/pybind11/tests/pure_cpp/smart_holder_poc_test.cpp +427 -0
- libsonata-0.2.0/python/pybind11/tests/pybind11_cross_module_tests.cpp +149 -0
- libsonata-0.2.0/python/pybind11/tests/pybind11_tests.cpp +129 -0
- libsonata-0.2.0/python/pybind11/tests/pybind11_tests.h +119 -0
- libsonata-0.2.0/python/pybind11/tests/pyproject.toml +38 -0
- libsonata-0.2.0/python/pybind11/tests/pytest.ini +22 -0
- libsonata-0.2.0/python/pybind11/tests/requirements.txt +18 -0
- libsonata-0.2.0/python/pybind11/tests/test_async.cpp +25 -0
- libsonata-0.2.0/python/pybind11/tests/test_async.py +31 -0
- libsonata-0.2.0/python/pybind11/tests/test_buffers.cpp +442 -0
- libsonata-0.2.0/python/pybind11/tests/test_buffers.py +401 -0
- libsonata-0.2.0/python/pybind11/tests/test_builtin_casters.cpp +391 -0
- libsonata-0.2.0/python/pybind11/tests/test_builtin_casters.py +551 -0
- libsonata-0.2.0/python/pybind11/tests/test_call_policies.cpp +113 -0
- libsonata-0.2.0/python/pybind11/tests/test_call_policies.py +256 -0
- libsonata-0.2.0/python/pybind11/tests/test_callbacks.cpp +302 -0
- libsonata-0.2.0/python/pybind11/tests/test_callbacks.py +247 -0
- libsonata-0.2.0/python/pybind11/tests/test_chrono.cpp +81 -0
- libsonata-0.2.0/python/pybind11/tests/test_chrono.py +207 -0
- libsonata-0.2.0/python/pybind11/tests/test_class.cpp +681 -0
- libsonata-0.2.0/python/pybind11/tests/test_class.py +557 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_release_gil_before_calling_cpp_dtor.cpp +53 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_release_gil_before_calling_cpp_dtor.py +21 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_basic.cpp +248 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_basic.py +248 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_disowning.cpp +41 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_disowning.py +78 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_disowning_mi.cpp +85 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_disowning_mi.py +246 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_factory_constructors.cpp +156 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_factory_constructors.py +53 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_inheritance.cpp +90 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_inheritance.py +63 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_mi_thunks.cpp +93 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_mi_thunks.py +53 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_property.cpp +94 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_property.py +166 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_property_non_owning.cpp +63 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_property_non_owning.py +30 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_shared_ptr_copy_move.cpp +103 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_shared_ptr_copy_move.py +41 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_basic.cpp +57 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_basic.py +35 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_self_life_support.cpp +86 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_self_life_support.py +38 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_shared_from_this.cpp +137 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_shared_from_this.py +247 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp +92 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_shared_ptr_cpp_arg.py +154 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_unique_ptr.cpp +63 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_unique_ptr.py +31 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_unique_ptr_custom_deleter.cpp +30 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_unique_ptr_custom_deleter.py +8 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_unique_ptr_member.cpp +50 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_unique_ptr_member.py +26 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_virtual_py_cpp_mix.cpp +58 -0
- libsonata-0.2.0/python/pybind11/tests/test_class_sh_virtual_py_cpp_mix.py +66 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/CMakeLists.txt +91 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/embed.cpp +23 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/installed_embed/CMakeLists.txt +19 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt +29 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt +37 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/main.cpp +6 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/subdirectory_embed/CMakeLists.txt +38 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt +32 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt +38 -0
- libsonata-0.2.0/python/pybind11/tests/test_cmake_build/test.py +10 -0
- libsonata-0.2.0/python/pybind11/tests/test_const_name.cpp +55 -0
- libsonata-0.2.0/python/pybind11/tests/test_const_name.py +31 -0
- libsonata-0.2.0/python/pybind11/tests/test_constants_and_functions.cpp +158 -0
- libsonata-0.2.0/python/pybind11/tests/test_constants_and_functions.py +58 -0
- libsonata-0.2.0/python/pybind11/tests/test_copy_move.cpp +546 -0
- libsonata-0.2.0/python/pybind11/tests/test_copy_move.py +144 -0
- libsonata-0.2.0/python/pybind11/tests/test_cpp_conduit.cpp +22 -0
- libsonata-0.2.0/python/pybind11/tests/test_cpp_conduit.py +183 -0
- libsonata-0.2.0/python/pybind11/tests/test_cpp_conduit_traveler_bindings.h +47 -0
- libsonata-0.2.0/python/pybind11/tests/test_cpp_conduit_traveler_types.h +25 -0
- libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/CMakeLists.txt +68 -0
- libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/bindings.cpp +20 -0
- libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/catch.cpp +22 -0
- libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/lib.cpp +13 -0
- libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/lib.h +30 -0
- libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/test_cross_module_rtti.cpp +50 -0
- libsonata-0.2.0/python/pybind11/tests/test_custom_type_casters.cpp +217 -0
- libsonata-0.2.0/python/pybind11/tests/test_custom_type_casters.py +126 -0
- libsonata-0.2.0/python/pybind11/tests/test_custom_type_setup.cpp +49 -0
- libsonata-0.2.0/python/pybind11/tests/test_custom_type_setup.py +50 -0
- libsonata-0.2.0/python/pybind11/tests/test_docs_advanced_cast_custom.cpp +69 -0
- libsonata-0.2.0/python/pybind11/tests/test_docs_advanced_cast_custom.py +40 -0
- libsonata-0.2.0/python/pybind11/tests/test_docstring_options.cpp +129 -0
- libsonata-0.2.0/python/pybind11/tests/test_docstring_options.py +72 -0
- libsonata-0.2.0/python/pybind11/tests/test_eigen_matrix.cpp +447 -0
- libsonata-0.2.0/python/pybind11/tests/test_eigen_matrix.py +839 -0
- libsonata-0.2.0/python/pybind11/tests/test_eigen_tensor.cpp +18 -0
- libsonata-0.2.0/python/pybind11/tests/test_eigen_tensor.inl +338 -0
- libsonata-0.2.0/python/pybind11/tests/test_eigen_tensor.py +316 -0
- libsonata-0.2.0/python/pybind11/tests/test_embed/CMakeLists.txt +61 -0
- libsonata-0.2.0/python/pybind11/tests/test_embed/catch.cpp +43 -0
- libsonata-0.2.0/python/pybind11/tests/test_embed/external_module.cpp +24 -0
- libsonata-0.2.0/python/pybind11/tests/test_embed/test_interpreter.cpp +482 -0
- libsonata-0.2.0/python/pybind11/tests/test_embed/test_interpreter.py +16 -0
- libsonata-0.2.0/python/pybind11/tests/test_embed/test_subinterpreter.cpp +442 -0
- libsonata-0.2.0/python/pybind11/tests/test_embed/test_trampoline.py +18 -0
- libsonata-0.2.0/python/pybind11/tests/test_enum.cpp +149 -0
- libsonata-0.2.0/python/pybind11/tests/test_enum.py +344 -0
- libsonata-0.2.0/python/pybind11/tests/test_eval.cpp +118 -0
- libsonata-0.2.0/python/pybind11/tests/test_eval.py +52 -0
- libsonata-0.2.0/python/pybind11/tests/test_eval_call.py +5 -0
- libsonata-0.2.0/python/pybind11/tests/test_exceptions.cpp +427 -0
- libsonata-0.2.0/python/pybind11/tests/test_exceptions.h +13 -0
- libsonata-0.2.0/python/pybind11/tests/test_exceptions.py +439 -0
- libsonata-0.2.0/python/pybind11/tests/test_factory_constructors.cpp +430 -0
- libsonata-0.2.0/python/pybind11/tests/test_factory_constructors.py +531 -0
- libsonata-0.2.0/python/pybind11/tests/test_gil_scoped.cpp +144 -0
- libsonata-0.2.0/python/pybind11/tests/test_gil_scoped.py +285 -0
- libsonata-0.2.0/python/pybind11/tests/test_iostream.cpp +126 -0
- libsonata-0.2.0/python/pybind11/tests/test_iostream.py +297 -0
- libsonata-0.2.0/python/pybind11/tests/test_kwargs_and_defaults.cpp +331 -0
- libsonata-0.2.0/python/pybind11/tests/test_kwargs_and_defaults.py +471 -0
- libsonata-0.2.0/python/pybind11/tests/test_local_bindings.cpp +106 -0
- libsonata-0.2.0/python/pybind11/tests/test_local_bindings.py +257 -0
- libsonata-0.2.0/python/pybind11/tests/test_methods_and_attributes.cpp +492 -0
- libsonata-0.2.0/python/pybind11/tests/test_methods_and_attributes.py +568 -0
- libsonata-0.2.0/python/pybind11/tests/test_modules.cpp +124 -0
- libsonata-0.2.0/python/pybind11/tests/test_modules.py +146 -0
- libsonata-0.2.0/python/pybind11/tests/test_multiple_inheritance.cpp +341 -0
- libsonata-0.2.0/python/pybind11/tests/test_multiple_inheritance.py +500 -0
- libsonata-0.2.0/python/pybind11/tests/test_multiple_interpreters.py +200 -0
- libsonata-0.2.0/python/pybind11/tests/test_native_enum.cpp +258 -0
- libsonata-0.2.0/python/pybind11/tests/test_native_enum.py +322 -0
- libsonata-0.2.0/python/pybind11/tests/test_numpy_array.cpp +598 -0
- libsonata-0.2.0/python/pybind11/tests/test_numpy_array.py +710 -0
- libsonata-0.2.0/python/pybind11/tests/test_numpy_dtypes.cpp +745 -0
- libsonata-0.2.0/python/pybind11/tests/test_numpy_dtypes.py +464 -0
- libsonata-0.2.0/python/pybind11/tests/test_numpy_scalars.cpp +63 -0
- libsonata-0.2.0/python/pybind11/tests/test_numpy_scalars.py +54 -0
- libsonata-0.2.0/python/pybind11/tests/test_numpy_vectorize.cpp +107 -0
- libsonata-0.2.0/python/pybind11/tests/test_numpy_vectorize.py +268 -0
- libsonata-0.2.0/python/pybind11/tests/test_opaque_types.cpp +77 -0
- libsonata-0.2.0/python/pybind11/tests/test_opaque_types.py +64 -0
- libsonata-0.2.0/python/pybind11/tests/test_operator_overloading.cpp +281 -0
- libsonata-0.2.0/python/pybind11/tests/test_operator_overloading.py +161 -0
- libsonata-0.2.0/python/pybind11/tests/test_pickling.cpp +191 -0
- libsonata-0.2.0/python/pybind11/tests/test_pickling.py +149 -0
- libsonata-0.2.0/python/pybind11/tests/test_potentially_slicing_weak_ptr.cpp +168 -0
- libsonata-0.2.0/python/pybind11/tests/test_potentially_slicing_weak_ptr.py +174 -0
- libsonata-0.2.0/python/pybind11/tests/test_python_multiple_inheritance.cpp +45 -0
- libsonata-0.2.0/python/pybind11/tests/test_python_multiple_inheritance.py +36 -0
- libsonata-0.2.0/python/pybind11/tests/test_pytypes.cpp +1213 -0
- libsonata-0.2.0/python/pybind11/tests/test_pytypes.py +1349 -0
- libsonata-0.2.0/python/pybind11/tests/test_scoped_critical_section.cpp +275 -0
- libsonata-0.2.0/python/pybind11/tests/test_scoped_critical_section.py +30 -0
- libsonata-0.2.0/python/pybind11/tests/test_sequences_and_iterators.cpp +600 -0
- libsonata-0.2.0/python/pybind11/tests/test_sequences_and_iterators.py +307 -0
- libsonata-0.2.0/python/pybind11/tests/test_smart_ptr.cpp +587 -0
- libsonata-0.2.0/python/pybind11/tests/test_smart_ptr.py +357 -0
- libsonata-0.2.0/python/pybind11/tests/test_stl.cpp +666 -0
- libsonata-0.2.0/python/pybind11/tests/test_stl.py +735 -0
- libsonata-0.2.0/python/pybind11/tests/test_stl_binders.cpp +275 -0
- libsonata-0.2.0/python/pybind11/tests/test_stl_binders.py +414 -0
- libsonata-0.2.0/python/pybind11/tests/test_tagbased_polymorphic.cpp +148 -0
- libsonata-0.2.0/python/pybind11/tests/test_tagbased_polymorphic.py +30 -0
- libsonata-0.2.0/python/pybind11/tests/test_thread.cpp +72 -0
- libsonata-0.2.0/python/pybind11/tests/test_thread.py +68 -0
- libsonata-0.2.0/python/pybind11/tests/test_type_caster_pyobject_ptr.cpp +168 -0
- libsonata-0.2.0/python/pybind11/tests/test_type_caster_pyobject_ptr.py +124 -0
- libsonata-0.2.0/python/pybind11/tests/test_type_caster_std_function_specializations.cpp +46 -0
- libsonata-0.2.0/python/pybind11/tests/test_type_caster_std_function_specializations.py +15 -0
- libsonata-0.2.0/python/pybind11/tests/test_union.cpp +22 -0
- libsonata-0.2.0/python/pybind11/tests/test_union.py +10 -0
- libsonata-0.2.0/python/pybind11/tests/test_unnamed_namespace_a.cpp +37 -0
- libsonata-0.2.0/python/pybind11/tests/test_unnamed_namespace_a.py +30 -0
- libsonata-0.2.0/python/pybind11/tests/test_unnamed_namespace_b.cpp +13 -0
- libsonata-0.2.0/python/pybind11/tests/test_unnamed_namespace_b.py +7 -0
- libsonata-0.2.0/python/pybind11/tests/test_vector_unique_ptr_member.cpp +54 -0
- libsonata-0.2.0/python/pybind11/tests/test_vector_unique_ptr_member.py +16 -0
- libsonata-0.2.0/python/pybind11/tests/test_virtual_functions.cpp +592 -0
- libsonata-0.2.0/python/pybind11/tests/test_virtual_functions.py +468 -0
- libsonata-0.2.0/python/pybind11/tests/test_warnings.cpp +46 -0
- libsonata-0.2.0/python/pybind11/tests/test_warnings.py +68 -0
- libsonata-0.2.0/python/pybind11/tests/valgrind-numpy-scipy.supp +140 -0
- libsonata-0.2.0/python/pybind11/tests/valgrind-python.supp +117 -0
- libsonata-0.2.0/python/pybind11/tools/check-style.sh +44 -0
- libsonata-0.2.0/python/pybind11/tools/cmake_uninstall.cmake.in +23 -0
- libsonata-0.2.0/python/pybind11/tools/codespell_ignore_lines_from_errors.py +40 -0
- libsonata-0.2.0/python/pybind11/tools/libsize.py +38 -0
- libsonata-0.2.0/python/pybind11/tools/make_changelog.py +121 -0
- libsonata-0.2.0/python/pybind11/tools/make_global.py +33 -0
- libsonata-0.2.0/python/pybind11/tools/pybind11.pc.in +7 -0
- libsonata-0.2.0/python/pybind11/tools/pybind11Config.cmake.in +240 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_config.py +34 -29
- libsonata-0.2.0/python/tests/test_electrode_reader.py +150 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_nodesets.py +18 -1
- {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_population.py +13 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/compartment_sets.cpp +4 -12
- {libsonata-0.1.37 → libsonata-0.2.0}/src/config.cpp +35 -36
- libsonata-0.2.0/src/electrode_reader.cpp +428 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/node_sets.cpp +47 -12
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/CMakeLists.txt +2 -1
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/config/circuit_config.json +1 -0
- libsonata-0.2.0/tests/data/electrodes/electrode_bad_position.h5 +0 -0
- libsonata-0.2.0/tests/data/electrodes/electrode_weights.h5 +0 -0
- libsonata-0.2.0/tests/data/electrodes/generate.py +153 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/node_sets.json +5 -1
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_config.cpp +4 -4
- libsonata-0.2.0/tests/test_electrode_reader.cpp +216 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_node_sets.cpp +6 -2
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_selection.cpp +64 -0
- libsonata-0.1.37/CHANGELOG.md +0 -207
- libsonata-0.1.37/PKG-INFO +0 -460
- libsonata-0.1.37/include/bbp/sonata/selection.h +0 -91
- libsonata-0.1.37/pyproject.toml +0 -16
- libsonata-0.1.37/python/libsonata.egg-info/SOURCES.txt +0 -282
- libsonata-0.1.37/python/libsonata.egg-info/dependency_links.txt +0 -1
- libsonata-0.1.37/python/libsonata.egg-info/not-zip-safe +0 -1
- libsonata-0.1.37/python/libsonata.egg-info/requires.txt +0 -4
- libsonata-0.1.37/python/libsonata.egg-info/top_level.txt +0 -1
- libsonata-0.1.37/setup.cfg +0 -4
- libsonata-0.1.37/setup.py +0 -127
- {libsonata-0.1.37 → libsonata-0.2.0}/.clang-format +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/clang_format_check.yaml +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/coverage_test.yaml +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/docstring_check.yaml +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/run-tests.yml +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/.gitignore +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/.gitlab-ci.yml +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/.gitmodules +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/.gitreview +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/.readthedocs.yaml +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/AUTHORS.txt +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/CMake/CodeCoverage.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/CMake/sonata-config.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/COPYING +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/COPYING.LESSER +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/MANIFEST.in +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/README.rst +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/ci/README.md +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/ci/check_clang_format.sh +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/ci/check_generated_docstrings.sh +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/ci/hdf5-build.sh +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/ci/python_build_sdist.sh +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/ci/python_test.sh +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/Makefile +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/Doxyfile +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/DoxygenLayout.xml +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/_images/libSonataLogo.jpg +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/_templates/doxygen_page.rst_t +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/api.rst +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/cpp.rst +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/doxygen/.gitignore +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/footer.html +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/header.html +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/CMakeLists.txt +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/CMakeLists.txt +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/LICENSE +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Attribute.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5DataSet.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5DataSpace.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5DataType.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Easy.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Exception.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5File.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Group.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Object.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5PropertyList.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Reference.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Selection.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Utility.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Version.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Version.hpp.in +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Annotate_traits.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Annotate_traits_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Attribute_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Converter_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5DataSet_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5DataType_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Dataspace_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Exception_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5File_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Friends.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Inspector_decl.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Inspector_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Iterables_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Node_traits.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Node_traits_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Object_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Path_traits.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Path_traits_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5PropertyList_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5ReadWrite_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Reference_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Selection_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Slice_traits.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Slice_traits_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Utils.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5_definitions.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/assert_compatible_spaces.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/compute_total_size.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/convert_size_vector.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5a_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5d_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5e_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5f_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5g_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5i_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5l_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5o_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5p_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5r_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5s_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5t_wrapper.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/inspector_stl_span_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/squeeze.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/string_padding.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/xtensor_header_version.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/boost.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/boost_multi_array.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/boost_span.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/boost_ublas.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/eigen.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/experimental/opencv.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/H5Easy_Eigen.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/H5Easy_misc.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/H5Easy_public.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/H5Easy_scalar.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/default_io_impl.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/half_float.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/highfive.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/span.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/xtensor.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/README.txt +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/filesystem.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/CMakeLists.txt +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/ChangeLog.md +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/LICENSE +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/README.md +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/args.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/base.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/chrono.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/color.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/compile.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/core.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/format-inl.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/format.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/os.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/ostream.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/printf.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/ranges.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/std.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/xchar.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/src/fmt.cc +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/src/format.cc +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/src/os.cc +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/support/cmake/FindSetEnv.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/support/cmake/JoinPaths.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/support/cmake/fmt-config.cmake.in +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/support/cmake/fmt.pc.in +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/common.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/compartment_sets.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/config.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/edges.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/hdf5_reader.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/nodes.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/optional.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/population.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/report_reader.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/variant.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/generated/.clang-format +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/CMakeLists.txt +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/LICENSE +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/attr.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/buffer_info.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/cast.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/chrono.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/common.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/complex.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/conduit/README.txt +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/conduit/pybind11_conduit_v1.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/conduit/pybind11_platform_abi_id.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/conduit/wrap_include_python_h.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/critical_section.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/class.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/common.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/cpp_conduit.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/descr.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/dynamic_raw_ptr_cast_if_possible.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/exception_translation.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/function_record_pyobject.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/init.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/internals.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/native_enum_data.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/pybind11_namespace_macros.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/struct_smart_holder.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/type_caster_base.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/typeid.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/using_smart_holder.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/value_and_holder.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eigen/common.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eigen/matrix.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eigen/tensor.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eigen.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/embed.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eval.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/functional.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/gil.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/gil_safe_call_once.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/gil_simple.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/iostream.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/native_enum.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/numpy.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/operators.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/options.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/pybind11.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/pytypes.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/stl/filesystem.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/stl.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/stl_bind.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/subinterpreter.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/trampoline_self_life_support.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/type_caster_pyobject_ptr.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/typing.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/warnings.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/FindCatch.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/FindEigen3.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/FindPythonLibsNew.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/JoinPaths.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/pybind11Common.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/pybind11GuessPythonExtSuffix.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/pybind11NewTools.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/pybind11Tools.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/test-pybind11GuessPythonExtSuffix.cmake +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/__init__.py +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_compartment_sets.py +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_reports.py +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/common.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/edge_index.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/edge_index.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/edges.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/hdf5_mutex.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/hdf5_mutex.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/hdf5_reader.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/hdf5_reader.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/nodes.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/population.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/population.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/read_bulk.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/read_canonical_selection.hpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/report_reader.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/selection.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/utils.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/utils.h +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/src/version.cpp.in +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/compartment_sets.json +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/config/simulation_config.json +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/edges-no-index.h5 +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/edges1.h5 +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/elements.h5 +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/generate.py +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/nodes1.h5 +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/somas.h5 +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/spikes.h5 +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/main.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_compartment_sets.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_edges.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_nodes.cpp +0 -0
- {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_report_reader.cpp +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# NOTE: This workflow uses tag-push to trigger PyPI publishing, unlike the
|
|
2
|
+
# cookiecutter-python-lib template which uses `release: published`.
|
|
3
|
+
# This divergence is intentional per MikeG's decision:
|
|
4
|
+
# https://github.com/openbraininstitute/libsonata/pull/52
|
|
1
5
|
name: Publish sdist and wheels for macos, and manylinux, publish to pypi if a release
|
|
2
6
|
on: [pull_request, push]
|
|
3
7
|
|
|
@@ -47,7 +51,7 @@ jobs:
|
|
|
47
51
|
- name: Build wheels on Linux
|
|
48
52
|
if: runner.os == 'Linux'
|
|
49
53
|
env:
|
|
50
|
-
CIBW_ENVIRONMENT_PASS: "
|
|
54
|
+
CIBW_ENVIRONMENT_PASS: "CMAKE_ARGS CMAKE_PREFIX_PATH"
|
|
51
55
|
CIBW_BEFORE_BUILD: |
|
|
52
56
|
# CMake complains if the dependencies come from within the same tree
|
|
53
57
|
# as the source, so we'll just pretend they are elsewhere
|
|
@@ -56,8 +60,7 @@ jobs:
|
|
|
56
60
|
bash ci/hdf5-build.sh /opt/hdf5-static
|
|
57
61
|
|
|
58
62
|
run: |
|
|
59
|
-
|
|
60
|
-
export STATIC_HDF5=True
|
|
63
|
+
export CMAKE_ARGS="-DHDF5_USE_STATIC_LIBRARIES=True"
|
|
61
64
|
export CMAKE_PREFIX_PATH=/opt/hdf5-static/install-${{ runner.arch }}/install/
|
|
62
65
|
|
|
63
66
|
if [ "${{ runner.arch }}" = "X64" ]; then
|
|
@@ -70,7 +73,7 @@ jobs:
|
|
|
70
73
|
if: runner.os == 'macOS'
|
|
71
74
|
|
|
72
75
|
env:
|
|
73
|
-
CIBW_ENVIRONMENT_PASS: "
|
|
76
|
+
CIBW_ENVIRONMENT_PASS: "CMAKE_ARGS CMAKE_PREFIX_PATH"
|
|
74
77
|
CIBW_BEFORE_BUILD: |
|
|
75
78
|
# CMake complains if the dependencies come from within the same tree
|
|
76
79
|
# as the source, so we'll just pretend they are elsewhere
|
|
@@ -78,9 +81,7 @@ jobs:
|
|
|
78
81
|
ln -s $PWD/src-cache /Users/runner/work/src-cache
|
|
79
82
|
bash ci/hdf5-build.sh /Users/runner/work/src-cache
|
|
80
83
|
run: |
|
|
81
|
-
|
|
82
|
-
export STATIC_HDF5=True
|
|
83
|
-
|
|
84
|
+
export CMAKE_ARGS="-DHDF5_USE_STATIC_LIBRARIES=True"
|
|
84
85
|
export CMAKE_PREFIX_PATH=/Users/runner/work/src-cache/install-`uname -m`/install
|
|
85
86
|
python -m cibuildwheel --output-dir dist
|
|
86
87
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
cmake_minimum_required(VERSION 3.16)
|
|
2
2
|
cmake_policy(VERSION 3.16)
|
|
3
3
|
|
|
4
|
+
if(DEFINED SKBUILD_PROJECT_VERSION)
|
|
5
|
+
set(SONATA_VERSION "${SKBUILD_PROJECT_VERSION}")
|
|
6
|
+
endif()
|
|
7
|
+
|
|
4
8
|
if(NOT SONATA_VERSION)
|
|
5
9
|
execute_process(COMMAND git describe --tags
|
|
6
10
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
@@ -15,12 +19,12 @@ if(NOT SONATA_VERSION)
|
|
|
15
19
|
${GIT_VERSION_ERROR})
|
|
16
20
|
endif()
|
|
17
21
|
|
|
18
|
-
# keep last line of command output
|
|
22
|
+
# keep last line of command output
|
|
19
23
|
string(REPLACE "\n"
|
|
20
24
|
";"
|
|
21
25
|
GIT_PKG_VERSION_FULL
|
|
22
26
|
"${GIT_PKG_VERSION_FULL}")
|
|
23
|
-
|
|
27
|
+
list(GET GIT_PKG_VERSION_FULL -1 SONATA_VERSION)
|
|
24
28
|
endif()
|
|
25
29
|
|
|
26
30
|
# keep MAJOR.MINOR.PATCH (PATCH being optional)
|
|
@@ -36,6 +40,7 @@ set(SONATA_VERSION_ABI ${CMAKE_MATCH_1})
|
|
|
36
40
|
|
|
37
41
|
project(sonata VERSION ${SONATA_VERSION})
|
|
38
42
|
|
|
43
|
+
option(BUILD_SHARED_LIBS "Build shared library" ON)
|
|
39
44
|
option(EXTLIB_FROM_SUBMODULES "Use Git submodules for header-only dependencies" OFF)
|
|
40
45
|
option(SONATA_PYTHON "Build Python extensions" OFF)
|
|
41
46
|
option(SONATA_TESTS "Build tests" ON)
|
|
@@ -54,13 +59,7 @@ option(SONATA_CXX_WARNINGS "Compile C++ with warnings as errors, for glibcxx tur
|
|
|
54
59
|
|
|
55
60
|
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMake)
|
|
56
61
|
|
|
57
|
-
set(
|
|
58
|
-
if(NOT "${CMAKE_CXX_STANDARD}")
|
|
59
|
-
set(CMAKE_CXX_STANDARD ${SONATA_CXX_MINIMUM_STANDARD})
|
|
60
|
-
elseif("${CMAKE_CXX_STANDARD}" LESS SONATA_CXX_MINIMUM_STANDARD)
|
|
61
|
-
message(FATAL_ERROR
|
|
62
|
-
"SONATA requires at 'CMAKE_CXX_STANDARD=${SONATA_CXX_MINIMUM_STANDARD}' or newer.")
|
|
63
|
-
endif()
|
|
62
|
+
set(CMAKE_CXX_STANDARD 14)
|
|
64
63
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
65
64
|
|
|
66
65
|
set(SONATA_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include)
|
|
@@ -92,6 +91,7 @@ set(SONATA_SRC
|
|
|
92
91
|
src/config.cpp
|
|
93
92
|
src/edge_index.cpp
|
|
94
93
|
src/edges.cpp
|
|
94
|
+
src/electrode_reader.cpp
|
|
95
95
|
src/hdf5_mutex.cpp
|
|
96
96
|
src/hdf5_reader.cpp
|
|
97
97
|
src/node_sets.cpp
|
|
@@ -108,66 +108,53 @@ configure_file (
|
|
|
108
108
|
${CMAKE_CURRENT_BINARY_DIR}/src/version.cpp
|
|
109
109
|
)
|
|
110
110
|
|
|
111
|
-
add_library(
|
|
112
|
-
|
|
111
|
+
add_library(sonata ${SONATA_SRC})
|
|
112
|
+
set_target_properties(sonata PROPERTIES
|
|
113
|
+
POSITION_INDEPENDENT_CODE ON
|
|
114
|
+
CXX_VISIBILITY_PRESET hidden
|
|
115
|
+
)
|
|
116
|
+
target_include_directories(sonata
|
|
117
|
+
PUBLIC $<BUILD_INTERFACE:${SONATA_INCLUDE_DIR}>
|
|
118
|
+
$<INSTALL_INTERFACE:include>
|
|
119
|
+
)
|
|
120
|
+
target_compile_options(sonata PRIVATE ${SONATA_COMPILE_OPTIONS})
|
|
113
121
|
|
|
114
|
-
|
|
115
|
-
set_target_properties(
|
|
122
|
+
if(BUILD_SHARED_LIBS)
|
|
123
|
+
set_target_properties(sonata
|
|
116
124
|
PROPERTIES
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
OUTPUT_NAME "sonata"
|
|
120
|
-
)
|
|
121
|
-
target_include_directories(${TARGET}
|
|
122
|
-
PUBLIC
|
|
123
|
-
$<BUILD_INTERFACE:${SONATA_INCLUDE_DIR}>
|
|
124
|
-
$<INSTALL_INTERFACE:include>
|
|
125
|
-
)
|
|
126
|
-
target_compile_options(${TARGET}
|
|
127
|
-
PRIVATE ${SONATA_COMPILE_OPTIONS}
|
|
128
|
-
)
|
|
129
|
-
|
|
130
|
-
if (ENABLE_COVERAGE)
|
|
131
|
-
target_compile_options(${TARGET}
|
|
132
|
-
PRIVATE -g -O0 --coverage -fprofile-arcs -ftest-coverage
|
|
125
|
+
VERSION ${SONATA_VERSION}
|
|
126
|
+
SOVERSION ${SONATA_VERSION_ABI}
|
|
133
127
|
)
|
|
134
|
-
|
|
135
|
-
|
|
128
|
+
target_compile_definitions(sonata
|
|
129
|
+
PUBLIC SONATA_DLL
|
|
130
|
+
PRIVATE SONATA_DLL_EXPORTS)
|
|
131
|
+
target_link_libraries(sonata
|
|
132
|
+
PRIVATE
|
|
133
|
+
HighFive
|
|
134
|
+
fmt::fmt-header-only
|
|
135
|
+
nlohmann_json::nlohmann_json
|
|
136
136
|
)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
else()
|
|
138
|
+
target_compile_definitions(sonata PRIVATE FMT_HEADER_ONLY=1)
|
|
139
|
+
target_include_directories(sonata PRIVATE
|
|
140
|
+
$<TARGET_PROPERTY:fmt::fmt-header-only,INTERFACE_INCLUDE_DIRECTORIES>
|
|
141
|
+
$<TARGET_PROPERTY:HighFive,INTERFACE_INCLUDE_DIRECTORIES>
|
|
142
|
+
$<TARGET_PROPERTY:nlohmann_json::nlohmann_json,INTERFACE_INCLUDE_DIRECTORIES>
|
|
143
|
+
)
|
|
144
|
+
endif()
|
|
141
145
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
)
|
|
147
|
-
target_compile_definitions(sonata_shared
|
|
148
|
-
PUBLIC SONATA_DLL
|
|
149
|
-
PRIVATE SONATA_DLL_EXPORTS
|
|
150
|
-
)
|
|
151
|
-
target_link_libraries(sonata_shared
|
|
152
|
-
PRIVATE HighFive
|
|
153
|
-
PRIVATE fmt::fmt-header-only
|
|
154
|
-
PRIVATE nlohmann_json::nlohmann_json
|
|
155
|
-
)
|
|
146
|
+
if(ENABLE_COVERAGE)
|
|
147
|
+
target_compile_options(sonata PRIVATE -g -O0 --coverage -fprofile-arcs -ftest-coverage)
|
|
148
|
+
target_link_libraries(sonata PRIVATE gcov)
|
|
149
|
+
endif()
|
|
156
150
|
|
|
157
|
-
|
|
158
|
-
PRIVATE FMT_HEADER_ONLY=1
|
|
159
|
-
)
|
|
160
|
-
target_include_directories(sonata_static
|
|
161
|
-
PRIVATE $<TARGET_PROPERTY:fmt::fmt-header-only,INTERFACE_INCLUDE_DIRECTORIES>
|
|
162
|
-
PRIVATE $<TARGET_PROPERTY:HighFive,INTERFACE_INCLUDE_DIRECTORIES>
|
|
163
|
-
PRIVATE $<TARGET_PROPERTY:nlohmann_json::nlohmann_json,INTERFACE_INCLUDE_DIRECTORIES>
|
|
164
|
-
)
|
|
151
|
+
add_library(sonata::sonata ALIAS sonata)
|
|
165
152
|
|
|
166
153
|
# =============================================================================
|
|
167
154
|
# Install
|
|
168
155
|
# =============================================================================
|
|
169
156
|
|
|
170
|
-
install(TARGETS
|
|
157
|
+
install(TARGETS sonata
|
|
171
158
|
EXPORT sonata-targets
|
|
172
159
|
LIBRARY
|
|
173
160
|
DESTINATION lib
|
|
@@ -1,28 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: libsonata
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: SONATA files reader
|
|
5
|
-
Home-page: https://github.com/openbraininstitute/libsonata
|
|
6
5
|
Author: Blue Brain Project, EPFL
|
|
7
|
-
License: LGPL-3.0-or-later
|
|
6
|
+
License-Expression: LGPL-3.0-or-later
|
|
7
|
+
Project-URL: Homepage, https://github.com/openbraininstitute/libsonata
|
|
8
8
|
Requires-Python: >=3.9
|
|
9
|
-
Description-Content-Type: text/x-rst
|
|
10
|
-
License-File: COPYING
|
|
11
|
-
License-File: COPYING.LESSER
|
|
12
|
-
License-File: AUTHORS.txt
|
|
13
9
|
Requires-Dist: numpy>=1.17.3
|
|
14
10
|
Provides-Extra: docs
|
|
15
11
|
Requires-Dist: sphinx-bluebrain-theme; extra == "docs"
|
|
16
|
-
|
|
17
|
-
Dynamic: description
|
|
18
|
-
Dynamic: description-content-type
|
|
19
|
-
Dynamic: home-page
|
|
20
|
-
Dynamic: license
|
|
21
|
-
Dynamic: license-file
|
|
22
|
-
Dynamic: provides-extra
|
|
23
|
-
Dynamic: requires-dist
|
|
24
|
-
Dynamic: requires-python
|
|
25
|
-
Dynamic: summary
|
|
12
|
+
Description-Content-Type: text/x-rst
|
|
26
13
|
|
|
27
14
|
|banner|
|
|
28
15
|
|
|
@@ -16,11 +16,21 @@ rm -rf "$BUILD_DIR"
|
|
|
16
16
|
mkdir -p "$BUILD_DIR"
|
|
17
17
|
pushd "$BUILD_DIR"
|
|
18
18
|
|
|
19
|
+
if command -v sccache; then
|
|
20
|
+
CMAKE_ARGS+=(
|
|
21
|
+
-DCMAKE_C_COMPILER_LAUNCHER=sccache
|
|
22
|
+
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
|
|
23
|
+
)
|
|
24
|
+
fi
|
|
25
|
+
|
|
19
26
|
cmake \
|
|
20
27
|
-DCMAKE_BUILD_TYPE=Debug \
|
|
21
28
|
-DEXTLIB_FROM_SUBMODULES=ON \
|
|
22
29
|
-G "${CMAKE_GENERATOR:-Unix Makefiles}" \
|
|
30
|
+
"${CMAKE_ARGS[@]}" \
|
|
23
31
|
${EXTRA_OPTIONS} \
|
|
24
32
|
../..
|
|
25
33
|
|
|
26
34
|
cmake --build . -j --target coverage
|
|
35
|
+
|
|
36
|
+
echo "Read the coverage at: file://$PWD/build/build-coverage/coverage/index.html"
|
|
@@ -13,19 +13,14 @@ if ! git describe --tags > /dev/null 2>&1; then
|
|
|
13
13
|
echo "Likely shallow git clone, faking SONATA_VERSION -> $SONATA_VERSION"
|
|
14
14
|
fi
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
rm -rf "$BUILD_DIR"
|
|
18
|
-
mkdir -p "$BUILD_DIR"
|
|
19
|
-
pushd "$BUILD_DIR"
|
|
20
|
-
|
|
21
|
-
cmake $SONATA_VERSION \
|
|
22
|
-
-DCMAKE_BUILD_TYPE=Release \
|
|
23
|
-
-DEXTLIB_FROM_SUBMODULES=ON \
|
|
24
|
-
-DSONATA_CXX_WARNINGS=ON \
|
|
25
|
-
../..
|
|
16
|
+
CMAKE_ARGS=
|
|
26
17
|
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
if command -v sccache; then
|
|
19
|
+
CMAKE_ARGS+=(
|
|
20
|
+
-DCMAKE_C_COMPILER_LAUNCHER=sccache
|
|
21
|
+
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
|
|
22
|
+
)
|
|
23
|
+
fi
|
|
29
24
|
|
|
30
25
|
# cmake --build && ctest
|
|
31
26
|
rm -rf "$BUILD_DIR"
|
|
@@ -34,6 +29,7 @@ cmake $SONATA_VERSION \
|
|
|
34
29
|
-DCMAKE_BUILD_TYPE=Release \
|
|
35
30
|
-DEXTLIB_FROM_SUBMODULES=ON \
|
|
36
31
|
-DSONATA_CXX_WARNINGS=ON \
|
|
32
|
+
"${CMAKE_ARGS[@]}" \
|
|
37
33
|
-B "${BUILD_DIR}"
|
|
38
34
|
|
|
39
35
|
cmake --build "${BUILD_DIR}" --parallel
|
|
@@ -47,6 +43,7 @@ cmake $SONATA_VERSION \
|
|
|
47
43
|
-DEXTLIB_FROM_SUBMODULES=ON \
|
|
48
44
|
-DSONATA_CXX_WARNINGS=ON \
|
|
49
45
|
-DCMAKE_INSTALL_PREFIX=install \
|
|
46
|
+
"${CMAKE_ARGS[@]}" \
|
|
50
47
|
-B "${BUILD_DIR}"
|
|
51
48
|
|
|
52
49
|
cmake --build "${BUILD_DIR}" --parallel --target install
|
|
@@ -62,6 +62,8 @@ html_theme_options = {
|
|
|
62
62
|
|
|
63
63
|
autodoc_default_options = {"members": True, "imported-members": True}
|
|
64
64
|
autodoc_docstring_signature = True
|
|
65
|
+
# work around changes to `sphinx` 9 that are incompatible with `sphinx-bluebrain-theme`
|
|
66
|
+
autodoc_use_legacy_class_based = True
|
|
65
67
|
|
|
66
68
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
67
69
|
# relative to this directory. They are copied after the builtin static files,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Developer Tips
|
|
2
|
+
==============
|
|
3
|
+
|
|
4
|
+
libsonata is a standard CMake project, so building it looks something like:
|
|
5
|
+
|
|
6
|
+
.. code-block:: bash
|
|
7
|
+
|
|
8
|
+
$ mkdir build && cd build
|
|
9
|
+
$ cmake .. \
|
|
10
|
+
-GNinja \
|
|
11
|
+
-DEXTLIB_FROM_SUBMODULES=ON \
|
|
12
|
+
-DSONATA_PYTHON=ON \
|
|
13
|
+
-DSONATA_CXX_WARNINGS=ON \
|
|
14
|
+
-DCMAKE_BUILD_TYPE=Debug
|
|
15
|
+
|
|
16
|
+
For faster iteration when working on python bindings, one can use:
|
|
17
|
+
|
|
18
|
+
.. code-block:: bash
|
|
19
|
+
|
|
20
|
+
$ pip install --no-build-isolation -Ceditable.rebuild=true -Cbuild-dir=build -ve ~/src/libsonata
|
|
21
|
+
|
|
22
|
+
This will rebuild only the files that have changed.
|
|
23
|
+
See `scikit-build-core Editable installs <https://scikit-build-core.readthedocs.io/en/latest/configuration/editable.html>`_.
|
|
24
|
+
This assumes that the build dependencies are already installed in the python environment.
|
|
25
|
+
Currently, `setuptools_scm` and `scikit-build-core` are required.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
---
|
|
2
|
+
AccessModifierOffset: -2
|
|
3
|
+
AlignAfterOpenBracket: Align
|
|
4
|
+
AlignConsecutiveAssignments: false
|
|
5
|
+
AlignConsecutiveDeclarations: false
|
|
6
|
+
AlignConsecutiveMacros: true
|
|
7
|
+
AlignEscapedNewlinesLeft: true
|
|
8
|
+
AlignOperands: true
|
|
9
|
+
AlignTrailingComments: true
|
|
10
|
+
AllowAllParametersOfDeclarationOnNextLine: false
|
|
11
|
+
AllowShortBlocksOnASingleLine: false
|
|
12
|
+
AllowShortCaseLabelsOnASingleLine: false
|
|
13
|
+
AllowShortFunctionsOnASingleLine: Empty
|
|
14
|
+
AllowShortIfStatementsOnASingleLine: false
|
|
15
|
+
AllowShortLoopsOnASingleLine: false
|
|
16
|
+
AlwaysBreakBeforeMultilineStrings: true
|
|
17
|
+
AlwaysBreakTemplateDeclarations: true
|
|
18
|
+
BasedOnStyle: WebKit
|
|
19
|
+
BinPackArguments: false
|
|
20
|
+
BinPackParameters: false
|
|
21
|
+
BraceWrapping:
|
|
22
|
+
AfterClass: false
|
|
23
|
+
AfterControlStatement: false
|
|
24
|
+
AfterEnum: false
|
|
25
|
+
AfterExternBlock: false
|
|
26
|
+
AfterFunction: false
|
|
27
|
+
AfterNamespace: false
|
|
28
|
+
AfterStruct: false
|
|
29
|
+
AfterUnion: false
|
|
30
|
+
BeforeCatch: false
|
|
31
|
+
BeforeElse: false
|
|
32
|
+
BreakBeforeBraces: Custom
|
|
33
|
+
BreakBeforeBinaryOperators: false
|
|
34
|
+
BreakBeforeTernaryOperators: true
|
|
35
|
+
BreakConstructorInitializersBeforeComma: true
|
|
36
|
+
BreakStringLiterals: true
|
|
37
|
+
ColumnLimit: 100
|
|
38
|
+
CommentPragmas: '^\\.+'
|
|
39
|
+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
40
|
+
ConstructorInitializerIndentWidth: 4
|
|
41
|
+
ContinuationIndentWidth: 4
|
|
42
|
+
Cpp11BracedListStyle: true
|
|
43
|
+
DerivePointerAlignment: false
|
|
44
|
+
DerivePointerBinding: true
|
|
45
|
+
ExperimentalAutoDetectBinPacking: false
|
|
46
|
+
FixNamespaceComments: true
|
|
47
|
+
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
|
48
|
+
IncludeCategories:
|
|
49
|
+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
50
|
+
Priority: 2
|
|
51
|
+
- Regex: '^(<|"(gtest|isl|json)/)'
|
|
52
|
+
Priority: 3
|
|
53
|
+
- Regex: '.*'
|
|
54
|
+
Priority: 1
|
|
55
|
+
IncludeIsMainRegex: '$'
|
|
56
|
+
IndentCaseLabels: false
|
|
57
|
+
IndentWidth: 4
|
|
58
|
+
IndentWrappedFunctionNames: false
|
|
59
|
+
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
60
|
+
Language: Cpp
|
|
61
|
+
MaxEmptyLinesToKeep: 2
|
|
62
|
+
NamespaceIndentation: None
|
|
63
|
+
PenaltyBreakAssignment: 40
|
|
64
|
+
PenaltyBreakBeforeFirstCallParameter: 100
|
|
65
|
+
PenaltyBreakComment: 60
|
|
66
|
+
PenaltyBreakFirstLessLess: 120
|
|
67
|
+
PenaltyBreakString: 1000
|
|
68
|
+
PenaltyExcessCharacter: 1000000
|
|
69
|
+
PenaltyReturnTypeOnItsOwnLine: 200
|
|
70
|
+
PointerAlignment: Left
|
|
71
|
+
PointerBindsToType: true
|
|
72
|
+
ReflowComments: true
|
|
73
|
+
SortIncludes: false
|
|
74
|
+
SpaceAfterCStyleCast: true
|
|
75
|
+
SpaceAfterTemplateKeyword: true
|
|
76
|
+
SpaceBeforeAssignmentOperators: true
|
|
77
|
+
SpaceBeforeCpp11BracedList: false
|
|
78
|
+
SpaceBeforeCtorInitializerColon: false
|
|
79
|
+
SpaceBeforeInheritanceColon: false
|
|
80
|
+
SpaceBeforeParens: ControlStatements
|
|
81
|
+
SpaceBeforeRangeBasedForLoopColon: false
|
|
82
|
+
SpaceInEmptyBlock: false
|
|
83
|
+
SpaceInEmptyParentheses: false
|
|
84
|
+
SpacesBeforeTrailingComments: 2
|
|
85
|
+
SpacesInAngles: false # '< ' style
|
|
86
|
+
SpacesInContainerLiterals: false
|
|
87
|
+
SpacesInCStyleCastParentheses: false
|
|
88
|
+
SpacesInParentheses: false # '(' style
|
|
89
|
+
SpacesInSquareBrackets: false
|
|
90
|
+
Standard: c++14
|
|
91
|
+
TabWidth: 4
|
|
92
|
+
UseTab: Never
|
|
93
|
+
...
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Describe the bug**
|
|
11
|
+
Please give a clear and concise description of the bug. For us to be able to
|
|
12
|
+
fix the bug we need to be able to reproduce it. As a result, if you provide a
|
|
13
|
+
reproducer, i.e. code that exhibits the bug (incl. build instructions) but is
|
|
14
|
+
stripped of all unessential complexity, the chance of getting the issue fixed
|
|
15
|
+
is much higher.
|
|
16
|
+
|
|
17
|
+
**Version Information**
|
|
18
|
+
- HighFive:
|
|
19
|
+
- Compiler:
|
|
20
|
+
- [optional] OS:
|
|
21
|
+
- [optional] CMake:
|
|
22
|
+
- [optional] HDF5:
|
|
23
|
+
|
|
24
|
+
**Style Guide**
|
|
25
|
+
1. Please paste text as text and not as a screen shot.
|
|
26
|
+
2. If in doubt paste too much output rather than too little, i.e. don't be too
|
|
27
|
+
scared of a large wall of text. Especially, if it's a compiler error.
|
|
28
|
+
(Anything past the first error is largely uninformative and can be safely
|
|
29
|
+
stripped.)
|
|
30
|
+
3. Please strip all boilerplate.
|
|
31
|
+
|
|
32
|
+
**Markdown summary**
|
|
33
|
+
Some include `code` and a block:
|
|
34
|
+
```
|
|
35
|
+
void foo();
|
|
36
|
+
```
|
|
37
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Build failure
|
|
3
|
+
about: Report an issue with the build-system.
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Bug Description**
|
|
11
|
+
Unfortunately, build failures tend to be highly specific and there's many
|
|
12
|
+
things that could go wrong on both our and your side. Therefore, a reproducer
|
|
13
|
+
is essential. You could try the minimal setup found here:
|
|
14
|
+
https://github.com/BlueBrain/HighFive/blob/master/doc/installation.md#manually-install-highfive
|
|
15
|
+
|
|
16
|
+
from there you can work upwards by adding complexity until you reproduce the
|
|
17
|
+
issue.
|
|
18
|
+
|
|
19
|
+
Once you have a reproducer, please paste it and the exact `cmake` command used to
|
|
20
|
+
configure the build and include the output. For the compilation phase please
|
|
21
|
+
ensure that the actual compiler invocation is visible, e.g.,
|
|
22
|
+
```
|
|
23
|
+
$ cmake --build build --verbose
|
|
24
|
+
[ 50%] Building CXX object CMakeFiles/dummy.dir/dummy.cpp.o
|
|
25
|
+
/usr/bin/c++ ... -isystem ${HIGHFIVE_ROOT}/include -isystem ${HDF5_ROOT}/include ... -c dummy.cpp
|
|
26
|
+
```
|
|
27
|
+
and include at least the first error message. (If in doubt include more rather
|
|
28
|
+
than less output.)
|
|
29
|
+
|
|
30
|
+
**Version Information**
|
|
31
|
+
- HighFive:
|
|
32
|
+
- Compiler:
|
|
33
|
+
- OS:
|
|
34
|
+
- CMake:
|
|
35
|
+
- HDF5:
|
|
36
|
+
|
|
37
|
+
**Style Guide**
|
|
38
|
+
1. Please paste text as text and not as a screen shot.
|
|
39
|
+
2. If in doubt paste too much output rather than too little, i.e. don't be too
|
|
40
|
+
scared of a large wall of text. Especially, if it's a compiler error.
|
|
41
|
+
(Anything past the first error is largely uninformative and can be safely
|
|
42
|
+
stripped.)
|
|
43
|
+
3. Please strip all boilerplate.
|
|
44
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Build env
|
|
2
|
+
|
|
3
|
+
[ "$CC" ] && $CC --version
|
|
4
|
+
cmake --version
|
|
5
|
+
set -x
|
|
6
|
+
export HIGHFIVE_BUILD=$GITHUB_WORKSPACE/build
|
|
7
|
+
cmake -B $HIGHFIVE_BUILD -S $GITHUB_WORKSPACE \
|
|
8
|
+
-DHIGHFIVE_HAS_WERROR=On \
|
|
9
|
+
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
|
|
10
|
+
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \
|
|
11
|
+
"${CMAKE_OPTIONS[@]}"
|
|
12
|
+
cmake --build $HIGHFIVE_BUILD --config $BUILD_TYPE --parallel 2 --verbose
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# Usage:
|
|
4
|
+
# $0 PACKAGE_NAME VERSION
|
|
5
|
+
#
|
|
6
|
+
# Before calling this script, run the commands to update the dependency. If
|
|
7
|
+
# there dependency shouldn't update then the script must not modify the repo.
|
|
8
|
+
#
|
|
9
|
+
# When the repo is in the updated state, run this script. It will commit
|
|
10
|
+
# everything and create a PR.
|
|
11
|
+
#
|
|
12
|
+
# The PR title is `Update ${PACKAGE_NAME} to ${VERSION}` the script checks for
|
|
13
|
+
# this string and only creates a new PR if the string isn't the title of an
|
|
14
|
+
# existing PR.
|
|
15
|
+
#
|
|
16
|
+
# PACKAGE_NAME is an identifier of the package, no spaces. Doesn't need to be
|
|
17
|
+
# the exact name of the dependency.
|
|
18
|
+
#
|
|
19
|
+
# VERSION an identifier of the next version of the package, no spaces. This
|
|
20
|
+
# variable must be the same if the version if the same and different if
|
|
21
|
+
# the version is different. However, it doesn't have to be a `x.y.z` it
|
|
22
|
+
# could be a Git SHA, or something else.
|
|
23
|
+
|
|
24
|
+
set -eu
|
|
25
|
+
|
|
26
|
+
PACKAGE_NAME=$1
|
|
27
|
+
VERSION=$2
|
|
28
|
+
BRANCH=update-${PACKAGE_NAME}-${VERSION}
|
|
29
|
+
COMMIT_MESSAGE="Update ${PACKAGE_NAME} to ${VERSION}"
|
|
30
|
+
|
|
31
|
+
if [[ -z "${PACKAGE_NAME}" ]]
|
|
32
|
+
then
|
|
33
|
+
echo "Empty PACKAGE_NAME."
|
|
34
|
+
exit -1
|
|
35
|
+
fi
|
|
36
|
+
|
|
37
|
+
if [[ -z "${VERSION}" ]]
|
|
38
|
+
then
|
|
39
|
+
echo "Empty VERSION."
|
|
40
|
+
exit -1
|
|
41
|
+
fi
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
# NOTE: In a later runs of CI we will search for PR with this exact
|
|
45
|
+
# title. Only if no such PR exists will the script create a
|
|
46
|
+
# new PR.
|
|
47
|
+
PR_TITLE="Update ${PACKAGE_NAME} to ${VERSION}"
|
|
48
|
+
|
|
49
|
+
if [[ -z "$(git status --porcelain)" ]]
|
|
50
|
+
then
|
|
51
|
+
echo "No differences detected: ${PACKAGE_NAME} is up-to-date."
|
|
52
|
+
exit 0
|
|
53
|
+
fi
|
|
54
|
+
|
|
55
|
+
if [[ -z "$(gh pr list --state all --search "${PR_TITLE}")" ]]
|
|
56
|
+
then
|
|
57
|
+
|
|
58
|
+
git checkout -b $BRANCH
|
|
59
|
+
git config user.name github-actions
|
|
60
|
+
git config user.email github-actions@github.com
|
|
61
|
+
git commit -a -m "${COMMIT_MESSAGE}"
|
|
62
|
+
|
|
63
|
+
git push -u origin ${BRANCH}
|
|
64
|
+
gh pr create \
|
|
65
|
+
--title "${PR_TITLE}" \
|
|
66
|
+
--body "This PR was generated by a Github Actions workflow."
|
|
67
|
+
|
|
68
|
+
else
|
|
69
|
+
echo "Old PR detected: didn't create a new one."
|
|
70
|
+
fi
|