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.
Files changed (804) hide show
  1. {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/publish-sdist-wheels.yml +8 -7
  2. {libsonata-0.1.37 → libsonata-0.2.0}/CMakeLists.txt +45 -58
  3. {libsonata-0.1.37/python/libsonata.egg-info → libsonata-0.2.0}/PKG-INFO +4 -17
  4. {libsonata-0.1.37 → libsonata-0.2.0}/ci/coverage_test.sh +10 -0
  5. {libsonata-0.1.37 → libsonata-0.2.0}/ci/cpp_test.sh +9 -12
  6. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/conf.py +2 -0
  7. libsonata-0.2.0/docs/source/developer.rst +25 -0
  8. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/index.rst +1 -0
  9. libsonata-0.2.0/extlib/HighFive/.clang-format +93 -0
  10. libsonata-0.2.0/extlib/HighFive/.git-blame-ignore-revs +2 -0
  11. libsonata-0.2.0/extlib/HighFive/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  12. libsonata-0.2.0/extlib/HighFive/.github/ISSUE_TEMPLATE/build_failure.md +44 -0
  13. libsonata-0.2.0/extlib/HighFive/.github/ISSUE_TEMPLATE/config.yml +5 -0
  14. libsonata-0.2.0/extlib/HighFive/.github/ISSUE_TEMPLATE/feature_request.md +9 -0
  15. libsonata-0.2.0/extlib/HighFive/.github/build.sh +12 -0
  16. libsonata-0.2.0/extlib/HighFive/.github/create_submodule_update_pr.sh +70 -0
  17. libsonata-0.2.0/extlib/HighFive/.github/dependabot.yml +8 -0
  18. libsonata-0.2.0/extlib/HighFive/.github/mamba_env_cxx14.yaml +12 -0
  19. libsonata-0.2.0/extlib/HighFive/.github/mamba_env_cxx17.yaml +12 -0
  20. libsonata-0.2.0/extlib/HighFive/.github/mamba_env_cxx20.yaml +12 -0
  21. libsonata-0.2.0/extlib/HighFive/.github/run_examples.sh +39 -0
  22. libsonata-0.2.0/extlib/HighFive/.github/workflows/check_doxygen_awesome_version.yml +20 -0
  23. libsonata-0.2.0/extlib/HighFive/.github/workflows/ci.yml +395 -0
  24. libsonata-0.2.0/extlib/HighFive/.github/workflows/clang_format.yml +26 -0
  25. libsonata-0.2.0/extlib/HighFive/.github/workflows/coverage.yml +74 -0
  26. libsonata-0.2.0/extlib/HighFive/.github/workflows/gh-pages.yml +77 -0
  27. libsonata-0.2.0/extlib/HighFive/.github/workflows/integration_trigger.yml +21 -0
  28. libsonata-0.2.0/extlib/HighFive/.github/workflows/version_file.yml +41 -0
  29. libsonata-0.2.0/extlib/HighFive/.gitignore +6 -0
  30. libsonata-0.2.0/extlib/HighFive/.gitmodules +3 -0
  31. libsonata-0.2.0/extlib/HighFive/AUTHORS.txt +60 -0
  32. libsonata-0.2.0/extlib/HighFive/CHANGELOG.md +371 -0
  33. libsonata-0.2.0/extlib/HighFive/README.md +280 -0
  34. libsonata-0.2.0/extlib/HighFive/bin/format.sh +44 -0
  35. libsonata-0.2.0/extlib/HighFive/cmake/HighFiveConfig.cmake +28 -0
  36. libsonata-0.2.0/extlib/HighFive/cmake/HighFiveFlags.cmake +30 -0
  37. libsonata-0.2.0/extlib/HighFive/cmake/HighFiveOptionalDependencies.cmake +64 -0
  38. libsonata-0.2.0/extlib/HighFive/cmake/HighFiveWarnings.cmake +49 -0
  39. libsonata-0.2.0/extlib/HighFive/codecov.yml +8 -0
  40. libsonata-0.2.0/extlib/HighFive/doc/CMakeLists.txt +7 -0
  41. libsonata-0.2.0/extlib/HighFive/doc/Doxyfile +2622 -0
  42. libsonata-0.2.0/extlib/HighFive/doc/DoxygenLayout.xml +241 -0
  43. libsonata-0.2.0/extlib/HighFive/doc/developer_guide.md +343 -0
  44. libsonata-0.2.0/extlib/HighFive/doc/doxygen-awesome-css/doxygen-awesome.css +2681 -0
  45. libsonata-0.2.0/extlib/HighFive/doc/doxygen-awesome-css/update_doxygen_awesome.sh +47 -0
  46. libsonata-0.2.0/extlib/HighFive/doc/installation.md +257 -0
  47. libsonata-0.2.0/extlib/HighFive/doc/migration_guide.md +276 -0
  48. libsonata-0.2.0/extlib/HighFive/src/examples/CMakeLists.txt +123 -0
  49. libsonata-0.2.0/extlib/HighFive/src/examples/boost_multi_array_2D.cpp +38 -0
  50. libsonata-0.2.0/extlib/HighFive/src/examples/boost_multiarray_complex.cpp +27 -0
  51. libsonata-0.2.0/extlib/HighFive/src/examples/boost_ublas_double.cpp +64 -0
  52. libsonata-0.2.0/extlib/HighFive/src/examples/broadcasting_arrays.cpp +50 -0
  53. libsonata-0.2.0/extlib/HighFive/src/examples/compound_types.cpp +42 -0
  54. libsonata-0.2.0/extlib/HighFive/src/examples/create_attribute_string_integer.cpp +54 -0
  55. libsonata-0.2.0/extlib/HighFive/src/examples/create_dataset_double.cpp +38 -0
  56. libsonata-0.2.0/extlib/HighFive/src/examples/create_dataset_half_float.cpp +46 -0
  57. libsonata-0.2.0/extlib/HighFive/src/examples/create_datatype.cpp +101 -0
  58. libsonata-0.2.0/extlib/HighFive/src/examples/create_extensible_dataset.cpp +63 -0
  59. libsonata-0.2.0/extlib/HighFive/src/examples/create_large_attribute.cpp +19 -0
  60. libsonata-0.2.0/extlib/HighFive/src/examples/create_page_allocated_files.cpp +72 -0
  61. libsonata-0.2.0/extlib/HighFive/src/examples/easy_attribute.cpp +45 -0
  62. libsonata-0.2.0/extlib/HighFive/src/examples/easy_dumpoptions.cpp +95 -0
  63. libsonata-0.2.0/extlib/HighFive/src/examples/easy_load_dump.cpp +109 -0
  64. libsonata-0.2.0/extlib/HighFive/src/examples/eigen_map.cpp +48 -0
  65. libsonata-0.2.0/extlib/HighFive/src/examples/eigen_matrix.cpp +33 -0
  66. libsonata-0.2.0/extlib/HighFive/src/examples/eigen_vector.cpp +33 -0
  67. libsonata-0.2.0/extlib/HighFive/src/examples/hl_hdf5_inmemory_files.cpp +69 -0
  68. libsonata-0.2.0/extlib/HighFive/src/examples/parallel_hdf5_collective_io.cpp +118 -0
  69. libsonata-0.2.0/extlib/HighFive/src/examples/parallel_hdf5_independent_io.cpp +101 -0
  70. libsonata-0.2.0/extlib/HighFive/src/examples/read_write_dataset_string.cpp +51 -0
  71. libsonata-0.2.0/extlib/HighFive/src/examples/read_write_raw_ptr.cpp +73 -0
  72. libsonata-0.2.0/extlib/HighFive/src/examples/read_write_single_scalar.cpp +46 -0
  73. libsonata-0.2.0/extlib/HighFive/src/examples/read_write_std_span.cpp +56 -0
  74. libsonata-0.2.0/extlib/HighFive/src/examples/read_write_std_strings.cpp +114 -0
  75. libsonata-0.2.0/extlib/HighFive/src/examples/read_write_vector_dataset.cpp +63 -0
  76. libsonata-0.2.0/extlib/HighFive/src/examples/read_write_vector_dataset_references.cpp +73 -0
  77. libsonata-0.2.0/extlib/HighFive/src/examples/readme_snippet.cpp +32 -0
  78. libsonata-0.2.0/extlib/HighFive/src/examples/renaming_objects.cpp +68 -0
  79. libsonata-0.2.0/extlib/HighFive/src/examples/select_by_id_dataset_cpp11.cpp +67 -0
  80. libsonata-0.2.0/extlib/HighFive/src/examples/select_partial_dataset_cpp11.cpp +49 -0
  81. libsonata-0.2.0/extlib/HighFive/src/examples/select_slices.cpp +131 -0
  82. libsonata-0.2.0/extlib/HighFive/src/examples/swmr_read.cpp +76 -0
  83. libsonata-0.2.0/extlib/HighFive/src/examples/swmr_write.cpp +65 -0
  84. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/README.md +22 -0
  85. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/application/CMakeLists.txt +87 -0
  86. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/application/deps/.gitignore +2 -0
  87. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/application/hi5_application.cpp +36 -0
  88. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/CMakeLists.txt +158 -0
  89. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/cmake/Hi5DependentConfig.cmake.in +24 -0
  90. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/include/hi5_dependent/read.hpp +17 -0
  91. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/include/hi5_dependent/write.hpp +8 -0
  92. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/src/hi5_dependent/boost.cpp +17 -0
  93. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/src/hi5_dependent/read_vector.cpp +7 -0
  94. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/dependent_library/src/hi5_dependent/write_vector.cpp +9 -0
  95. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/test_cmake_integration.sh +159 -0
  96. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/test_dependent_library/CMakeLists.txt +45 -0
  97. libsonata-0.2.0/extlib/HighFive/tests/cmake_integration/test_dependent_library/test_dependent_library.cpp +34 -0
  98. libsonata-0.2.0/extlib/HighFive/tests/unit/CMakeLists.txt +88 -0
  99. libsonata-0.2.0/extlib/HighFive/tests/unit/compary_arrays.hpp +80 -0
  100. libsonata-0.2.0/extlib/HighFive/tests/unit/create_traits.hpp +70 -0
  101. libsonata-0.2.0/extlib/HighFive/tests/unit/data_generator.hpp +865 -0
  102. libsonata-0.2.0/extlib/HighFive/tests/unit/supported_types.hpp +223 -0
  103. libsonata-0.2.0/extlib/HighFive/tests/unit/test_all_types.cpp +287 -0
  104. libsonata-0.2.0/extlib/HighFive/tests/unit/test_boost.cpp +27 -0
  105. libsonata-0.2.0/extlib/HighFive/tests/unit/test_empty_arrays.cpp +248 -0
  106. libsonata-0.2.0/extlib/HighFive/tests/unit/test_high_five_selection.cpp +707 -0
  107. libsonata-0.2.0/extlib/HighFive/tests/unit/test_legacy.cpp +74 -0
  108. libsonata-0.2.0/extlib/HighFive/tests/unit/test_nothrow_movable.cpp +90 -0
  109. libsonata-0.2.0/extlib/HighFive/tests/unit/test_opencv.cpp +59 -0
  110. libsonata-0.2.0/extlib/HighFive/tests/unit/test_stl.cpp +58 -0
  111. libsonata-0.2.0/extlib/HighFive/tests/unit/test_string.cpp +393 -0
  112. libsonata-0.2.0/extlib/HighFive/tests/unit/test_xtensor.cpp +151 -0
  113. libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five.hpp +206 -0
  114. libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five_base.cpp +2604 -0
  115. libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five_data_type.cpp +427 -0
  116. libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five_easy.cpp +557 -0
  117. libsonata-0.2.0/extlib/HighFive/tests/unit/tests_high_five_parallel.cpp +254 -0
  118. libsonata-0.2.0/extlib/HighFive/tests/unit/tests_import_public_headers.cpp +7 -0
  119. libsonata-0.2.0/extlib/fmt/.clang-format +8 -0
  120. libsonata-0.2.0/extlib/fmt/.github/dependabot.yml +8 -0
  121. libsonata-0.2.0/extlib/fmt/.github/issue_template.md +6 -0
  122. libsonata-0.2.0/extlib/fmt/.github/pull_request_template.md +7 -0
  123. libsonata-0.2.0/extlib/fmt/.github/workflows/cifuzz.yml +30 -0
  124. libsonata-0.2.0/extlib/fmt/.github/workflows/doc.yml +43 -0
  125. libsonata-0.2.0/extlib/fmt/.github/workflows/lint.yml +56 -0
  126. libsonata-0.2.0/extlib/fmt/.github/workflows/linux.yml +116 -0
  127. libsonata-0.2.0/extlib/fmt/.github/workflows/macos.yml +54 -0
  128. libsonata-0.2.0/extlib/fmt/.github/workflows/scorecard.yml +65 -0
  129. libsonata-0.2.0/extlib/fmt/.github/workflows/windows.yml +100 -0
  130. libsonata-0.2.0/extlib/fmt/.gitignore +20 -0
  131. libsonata-0.2.0/extlib/fmt/CONTRIBUTING.md +20 -0
  132. libsonata-0.2.0/extlib/fmt/doc/ChangeLog-old.md +3290 -0
  133. libsonata-0.2.0/extlib/fmt/doc/api.md +650 -0
  134. libsonata-0.2.0/extlib/fmt/doc/fmt.css +61 -0
  135. libsonata-0.2.0/extlib/fmt/doc/fmt.js +4 -0
  136. libsonata-0.2.0/extlib/fmt/doc/get-started.md +222 -0
  137. libsonata-0.2.0/extlib/fmt/doc/index.md +151 -0
  138. libsonata-0.2.0/extlib/fmt/doc/perf.svg +1 -0
  139. libsonata-0.2.0/extlib/fmt/doc/python-license.txt +290 -0
  140. libsonata-0.2.0/extlib/fmt/doc/syntax.md +887 -0
  141. libsonata-0.2.0/extlib/fmt/support/Android.mk +15 -0
  142. libsonata-0.2.0/extlib/fmt/support/AndroidManifest.xml +1 -0
  143. libsonata-0.2.0/extlib/fmt/support/C++.sublime-syntax +2061 -0
  144. libsonata-0.2.0/extlib/fmt/support/README +4 -0
  145. libsonata-0.2.0/extlib/fmt/support/Vagrantfile +19 -0
  146. libsonata-0.2.0/extlib/fmt/support/bazel/.bazelversion +1 -0
  147. libsonata-0.2.0/extlib/fmt/support/bazel/BUILD.bazel +20 -0
  148. libsonata-0.2.0/extlib/fmt/support/bazel/MODULE.bazel +6 -0
  149. libsonata-0.2.0/extlib/fmt/support/bazel/README.md +28 -0
  150. libsonata-0.2.0/extlib/fmt/support/bazel/WORKSPACE.bazel +2 -0
  151. libsonata-0.2.0/extlib/fmt/support/build.gradle +132 -0
  152. libsonata-0.2.0/extlib/fmt/support/check-commits +43 -0
  153. libsonata-0.2.0/extlib/fmt/support/docopt.py +581 -0
  154. libsonata-0.2.0/extlib/fmt/support/manage.py +218 -0
  155. libsonata-0.2.0/extlib/fmt/support/mkdocs +44 -0
  156. libsonata-0.2.0/extlib/fmt/support/mkdocs.yml +48 -0
  157. libsonata-0.2.0/extlib/fmt/support/printable.py +201 -0
  158. libsonata-0.2.0/extlib/fmt/support/python/mkdocstrings_handlers/cxx/__init__.py +317 -0
  159. libsonata-0.2.0/extlib/fmt/support/python/mkdocstrings_handlers/cxx/templates/README +1 -0
  160. libsonata-0.2.0/extlib/fmt/test/CMakeLists.txt +272 -0
  161. libsonata-0.2.0/extlib/fmt/test/add-subdirectory-test/CMakeLists.txt +17 -0
  162. libsonata-0.2.0/extlib/fmt/test/add-subdirectory-test/main.cc +5 -0
  163. libsonata-0.2.0/extlib/fmt/test/args-test.cc +188 -0
  164. libsonata-0.2.0/extlib/fmt/test/assert-test.cc +31 -0
  165. libsonata-0.2.0/extlib/fmt/test/base-test.cc +899 -0
  166. libsonata-0.2.0/extlib/fmt/test/chrono-test.cc +1063 -0
  167. libsonata-0.2.0/extlib/fmt/test/color-test.cc +72 -0
  168. libsonata-0.2.0/extlib/fmt/test/compile-error-test/CMakeLists.txt +241 -0
  169. libsonata-0.2.0/extlib/fmt/test/compile-fp-test.cc +61 -0
  170. libsonata-0.2.0/extlib/fmt/test/compile-test.cc +385 -0
  171. libsonata-0.2.0/extlib/fmt/test/cuda-test/CMakeLists.txt +73 -0
  172. libsonata-0.2.0/extlib/fmt/test/cuda-test/cpp14.cc +11 -0
  173. libsonata-0.2.0/extlib/fmt/test/cuda-test/cuda-cpp14.cu +28 -0
  174. libsonata-0.2.0/extlib/fmt/test/detect-stdfs.cc +18 -0
  175. libsonata-0.2.0/extlib/fmt/test/enforce-checks-test.cc +65 -0
  176. libsonata-0.2.0/extlib/fmt/test/find-package-test/CMakeLists.txt +17 -0
  177. libsonata-0.2.0/extlib/fmt/test/find-package-test/main.cc +5 -0
  178. libsonata-0.2.0/extlib/fmt/test/format-impl-test.cc +476 -0
  179. libsonata-0.2.0/extlib/fmt/test/format-test.cc +2465 -0
  180. libsonata-0.2.0/extlib/fmt/test/fuzzing/.gitignore +3 -0
  181. libsonata-0.2.0/extlib/fmt/test/fuzzing/CMakeLists.txt +30 -0
  182. libsonata-0.2.0/extlib/fmt/test/fuzzing/README.md +25 -0
  183. libsonata-0.2.0/extlib/fmt/test/fuzzing/build.sh +90 -0
  184. libsonata-0.2.0/extlib/fmt/test/fuzzing/chrono-duration.cc +136 -0
  185. libsonata-0.2.0/extlib/fmt/test/fuzzing/chrono-timepoint.cc +32 -0
  186. libsonata-0.2.0/extlib/fmt/test/fuzzing/float.cc +39 -0
  187. libsonata-0.2.0/extlib/fmt/test/fuzzing/fuzzer-common.h +77 -0
  188. libsonata-0.2.0/extlib/fmt/test/fuzzing/main.cc +22 -0
  189. libsonata-0.2.0/extlib/fmt/test/fuzzing/named-arg.cc +102 -0
  190. libsonata-0.2.0/extlib/fmt/test/fuzzing/one-arg.cc +92 -0
  191. libsonata-0.2.0/extlib/fmt/test/fuzzing/two-args.cc +106 -0
  192. libsonata-0.2.0/extlib/fmt/test/gtest/.clang-format +3 -0
  193. libsonata-0.2.0/extlib/fmt/test/gtest/CMakeLists.txt +32 -0
  194. libsonata-0.2.0/extlib/fmt/test/gtest/gmock/gmock.h +11645 -0
  195. libsonata-0.2.0/extlib/fmt/test/gtest/gmock-gtest-all.cc +14434 -0
  196. libsonata-0.2.0/extlib/fmt/test/gtest/gtest/gtest-spi.h +238 -0
  197. libsonata-0.2.0/extlib/fmt/test/gtest/gtest/gtest.h +12398 -0
  198. libsonata-0.2.0/extlib/fmt/test/gtest-extra-test.cc +410 -0
  199. libsonata-0.2.0/extlib/fmt/test/gtest-extra.cc +80 -0
  200. libsonata-0.2.0/extlib/fmt/test/gtest-extra.h +165 -0
  201. libsonata-0.2.0/extlib/fmt/test/header-only-test.cc +11 -0
  202. libsonata-0.2.0/extlib/fmt/test/mock-allocator.h +77 -0
  203. libsonata-0.2.0/extlib/fmt/test/module-test.cc +520 -0
  204. libsonata-0.2.0/extlib/fmt/test/noexception-test.cc +18 -0
  205. libsonata-0.2.0/extlib/fmt/test/os-test.cc +516 -0
  206. libsonata-0.2.0/extlib/fmt/test/ostream-test.cc +308 -0
  207. libsonata-0.2.0/extlib/fmt/test/perf-sanity.cc +25 -0
  208. libsonata-0.2.0/extlib/fmt/test/posix-mock-test.cc +442 -0
  209. libsonata-0.2.0/extlib/fmt/test/posix-mock.h +75 -0
  210. libsonata-0.2.0/extlib/fmt/test/printf-test.cc +568 -0
  211. libsonata-0.2.0/extlib/fmt/test/ranges-odr-test.cc +18 -0
  212. libsonata-0.2.0/extlib/fmt/test/ranges-test.cc +789 -0
  213. libsonata-0.2.0/extlib/fmt/test/scan-test.cc +184 -0
  214. libsonata-0.2.0/extlib/fmt/test/scan.h +669 -0
  215. libsonata-0.2.0/extlib/fmt/test/static-export-test/CMakeLists.txt +30 -0
  216. libsonata-0.2.0/extlib/fmt/test/static-export-test/library.cc +5 -0
  217. libsonata-0.2.0/extlib/fmt/test/static-export-test/main.cc +6 -0
  218. libsonata-0.2.0/extlib/fmt/test/std-test.cc +390 -0
  219. libsonata-0.2.0/extlib/fmt/test/test-assert.h +39 -0
  220. libsonata-0.2.0/extlib/fmt/test/test-main.cc +43 -0
  221. libsonata-0.2.0/extlib/fmt/test/unicode-test.cc +48 -0
  222. libsonata-0.2.0/extlib/fmt/test/util.cc +49 -0
  223. libsonata-0.2.0/extlib/fmt/test/util.h +83 -0
  224. libsonata-0.2.0/extlib/fmt/test/xchar-test.cc +600 -0
  225. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/nlohmann/nlohmann/json.hpp +10073 -9994
  226. libsonata-0.2.0/include/bbp/sonata/electrode_reader.h +129 -0
  227. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/node_sets.h +7 -0
  228. libsonata-0.2.0/include/bbp/sonata/selection.h +170 -0
  229. libsonata-0.2.0/pyproject.toml +42 -0
  230. {libsonata-0.1.37 → libsonata-0.2.0}/python/CMakeLists.txt +4 -2
  231. {libsonata-0.1.37 → libsonata-0.2.0}/python/bindings.cpp +98 -11
  232. {libsonata-0.1.37 → libsonata-0.2.0}/python/generated/docstrings.h +122 -0
  233. {libsonata-0.1.37 → libsonata-0.2.0}/python/libsonata/__init__.py +6 -0
  234. libsonata-0.2.0/python/pybind11/.appveyor.yml +35 -0
  235. libsonata-0.2.0/python/pybind11/.clang-format +38 -0
  236. libsonata-0.2.0/python/pybind11/.clang-tidy +80 -0
  237. libsonata-0.2.0/python/pybind11/.cmake-format.yaml +73 -0
  238. libsonata-0.2.0/python/pybind11/.codespell-ignore-lines +35 -0
  239. libsonata-0.2.0/python/pybind11/.gitattributes +1 -0
  240. libsonata-0.2.0/python/pybind11/.github/CODEOWNERS +9 -0
  241. libsonata-0.2.0/python/pybind11/.github/CONTRIBUTING.md +349 -0
  242. libsonata-0.2.0/python/pybind11/.github/ISSUE_TEMPLATE/bug-report.yml +61 -0
  243. libsonata-0.2.0/python/pybind11/.github/ISSUE_TEMPLATE/config.yml +8 -0
  244. libsonata-0.2.0/python/pybind11/.github/dependabot.yml +15 -0
  245. libsonata-0.2.0/python/pybind11/.github/labeler.yml +13 -0
  246. libsonata-0.2.0/python/pybind11/.github/labeler_merged.yml +8 -0
  247. libsonata-0.2.0/python/pybind11/.github/matchers/pylint.json +32 -0
  248. libsonata-0.2.0/python/pybind11/.github/pull_request_template.md +15 -0
  249. libsonata-0.2.0/python/pybind11/.github/workflows/ci.yml +1279 -0
  250. libsonata-0.2.0/python/pybind11/.github/workflows/configure.yml +85 -0
  251. libsonata-0.2.0/python/pybind11/.github/workflows/docs-link.yml +41 -0
  252. libsonata-0.2.0/python/pybind11/.github/workflows/format.yml +54 -0
  253. libsonata-0.2.0/python/pybind11/.github/workflows/labeler.yml +25 -0
  254. libsonata-0.2.0/python/pybind11/.github/workflows/nightlies.yml +59 -0
  255. libsonata-0.2.0/python/pybind11/.github/workflows/pip.yml +118 -0
  256. libsonata-0.2.0/python/pybind11/.github/workflows/reusable-standard.yml +96 -0
  257. libsonata-0.2.0/python/pybind11/.github/workflows/tests-cibw.yml +86 -0
  258. libsonata-0.2.0/python/pybind11/.github/workflows/upstream.yml +116 -0
  259. libsonata-0.2.0/python/pybind11/.gitignore +53 -0
  260. libsonata-0.2.0/python/pybind11/.pre-commit-config.yaml +149 -0
  261. libsonata-0.2.0/python/pybind11/.readthedocs.yml +20 -0
  262. libsonata-0.2.0/python/pybind11/CMakePresets.json +93 -0
  263. libsonata-0.2.0/python/pybind11/README.rst +216 -0
  264. libsonata-0.2.0/python/pybind11/SECURITY.md +13 -0
  265. libsonata-0.2.0/python/pybind11/docs/Doxyfile +21 -0
  266. libsonata-0.2.0/python/pybind11/docs/_static/css/custom.css +3 -0
  267. libsonata-0.2.0/python/pybind11/docs/advanced/cast/chrono.rst +81 -0
  268. libsonata-0.2.0/python/pybind11/docs/advanced/cast/custom.rst +137 -0
  269. libsonata-0.2.0/python/pybind11/docs/advanced/cast/eigen.rst +310 -0
  270. libsonata-0.2.0/python/pybind11/docs/advanced/cast/functional.rst +109 -0
  271. libsonata-0.2.0/python/pybind11/docs/advanced/cast/index.rst +43 -0
  272. libsonata-0.2.0/python/pybind11/docs/advanced/cast/overview.rst +170 -0
  273. libsonata-0.2.0/python/pybind11/docs/advanced/cast/stl.rst +249 -0
  274. libsonata-0.2.0/python/pybind11/docs/advanced/cast/strings.rst +296 -0
  275. libsonata-0.2.0/python/pybind11/docs/advanced/classes.rst +1408 -0
  276. libsonata-0.2.0/python/pybind11/docs/advanced/deadlock.md +391 -0
  277. libsonata-0.2.0/python/pybind11/docs/advanced/deprecated.rst +179 -0
  278. libsonata-0.2.0/python/pybind11/docs/advanced/embedding.rst +495 -0
  279. libsonata-0.2.0/python/pybind11/docs/advanced/exceptions.rst +422 -0
  280. libsonata-0.2.0/python/pybind11/docs/advanced/functions.rst +616 -0
  281. libsonata-0.2.0/python/pybind11/docs/advanced/misc.rst +615 -0
  282. libsonata-0.2.0/python/pybind11/docs/advanced/pycpp/index.rst +13 -0
  283. libsonata-0.2.0/python/pybind11/docs/advanced/pycpp/numpy.rst +493 -0
  284. libsonata-0.2.0/python/pybind11/docs/advanced/pycpp/object.rst +286 -0
  285. libsonata-0.2.0/python/pybind11/docs/advanced/pycpp/utilities.rst +155 -0
  286. libsonata-0.2.0/python/pybind11/docs/advanced/smart_ptrs.rst +179 -0
  287. libsonata-0.2.0/python/pybind11/docs/basics.rst +314 -0
  288. libsonata-0.2.0/python/pybind11/docs/benchmark.py +89 -0
  289. libsonata-0.2.0/python/pybind11/docs/benchmark.rst +95 -0
  290. libsonata-0.2.0/python/pybind11/docs/changelog.md +3234 -0
  291. libsonata-0.2.0/python/pybind11/docs/classes.rst +652 -0
  292. libsonata-0.2.0/python/pybind11/docs/cmake/index.rst +8 -0
  293. libsonata-0.2.0/python/pybind11/docs/compiling.rst +731 -0
  294. libsonata-0.2.0/python/pybind11/docs/conf.py +369 -0
  295. libsonata-0.2.0/python/pybind11/docs/faq.rst +351 -0
  296. libsonata-0.2.0/python/pybind11/docs/index.rst +49 -0
  297. libsonata-0.2.0/python/pybind11/docs/installing.rst +105 -0
  298. libsonata-0.2.0/python/pybind11/docs/limitations.rst +68 -0
  299. libsonata-0.2.0/python/pybind11/docs/pybind11-logo.png +0 -0
  300. libsonata-0.2.0/python/pybind11/docs/pybind11_vs_boost_python1.png +0 -0
  301. libsonata-0.2.0/python/pybind11/docs/pybind11_vs_boost_python1.svg +427 -0
  302. libsonata-0.2.0/python/pybind11/docs/pybind11_vs_boost_python2.png +0 -0
  303. libsonata-0.2.0/python/pybind11/docs/pybind11_vs_boost_python2.svg +427 -0
  304. libsonata-0.2.0/python/pybind11/docs/reference.rst +130 -0
  305. libsonata-0.2.0/python/pybind11/docs/release.rst +135 -0
  306. libsonata-0.2.0/python/pybind11/docs/requirements.in +7 -0
  307. libsonata-0.2.0/python/pybind11/docs/requirements.txt +91 -0
  308. libsonata-0.2.0/python/pybind11/docs/upgrade.rst +746 -0
  309. libsonata-0.2.0/python/pybind11/noxfile.py +151 -0
  310. libsonata-0.2.0/python/pybind11/pybind11/__init__.py +19 -0
  311. libsonata-0.2.0/python/pybind11/pybind11/__main__.py +97 -0
  312. libsonata-0.2.0/python/pybind11/pybind11/_version.py +34 -0
  313. libsonata-0.2.0/python/pybind11/pybind11/commands.py +39 -0
  314. libsonata-0.2.0/python/pybind11/pybind11/py.typed +0 -0
  315. libsonata-0.2.0/python/pybind11/pybind11/setup_helpers.py +500 -0
  316. libsonata-0.2.0/python/pybind11/pyproject.toml +184 -0
  317. libsonata-0.2.0/python/pybind11/tests/CMakeLists.txt +658 -0
  318. libsonata-0.2.0/python/pybind11/tests/conftest.py +277 -0
  319. libsonata-0.2.0/python/pybind11/tests/constructor_stats.h +330 -0
  320. libsonata-0.2.0/python/pybind11/tests/cross_module_gil_utils.cpp +111 -0
  321. libsonata-0.2.0/python/pybind11/tests/cross_module_interleaved_error_already_set.cpp +54 -0
  322. libsonata-0.2.0/python/pybind11/tests/custom_exceptions.py +10 -0
  323. libsonata-0.2.0/python/pybind11/tests/eigen_tensor_avoid_stl_array.cpp +16 -0
  324. libsonata-0.2.0/python/pybind11/tests/env.py +37 -0
  325. libsonata-0.2.0/python/pybind11/tests/exo_planet_c_api.cpp +76 -0
  326. libsonata-0.2.0/python/pybind11/tests/exo_planet_pybind11.cpp +19 -0
  327. libsonata-0.2.0/python/pybind11/tests/extra_python_package/pytest.ini +0 -0
  328. libsonata-0.2.0/python/pybind11/tests/extra_python_package/test_files.py +383 -0
  329. libsonata-0.2.0/python/pybind11/tests/extra_setuptools/pytest.ini +0 -0
  330. libsonata-0.2.0/python/pybind11/tests/extra_setuptools/test_setuphelper.py +153 -0
  331. libsonata-0.2.0/python/pybind11/tests/home_planet_very_lonely_traveler.cpp +13 -0
  332. libsonata-0.2.0/python/pybind11/tests/local_bindings.h +92 -0
  333. libsonata-0.2.0/python/pybind11/tests/mod_per_interpreter_gil.cpp +20 -0
  334. libsonata-0.2.0/python/pybind11/tests/mod_shared_interpreter_gil.cpp +17 -0
  335. libsonata-0.2.0/python/pybind11/tests/object.h +205 -0
  336. libsonata-0.2.0/python/pybind11/tests/pure_cpp/CMakeLists.txt +20 -0
  337. libsonata-0.2.0/python/pybind11/tests/pure_cpp/smart_holder_poc.h +56 -0
  338. libsonata-0.2.0/python/pybind11/tests/pure_cpp/smart_holder_poc_test.cpp +427 -0
  339. libsonata-0.2.0/python/pybind11/tests/pybind11_cross_module_tests.cpp +149 -0
  340. libsonata-0.2.0/python/pybind11/tests/pybind11_tests.cpp +129 -0
  341. libsonata-0.2.0/python/pybind11/tests/pybind11_tests.h +119 -0
  342. libsonata-0.2.0/python/pybind11/tests/pyproject.toml +38 -0
  343. libsonata-0.2.0/python/pybind11/tests/pytest.ini +22 -0
  344. libsonata-0.2.0/python/pybind11/tests/requirements.txt +18 -0
  345. libsonata-0.2.0/python/pybind11/tests/test_async.cpp +25 -0
  346. libsonata-0.2.0/python/pybind11/tests/test_async.py +31 -0
  347. libsonata-0.2.0/python/pybind11/tests/test_buffers.cpp +442 -0
  348. libsonata-0.2.0/python/pybind11/tests/test_buffers.py +401 -0
  349. libsonata-0.2.0/python/pybind11/tests/test_builtin_casters.cpp +391 -0
  350. libsonata-0.2.0/python/pybind11/tests/test_builtin_casters.py +551 -0
  351. libsonata-0.2.0/python/pybind11/tests/test_call_policies.cpp +113 -0
  352. libsonata-0.2.0/python/pybind11/tests/test_call_policies.py +256 -0
  353. libsonata-0.2.0/python/pybind11/tests/test_callbacks.cpp +302 -0
  354. libsonata-0.2.0/python/pybind11/tests/test_callbacks.py +247 -0
  355. libsonata-0.2.0/python/pybind11/tests/test_chrono.cpp +81 -0
  356. libsonata-0.2.0/python/pybind11/tests/test_chrono.py +207 -0
  357. libsonata-0.2.0/python/pybind11/tests/test_class.cpp +681 -0
  358. libsonata-0.2.0/python/pybind11/tests/test_class.py +557 -0
  359. libsonata-0.2.0/python/pybind11/tests/test_class_release_gil_before_calling_cpp_dtor.cpp +53 -0
  360. libsonata-0.2.0/python/pybind11/tests/test_class_release_gil_before_calling_cpp_dtor.py +21 -0
  361. libsonata-0.2.0/python/pybind11/tests/test_class_sh_basic.cpp +248 -0
  362. libsonata-0.2.0/python/pybind11/tests/test_class_sh_basic.py +248 -0
  363. libsonata-0.2.0/python/pybind11/tests/test_class_sh_disowning.cpp +41 -0
  364. libsonata-0.2.0/python/pybind11/tests/test_class_sh_disowning.py +78 -0
  365. libsonata-0.2.0/python/pybind11/tests/test_class_sh_disowning_mi.cpp +85 -0
  366. libsonata-0.2.0/python/pybind11/tests/test_class_sh_disowning_mi.py +246 -0
  367. libsonata-0.2.0/python/pybind11/tests/test_class_sh_factory_constructors.cpp +156 -0
  368. libsonata-0.2.0/python/pybind11/tests/test_class_sh_factory_constructors.py +53 -0
  369. libsonata-0.2.0/python/pybind11/tests/test_class_sh_inheritance.cpp +90 -0
  370. libsonata-0.2.0/python/pybind11/tests/test_class_sh_inheritance.py +63 -0
  371. libsonata-0.2.0/python/pybind11/tests/test_class_sh_mi_thunks.cpp +93 -0
  372. libsonata-0.2.0/python/pybind11/tests/test_class_sh_mi_thunks.py +53 -0
  373. libsonata-0.2.0/python/pybind11/tests/test_class_sh_property.cpp +94 -0
  374. libsonata-0.2.0/python/pybind11/tests/test_class_sh_property.py +166 -0
  375. libsonata-0.2.0/python/pybind11/tests/test_class_sh_property_non_owning.cpp +63 -0
  376. libsonata-0.2.0/python/pybind11/tests/test_class_sh_property_non_owning.py +30 -0
  377. libsonata-0.2.0/python/pybind11/tests/test_class_sh_shared_ptr_copy_move.cpp +103 -0
  378. libsonata-0.2.0/python/pybind11/tests/test_class_sh_shared_ptr_copy_move.py +41 -0
  379. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_basic.cpp +57 -0
  380. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_basic.py +35 -0
  381. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_self_life_support.cpp +86 -0
  382. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_self_life_support.py +38 -0
  383. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_shared_from_this.cpp +137 -0
  384. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_shared_from_this.py +247 -0
  385. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp +92 -0
  386. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_shared_ptr_cpp_arg.py +154 -0
  387. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_unique_ptr.cpp +63 -0
  388. libsonata-0.2.0/python/pybind11/tests/test_class_sh_trampoline_unique_ptr.py +31 -0
  389. libsonata-0.2.0/python/pybind11/tests/test_class_sh_unique_ptr_custom_deleter.cpp +30 -0
  390. libsonata-0.2.0/python/pybind11/tests/test_class_sh_unique_ptr_custom_deleter.py +8 -0
  391. libsonata-0.2.0/python/pybind11/tests/test_class_sh_unique_ptr_member.cpp +50 -0
  392. libsonata-0.2.0/python/pybind11/tests/test_class_sh_unique_ptr_member.py +26 -0
  393. libsonata-0.2.0/python/pybind11/tests/test_class_sh_virtual_py_cpp_mix.cpp +58 -0
  394. libsonata-0.2.0/python/pybind11/tests/test_class_sh_virtual_py_cpp_mix.py +66 -0
  395. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/CMakeLists.txt +91 -0
  396. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/embed.cpp +23 -0
  397. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/installed_embed/CMakeLists.txt +19 -0
  398. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt +29 -0
  399. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt +37 -0
  400. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/main.cpp +6 -0
  401. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/subdirectory_embed/CMakeLists.txt +38 -0
  402. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt +32 -0
  403. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt +38 -0
  404. libsonata-0.2.0/python/pybind11/tests/test_cmake_build/test.py +10 -0
  405. libsonata-0.2.0/python/pybind11/tests/test_const_name.cpp +55 -0
  406. libsonata-0.2.0/python/pybind11/tests/test_const_name.py +31 -0
  407. libsonata-0.2.0/python/pybind11/tests/test_constants_and_functions.cpp +158 -0
  408. libsonata-0.2.0/python/pybind11/tests/test_constants_and_functions.py +58 -0
  409. libsonata-0.2.0/python/pybind11/tests/test_copy_move.cpp +546 -0
  410. libsonata-0.2.0/python/pybind11/tests/test_copy_move.py +144 -0
  411. libsonata-0.2.0/python/pybind11/tests/test_cpp_conduit.cpp +22 -0
  412. libsonata-0.2.0/python/pybind11/tests/test_cpp_conduit.py +183 -0
  413. libsonata-0.2.0/python/pybind11/tests/test_cpp_conduit_traveler_bindings.h +47 -0
  414. libsonata-0.2.0/python/pybind11/tests/test_cpp_conduit_traveler_types.h +25 -0
  415. libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/CMakeLists.txt +68 -0
  416. libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/bindings.cpp +20 -0
  417. libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/catch.cpp +22 -0
  418. libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/lib.cpp +13 -0
  419. libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/lib.h +30 -0
  420. libsonata-0.2.0/python/pybind11/tests/test_cross_module_rtti/test_cross_module_rtti.cpp +50 -0
  421. libsonata-0.2.0/python/pybind11/tests/test_custom_type_casters.cpp +217 -0
  422. libsonata-0.2.0/python/pybind11/tests/test_custom_type_casters.py +126 -0
  423. libsonata-0.2.0/python/pybind11/tests/test_custom_type_setup.cpp +49 -0
  424. libsonata-0.2.0/python/pybind11/tests/test_custom_type_setup.py +50 -0
  425. libsonata-0.2.0/python/pybind11/tests/test_docs_advanced_cast_custom.cpp +69 -0
  426. libsonata-0.2.0/python/pybind11/tests/test_docs_advanced_cast_custom.py +40 -0
  427. libsonata-0.2.0/python/pybind11/tests/test_docstring_options.cpp +129 -0
  428. libsonata-0.2.0/python/pybind11/tests/test_docstring_options.py +72 -0
  429. libsonata-0.2.0/python/pybind11/tests/test_eigen_matrix.cpp +447 -0
  430. libsonata-0.2.0/python/pybind11/tests/test_eigen_matrix.py +839 -0
  431. libsonata-0.2.0/python/pybind11/tests/test_eigen_tensor.cpp +18 -0
  432. libsonata-0.2.0/python/pybind11/tests/test_eigen_tensor.inl +338 -0
  433. libsonata-0.2.0/python/pybind11/tests/test_eigen_tensor.py +316 -0
  434. libsonata-0.2.0/python/pybind11/tests/test_embed/CMakeLists.txt +61 -0
  435. libsonata-0.2.0/python/pybind11/tests/test_embed/catch.cpp +43 -0
  436. libsonata-0.2.0/python/pybind11/tests/test_embed/external_module.cpp +24 -0
  437. libsonata-0.2.0/python/pybind11/tests/test_embed/test_interpreter.cpp +482 -0
  438. libsonata-0.2.0/python/pybind11/tests/test_embed/test_interpreter.py +16 -0
  439. libsonata-0.2.0/python/pybind11/tests/test_embed/test_subinterpreter.cpp +442 -0
  440. libsonata-0.2.0/python/pybind11/tests/test_embed/test_trampoline.py +18 -0
  441. libsonata-0.2.0/python/pybind11/tests/test_enum.cpp +149 -0
  442. libsonata-0.2.0/python/pybind11/tests/test_enum.py +344 -0
  443. libsonata-0.2.0/python/pybind11/tests/test_eval.cpp +118 -0
  444. libsonata-0.2.0/python/pybind11/tests/test_eval.py +52 -0
  445. libsonata-0.2.0/python/pybind11/tests/test_eval_call.py +5 -0
  446. libsonata-0.2.0/python/pybind11/tests/test_exceptions.cpp +427 -0
  447. libsonata-0.2.0/python/pybind11/tests/test_exceptions.h +13 -0
  448. libsonata-0.2.0/python/pybind11/tests/test_exceptions.py +439 -0
  449. libsonata-0.2.0/python/pybind11/tests/test_factory_constructors.cpp +430 -0
  450. libsonata-0.2.0/python/pybind11/tests/test_factory_constructors.py +531 -0
  451. libsonata-0.2.0/python/pybind11/tests/test_gil_scoped.cpp +144 -0
  452. libsonata-0.2.0/python/pybind11/tests/test_gil_scoped.py +285 -0
  453. libsonata-0.2.0/python/pybind11/tests/test_iostream.cpp +126 -0
  454. libsonata-0.2.0/python/pybind11/tests/test_iostream.py +297 -0
  455. libsonata-0.2.0/python/pybind11/tests/test_kwargs_and_defaults.cpp +331 -0
  456. libsonata-0.2.0/python/pybind11/tests/test_kwargs_and_defaults.py +471 -0
  457. libsonata-0.2.0/python/pybind11/tests/test_local_bindings.cpp +106 -0
  458. libsonata-0.2.0/python/pybind11/tests/test_local_bindings.py +257 -0
  459. libsonata-0.2.0/python/pybind11/tests/test_methods_and_attributes.cpp +492 -0
  460. libsonata-0.2.0/python/pybind11/tests/test_methods_and_attributes.py +568 -0
  461. libsonata-0.2.0/python/pybind11/tests/test_modules.cpp +124 -0
  462. libsonata-0.2.0/python/pybind11/tests/test_modules.py +146 -0
  463. libsonata-0.2.0/python/pybind11/tests/test_multiple_inheritance.cpp +341 -0
  464. libsonata-0.2.0/python/pybind11/tests/test_multiple_inheritance.py +500 -0
  465. libsonata-0.2.0/python/pybind11/tests/test_multiple_interpreters.py +200 -0
  466. libsonata-0.2.0/python/pybind11/tests/test_native_enum.cpp +258 -0
  467. libsonata-0.2.0/python/pybind11/tests/test_native_enum.py +322 -0
  468. libsonata-0.2.0/python/pybind11/tests/test_numpy_array.cpp +598 -0
  469. libsonata-0.2.0/python/pybind11/tests/test_numpy_array.py +710 -0
  470. libsonata-0.2.0/python/pybind11/tests/test_numpy_dtypes.cpp +745 -0
  471. libsonata-0.2.0/python/pybind11/tests/test_numpy_dtypes.py +464 -0
  472. libsonata-0.2.0/python/pybind11/tests/test_numpy_scalars.cpp +63 -0
  473. libsonata-0.2.0/python/pybind11/tests/test_numpy_scalars.py +54 -0
  474. libsonata-0.2.0/python/pybind11/tests/test_numpy_vectorize.cpp +107 -0
  475. libsonata-0.2.0/python/pybind11/tests/test_numpy_vectorize.py +268 -0
  476. libsonata-0.2.0/python/pybind11/tests/test_opaque_types.cpp +77 -0
  477. libsonata-0.2.0/python/pybind11/tests/test_opaque_types.py +64 -0
  478. libsonata-0.2.0/python/pybind11/tests/test_operator_overloading.cpp +281 -0
  479. libsonata-0.2.0/python/pybind11/tests/test_operator_overloading.py +161 -0
  480. libsonata-0.2.0/python/pybind11/tests/test_pickling.cpp +191 -0
  481. libsonata-0.2.0/python/pybind11/tests/test_pickling.py +149 -0
  482. libsonata-0.2.0/python/pybind11/tests/test_potentially_slicing_weak_ptr.cpp +168 -0
  483. libsonata-0.2.0/python/pybind11/tests/test_potentially_slicing_weak_ptr.py +174 -0
  484. libsonata-0.2.0/python/pybind11/tests/test_python_multiple_inheritance.cpp +45 -0
  485. libsonata-0.2.0/python/pybind11/tests/test_python_multiple_inheritance.py +36 -0
  486. libsonata-0.2.0/python/pybind11/tests/test_pytypes.cpp +1213 -0
  487. libsonata-0.2.0/python/pybind11/tests/test_pytypes.py +1349 -0
  488. libsonata-0.2.0/python/pybind11/tests/test_scoped_critical_section.cpp +275 -0
  489. libsonata-0.2.0/python/pybind11/tests/test_scoped_critical_section.py +30 -0
  490. libsonata-0.2.0/python/pybind11/tests/test_sequences_and_iterators.cpp +600 -0
  491. libsonata-0.2.0/python/pybind11/tests/test_sequences_and_iterators.py +307 -0
  492. libsonata-0.2.0/python/pybind11/tests/test_smart_ptr.cpp +587 -0
  493. libsonata-0.2.0/python/pybind11/tests/test_smart_ptr.py +357 -0
  494. libsonata-0.2.0/python/pybind11/tests/test_stl.cpp +666 -0
  495. libsonata-0.2.0/python/pybind11/tests/test_stl.py +735 -0
  496. libsonata-0.2.0/python/pybind11/tests/test_stl_binders.cpp +275 -0
  497. libsonata-0.2.0/python/pybind11/tests/test_stl_binders.py +414 -0
  498. libsonata-0.2.0/python/pybind11/tests/test_tagbased_polymorphic.cpp +148 -0
  499. libsonata-0.2.0/python/pybind11/tests/test_tagbased_polymorphic.py +30 -0
  500. libsonata-0.2.0/python/pybind11/tests/test_thread.cpp +72 -0
  501. libsonata-0.2.0/python/pybind11/tests/test_thread.py +68 -0
  502. libsonata-0.2.0/python/pybind11/tests/test_type_caster_pyobject_ptr.cpp +168 -0
  503. libsonata-0.2.0/python/pybind11/tests/test_type_caster_pyobject_ptr.py +124 -0
  504. libsonata-0.2.0/python/pybind11/tests/test_type_caster_std_function_specializations.cpp +46 -0
  505. libsonata-0.2.0/python/pybind11/tests/test_type_caster_std_function_specializations.py +15 -0
  506. libsonata-0.2.0/python/pybind11/tests/test_union.cpp +22 -0
  507. libsonata-0.2.0/python/pybind11/tests/test_union.py +10 -0
  508. libsonata-0.2.0/python/pybind11/tests/test_unnamed_namespace_a.cpp +37 -0
  509. libsonata-0.2.0/python/pybind11/tests/test_unnamed_namespace_a.py +30 -0
  510. libsonata-0.2.0/python/pybind11/tests/test_unnamed_namespace_b.cpp +13 -0
  511. libsonata-0.2.0/python/pybind11/tests/test_unnamed_namespace_b.py +7 -0
  512. libsonata-0.2.0/python/pybind11/tests/test_vector_unique_ptr_member.cpp +54 -0
  513. libsonata-0.2.0/python/pybind11/tests/test_vector_unique_ptr_member.py +16 -0
  514. libsonata-0.2.0/python/pybind11/tests/test_virtual_functions.cpp +592 -0
  515. libsonata-0.2.0/python/pybind11/tests/test_virtual_functions.py +468 -0
  516. libsonata-0.2.0/python/pybind11/tests/test_warnings.cpp +46 -0
  517. libsonata-0.2.0/python/pybind11/tests/test_warnings.py +68 -0
  518. libsonata-0.2.0/python/pybind11/tests/valgrind-numpy-scipy.supp +140 -0
  519. libsonata-0.2.0/python/pybind11/tests/valgrind-python.supp +117 -0
  520. libsonata-0.2.0/python/pybind11/tools/check-style.sh +44 -0
  521. libsonata-0.2.0/python/pybind11/tools/cmake_uninstall.cmake.in +23 -0
  522. libsonata-0.2.0/python/pybind11/tools/codespell_ignore_lines_from_errors.py +40 -0
  523. libsonata-0.2.0/python/pybind11/tools/libsize.py +38 -0
  524. libsonata-0.2.0/python/pybind11/tools/make_changelog.py +121 -0
  525. libsonata-0.2.0/python/pybind11/tools/make_global.py +33 -0
  526. libsonata-0.2.0/python/pybind11/tools/pybind11.pc.in +7 -0
  527. libsonata-0.2.0/python/pybind11/tools/pybind11Config.cmake.in +240 -0
  528. {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_config.py +34 -29
  529. libsonata-0.2.0/python/tests/test_electrode_reader.py +150 -0
  530. {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_nodesets.py +18 -1
  531. {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_population.py +13 -0
  532. {libsonata-0.1.37 → libsonata-0.2.0}/src/compartment_sets.cpp +4 -12
  533. {libsonata-0.1.37 → libsonata-0.2.0}/src/config.cpp +35 -36
  534. libsonata-0.2.0/src/electrode_reader.cpp +428 -0
  535. {libsonata-0.1.37 → libsonata-0.2.0}/src/node_sets.cpp +47 -12
  536. {libsonata-0.1.37 → libsonata-0.2.0}/tests/CMakeLists.txt +2 -1
  537. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/config/circuit_config.json +1 -0
  538. libsonata-0.2.0/tests/data/electrodes/electrode_bad_position.h5 +0 -0
  539. libsonata-0.2.0/tests/data/electrodes/electrode_weights.h5 +0 -0
  540. libsonata-0.2.0/tests/data/electrodes/generate.py +153 -0
  541. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/node_sets.json +5 -1
  542. {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_config.cpp +4 -4
  543. libsonata-0.2.0/tests/test_electrode_reader.cpp +216 -0
  544. {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_node_sets.cpp +6 -2
  545. {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_selection.cpp +64 -0
  546. libsonata-0.1.37/CHANGELOG.md +0 -207
  547. libsonata-0.1.37/PKG-INFO +0 -460
  548. libsonata-0.1.37/include/bbp/sonata/selection.h +0 -91
  549. libsonata-0.1.37/pyproject.toml +0 -16
  550. libsonata-0.1.37/python/libsonata.egg-info/SOURCES.txt +0 -282
  551. libsonata-0.1.37/python/libsonata.egg-info/dependency_links.txt +0 -1
  552. libsonata-0.1.37/python/libsonata.egg-info/not-zip-safe +0 -1
  553. libsonata-0.1.37/python/libsonata.egg-info/requires.txt +0 -4
  554. libsonata-0.1.37/python/libsonata.egg-info/top_level.txt +0 -1
  555. libsonata-0.1.37/setup.cfg +0 -4
  556. libsonata-0.1.37/setup.py +0 -127
  557. {libsonata-0.1.37 → libsonata-0.2.0}/.clang-format +0 -0
  558. {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/clang_format_check.yaml +0 -0
  559. {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/coverage_test.yaml +0 -0
  560. {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/docstring_check.yaml +0 -0
  561. {libsonata-0.1.37 → libsonata-0.2.0}/.github/workflows/run-tests.yml +0 -0
  562. {libsonata-0.1.37 → libsonata-0.2.0}/.gitignore +0 -0
  563. {libsonata-0.1.37 → libsonata-0.2.0}/.gitlab-ci.yml +0 -0
  564. {libsonata-0.1.37 → libsonata-0.2.0}/.gitmodules +0 -0
  565. {libsonata-0.1.37 → libsonata-0.2.0}/.gitreview +0 -0
  566. {libsonata-0.1.37 → libsonata-0.2.0}/.readthedocs.yaml +0 -0
  567. {libsonata-0.1.37 → libsonata-0.2.0}/AUTHORS.txt +0 -0
  568. {libsonata-0.1.37 → libsonata-0.2.0}/CMake/CodeCoverage.cmake +0 -0
  569. {libsonata-0.1.37 → libsonata-0.2.0}/CMake/sonata-config.cmake +0 -0
  570. {libsonata-0.1.37 → libsonata-0.2.0}/COPYING +0 -0
  571. {libsonata-0.1.37 → libsonata-0.2.0}/COPYING.LESSER +0 -0
  572. {libsonata-0.1.37 → libsonata-0.2.0}/MANIFEST.in +0 -0
  573. {libsonata-0.1.37 → libsonata-0.2.0}/README.rst +0 -0
  574. {libsonata-0.1.37 → libsonata-0.2.0}/ci/README.md +0 -0
  575. {libsonata-0.1.37 → libsonata-0.2.0}/ci/check_clang_format.sh +0 -0
  576. {libsonata-0.1.37 → libsonata-0.2.0}/ci/check_generated_docstrings.sh +0 -0
  577. {libsonata-0.1.37 → libsonata-0.2.0}/ci/hdf5-build.sh +0 -0
  578. {libsonata-0.1.37 → libsonata-0.2.0}/ci/python_build_sdist.sh +0 -0
  579. {libsonata-0.1.37 → libsonata-0.2.0}/ci/python_test.sh +0 -0
  580. {libsonata-0.1.37 → libsonata-0.2.0}/docs/Makefile +0 -0
  581. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/Doxyfile +0 -0
  582. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/DoxygenLayout.xml +0 -0
  583. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/_images/libSonataLogo.jpg +0 -0
  584. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/_templates/doxygen_page.rst_t +0 -0
  585. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/api.rst +0 -0
  586. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/cpp.rst +0 -0
  587. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/doxygen/.gitignore +0 -0
  588. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/footer.html +0 -0
  589. {libsonata-0.1.37 → libsonata-0.2.0}/docs/source/header.html +0 -0
  590. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/CMakeLists.txt +0 -0
  591. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/CMakeLists.txt +0 -0
  592. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/LICENSE +0 -0
  593. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Attribute.hpp +0 -0
  594. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5DataSet.hpp +0 -0
  595. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5DataSpace.hpp +0 -0
  596. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5DataType.hpp +0 -0
  597. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Easy.hpp +0 -0
  598. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Exception.hpp +0 -0
  599. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5File.hpp +0 -0
  600. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Group.hpp +0 -0
  601. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Object.hpp +0 -0
  602. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5PropertyList.hpp +0 -0
  603. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Reference.hpp +0 -0
  604. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Selection.hpp +0 -0
  605. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Utility.hpp +0 -0
  606. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Version.hpp +0 -0
  607. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/H5Version.hpp.in +0 -0
  608. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Annotate_traits.hpp +0 -0
  609. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Annotate_traits_misc.hpp +0 -0
  610. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Attribute_misc.hpp +0 -0
  611. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Converter_misc.hpp +0 -0
  612. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5DataSet_misc.hpp +0 -0
  613. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5DataType_misc.hpp +0 -0
  614. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Dataspace_misc.hpp +0 -0
  615. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Exception_misc.hpp +0 -0
  616. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5File_misc.hpp +0 -0
  617. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Friends.hpp +0 -0
  618. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Inspector_decl.hpp +0 -0
  619. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Inspector_misc.hpp +0 -0
  620. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Iterables_misc.hpp +0 -0
  621. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Node_traits.hpp +0 -0
  622. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Node_traits_misc.hpp +0 -0
  623. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Object_misc.hpp +0 -0
  624. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Path_traits.hpp +0 -0
  625. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Path_traits_misc.hpp +0 -0
  626. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5PropertyList_misc.hpp +0 -0
  627. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5ReadWrite_misc.hpp +0 -0
  628. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Reference_misc.hpp +0 -0
  629. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Selection_misc.hpp +0 -0
  630. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Slice_traits.hpp +0 -0
  631. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Slice_traits_misc.hpp +0 -0
  632. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5Utils.hpp +0 -0
  633. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/H5_definitions.hpp +0 -0
  634. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/assert_compatible_spaces.hpp +0 -0
  635. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/compute_total_size.hpp +0 -0
  636. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/convert_size_vector.hpp +0 -0
  637. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5_wrapper.hpp +0 -0
  638. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5a_wrapper.hpp +0 -0
  639. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5d_wrapper.hpp +0 -0
  640. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5e_wrapper.hpp +0 -0
  641. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5f_wrapper.hpp +0 -0
  642. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5g_wrapper.hpp +0 -0
  643. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5i_wrapper.hpp +0 -0
  644. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5l_wrapper.hpp +0 -0
  645. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5o_wrapper.hpp +0 -0
  646. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5p_wrapper.hpp +0 -0
  647. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5r_wrapper.hpp +0 -0
  648. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5s_wrapper.hpp +0 -0
  649. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/h5t_wrapper.hpp +0 -0
  650. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/inspector_stl_span_misc.hpp +0 -0
  651. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/squeeze.hpp +0 -0
  652. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/string_padding.hpp +0 -0
  653. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/bits/xtensor_header_version.hpp +0 -0
  654. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/boost.hpp +0 -0
  655. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/boost_multi_array.hpp +0 -0
  656. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/boost_span.hpp +0 -0
  657. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/boost_ublas.hpp +0 -0
  658. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/eigen.hpp +0 -0
  659. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/experimental/opencv.hpp +0 -0
  660. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/H5Easy_Eigen.hpp +0 -0
  661. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/H5Easy_misc.hpp +0 -0
  662. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/H5Easy_public.hpp +0 -0
  663. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/H5Easy_scalar.hpp +0 -0
  664. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/h5easy_bits/default_io_impl.hpp +0 -0
  665. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/half_float.hpp +0 -0
  666. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/highfive.hpp +0 -0
  667. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/span.hpp +0 -0
  668. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/HighFive/include/highfive/xtensor.hpp +0 -0
  669. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/README.txt +0 -0
  670. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/filesystem.hpp +0 -0
  671. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/CMakeLists.txt +0 -0
  672. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/ChangeLog.md +0 -0
  673. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/LICENSE +0 -0
  674. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/README.md +0 -0
  675. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/args.h +0 -0
  676. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/base.h +0 -0
  677. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/chrono.h +0 -0
  678. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/color.h +0 -0
  679. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/compile.h +0 -0
  680. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/core.h +0 -0
  681. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/format-inl.h +0 -0
  682. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/format.h +0 -0
  683. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/os.h +0 -0
  684. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/ostream.h +0 -0
  685. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/printf.h +0 -0
  686. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/ranges.h +0 -0
  687. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/std.h +0 -0
  688. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/include/fmt/xchar.h +0 -0
  689. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/src/fmt.cc +0 -0
  690. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/src/format.cc +0 -0
  691. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/src/os.cc +0 -0
  692. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/support/cmake/FindSetEnv.cmake +0 -0
  693. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/support/cmake/JoinPaths.cmake +0 -0
  694. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/support/cmake/fmt-config.cmake.in +0 -0
  695. {libsonata-0.1.37 → libsonata-0.2.0}/extlib/fmt/support/cmake/fmt.pc.in +0 -0
  696. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/common.h +0 -0
  697. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/compartment_sets.h +0 -0
  698. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/config.h +0 -0
  699. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/edges.h +0 -0
  700. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/hdf5_reader.h +0 -0
  701. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/nodes.h +0 -0
  702. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/optional.hpp +0 -0
  703. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/population.h +0 -0
  704. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/report_reader.h +0 -0
  705. {libsonata-0.1.37 → libsonata-0.2.0}/include/bbp/sonata/variant.hpp +0 -0
  706. {libsonata-0.1.37 → libsonata-0.2.0}/python/generated/.clang-format +0 -0
  707. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/CMakeLists.txt +0 -0
  708. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/LICENSE +0 -0
  709. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/attr.h +0 -0
  710. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/buffer_info.h +0 -0
  711. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/cast.h +0 -0
  712. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/chrono.h +0 -0
  713. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/common.h +0 -0
  714. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/complex.h +0 -0
  715. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/conduit/README.txt +0 -0
  716. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/conduit/pybind11_conduit_v1.h +0 -0
  717. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/conduit/pybind11_platform_abi_id.h +0 -0
  718. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/conduit/wrap_include_python_h.h +0 -0
  719. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/critical_section.h +0 -0
  720. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/class.h +0 -0
  721. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/common.h +0 -0
  722. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/cpp_conduit.h +0 -0
  723. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/descr.h +0 -0
  724. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/dynamic_raw_ptr_cast_if_possible.h +0 -0
  725. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/exception_translation.h +0 -0
  726. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/function_record_pyobject.h +0 -0
  727. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/init.h +0 -0
  728. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/internals.h +0 -0
  729. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/native_enum_data.h +0 -0
  730. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/pybind11_namespace_macros.h +0 -0
  731. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/struct_smart_holder.h +0 -0
  732. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/type_caster_base.h +0 -0
  733. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/typeid.h +0 -0
  734. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/using_smart_holder.h +0 -0
  735. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/detail/value_and_holder.h +0 -0
  736. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eigen/common.h +0 -0
  737. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eigen/matrix.h +0 -0
  738. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eigen/tensor.h +0 -0
  739. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eigen.h +0 -0
  740. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/embed.h +0 -0
  741. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/eval.h +0 -0
  742. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/functional.h +0 -0
  743. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/gil.h +0 -0
  744. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/gil_safe_call_once.h +0 -0
  745. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/gil_simple.h +0 -0
  746. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/iostream.h +0 -0
  747. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/native_enum.h +0 -0
  748. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/numpy.h +0 -0
  749. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/operators.h +0 -0
  750. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/options.h +0 -0
  751. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/pybind11.h +0 -0
  752. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/pytypes.h +0 -0
  753. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/stl/filesystem.h +0 -0
  754. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/stl.h +0 -0
  755. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/stl_bind.h +0 -0
  756. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/subinterpreter.h +0 -0
  757. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/trampoline_self_life_support.h +0 -0
  758. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/type_caster_pyobject_ptr.h +0 -0
  759. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/typing.h +0 -0
  760. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/include/pybind11/warnings.h +0 -0
  761. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/FindCatch.cmake +0 -0
  762. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/FindEigen3.cmake +0 -0
  763. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/FindPythonLibsNew.cmake +0 -0
  764. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/JoinPaths.cmake +0 -0
  765. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/pybind11Common.cmake +0 -0
  766. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/pybind11GuessPythonExtSuffix.cmake +0 -0
  767. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/pybind11NewTools.cmake +0 -0
  768. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/pybind11Tools.cmake +0 -0
  769. {libsonata-0.1.37 → libsonata-0.2.0}/python/pybind11/tools/test-pybind11GuessPythonExtSuffix.cmake +0 -0
  770. {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/__init__.py +0 -0
  771. {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_compartment_sets.py +0 -0
  772. {libsonata-0.1.37 → libsonata-0.2.0}/python/tests/test_reports.py +0 -0
  773. {libsonata-0.1.37 → libsonata-0.2.0}/src/common.cpp +0 -0
  774. {libsonata-0.1.37 → libsonata-0.2.0}/src/edge_index.cpp +0 -0
  775. {libsonata-0.1.37 → libsonata-0.2.0}/src/edge_index.h +0 -0
  776. {libsonata-0.1.37 → libsonata-0.2.0}/src/edges.cpp +0 -0
  777. {libsonata-0.1.37 → libsonata-0.2.0}/src/hdf5_mutex.cpp +0 -0
  778. {libsonata-0.1.37 → libsonata-0.2.0}/src/hdf5_mutex.hpp +0 -0
  779. {libsonata-0.1.37 → libsonata-0.2.0}/src/hdf5_reader.cpp +0 -0
  780. {libsonata-0.1.37 → libsonata-0.2.0}/src/hdf5_reader.hpp +0 -0
  781. {libsonata-0.1.37 → libsonata-0.2.0}/src/nodes.cpp +0 -0
  782. {libsonata-0.1.37 → libsonata-0.2.0}/src/population.cpp +0 -0
  783. {libsonata-0.1.37 → libsonata-0.2.0}/src/population.hpp +0 -0
  784. {libsonata-0.1.37 → libsonata-0.2.0}/src/read_bulk.hpp +0 -0
  785. {libsonata-0.1.37 → libsonata-0.2.0}/src/read_canonical_selection.hpp +0 -0
  786. {libsonata-0.1.37 → libsonata-0.2.0}/src/report_reader.cpp +0 -0
  787. {libsonata-0.1.37 → libsonata-0.2.0}/src/selection.cpp +0 -0
  788. {libsonata-0.1.37 → libsonata-0.2.0}/src/utils.cpp +0 -0
  789. {libsonata-0.1.37 → libsonata-0.2.0}/src/utils.h +0 -0
  790. {libsonata-0.1.37 → libsonata-0.2.0}/src/version.cpp.in +0 -0
  791. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/compartment_sets.json +0 -0
  792. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/config/simulation_config.json +0 -0
  793. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/edges-no-index.h5 +0 -0
  794. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/edges1.h5 +0 -0
  795. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/elements.h5 +0 -0
  796. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/generate.py +0 -0
  797. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/nodes1.h5 +0 -0
  798. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/somas.h5 +0 -0
  799. {libsonata-0.1.37 → libsonata-0.2.0}/tests/data/spikes.h5 +0 -0
  800. {libsonata-0.1.37 → libsonata-0.2.0}/tests/main.cpp +0 -0
  801. {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_compartment_sets.cpp +0 -0
  802. {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_edges.cpp +0 -0
  803. {libsonata-0.1.37 → libsonata-0.2.0}/tests/test_nodes.cpp +0 -0
  804. {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: "STATIC_HDF5 CMAKE_PREFIX_PATH"
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
- # used by setup.py to decide if to set `FindHDF5` to use static hdf5 libraries
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: "STATIC_HDF5 CMAKE_PREFIX_PATH"
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
- # used by setup.py to decide if to set `FindHDF5` to use static hdf5 libraries
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
- list(GET GIT_PKG_VERSION_FULL -1 SONATA_VERSION)
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(SONATA_CXX_MINIMUM_STANDARD 14)
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(sonata_shared SHARED ${SONATA_SRC})
112
- add_library(sonata_static STATIC ${SONATA_SRC})
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
- foreach(TARGET sonata_shared sonata_static)
115
- set_target_properties(${TARGET}
122
+ if(BUILD_SHARED_LIBS)
123
+ set_target_properties(sonata
116
124
  PROPERTIES
117
- POSITION_INDEPENDENT_CODE ON
118
- CXX_VISIBILITY_PRESET hidden
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
- target_link_libraries(${TARGET}
135
- PRIVATE gcov
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
- endif()
138
-
139
- add_library(sonata::${TARGET} ALIAS ${TARGET})
140
- endforeach(TARGET)
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
- set_target_properties(sonata_shared
143
- PROPERTIES
144
- VERSION ${SONATA_VERSION}
145
- SOVERSION ${SONATA_VERSION_ABI}
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
- target_compile_definitions(sonata_static
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 sonata_shared sonata_static
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.1.37
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
- Dynamic: author
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
- # cmake && make
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
- make -j all test
28
- popd
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.
@@ -7,5 +7,6 @@
7
7
  Home <self>
8
8
  api
9
9
  cpp
10
+ developer
10
11
 
11
12
  .. |banner| image:: /_images/libSonataLogo.jpg
@@ -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,2 @@
1
+ # clang-format the whole repository
2
+ 6fc243144b6a7802bf29d3fbb2c028051a71ca28
@@ -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,5 @@
1
+ blank_issues_enabled: true
2
+ contact_links:
3
+ - name: HighFive Community Support
4
+ url: https://github.com/BlueBrain/HighFive/discussions
5
+ about: Please ask and answer questions here.
@@ -0,0 +1,9 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
@@ -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
@@ -0,0 +1,8 @@
1
+ # Check GitHub Actions
2
+ version: 2
3
+ updates:
4
+
5
+ - package-ecosystem: "github-actions"
6
+ directory: "/"
7
+ schedule:
8
+ interval: "weekly"
@@ -0,0 +1,12 @@
1
+ channels:
2
+ - conda-forge
3
+ dependencies:
4
+ - boost-cpp
5
+ - catch2
6
+ - cmake
7
+ - doxygen
8
+ - eigen
9
+ - graphviz
10
+ - hdf5
11
+ - xtensor<0.26
12
+ - xtl
@@ -0,0 +1,12 @@
1
+ channels:
2
+ - conda-forge
3
+ dependencies:
4
+ - boost-cpp
5
+ - catch2
6
+ - cmake
7
+ - doxygen
8
+ - eigen
9
+ - graphviz
10
+ - hdf5
11
+ - xtensor>=0.26
12
+ - xtl
@@ -0,0 +1,12 @@
1
+ channels:
2
+ - conda-forge
3
+ dependencies:
4
+ - boost-cpp
5
+ - catch2
6
+ - cmake
7
+ - doxygen
8
+ - eigen
9
+ - graphviz
10
+ - hdf5
11
+ - xtensor<0.26
12
+ - xtl