Skip to content

Commit 4ec9ca2

Browse files
peng.li24claude
andcommitted
fix: rename numpcpp to numpycpp throughout the project
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 3298522 commit 4ec9ca2

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bug Report
3-
about: Report a bug in numpcpp
3+
about: Report a bug in numpycpp
44
title: "[Bug] "
55
labels: bug
66
assignees: ""

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ include(CPack)
6565
# Convenience target
6666
add_custom_target(deb
6767
COMMAND cpack -G DEB
68-
COMMENT "Packaging numpcpp-dev-${CPACK_PACKAGE_VERSION}-Linux.deb"
68+
COMMENT "Packaging numpycpp-dev-${CPACK_PACKAGE_VERSION}-Linux.deb"
6969
)
7070

7171
message(STATUS "numpycpp v${PROJECT_VERSION} (header-only C++ library)")
7272
message(STATUS " C++ Standard: ${CMAKE_CXX_STANDARD}")
73-
message(STATUS " DEB: make deb → numpcpp-dev-${CPACK_PACKAGE_VERSION}-Linux.deb")
73+
message(STATUS " DEB: make deb → numpycpp-dev-${CPACK_PACKAGE_VERSION}-Linux.deb")
7474
message(STATUS " Test: cd tests/ && make → build + run 336 tests")

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to numpcpp
1+
# Contributing to numpycpp
22

33
Thanks for your interest in contributing!
44

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2026 numpcpp contributors
3+
Copyright (c) 2026 numpycpp contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# numpcpp
1+
# numpycpp
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
44
[![C++17](https://img.shields.io/badge/C%2B%2B-17-blue.svg)](https://en.cppreference.com/w/cpp/17)
@@ -46,7 +46,7 @@ Download the [latest `.deb` release](https://github.com/array2d/numpycpp/release
4646
mkdir build && cd build
4747
cmake .. -DCMAKE_BUILD_TYPE=Release
4848
make deb
49-
sudo dpkg -i numpcpp-dev-*.deb
49+
sudo dpkg -i numpycpp-dev-*.deb
5050
```
5151

5252
Headers are installed to `/usr/include/numpycpp/` along with CMake config. Consuming projects use:

bench/bench_numpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Reference numpy benchmarks for comparison with numpcpp bench_core.
1+
"""Reference numpy benchmarks for comparison with numpycpp bench_core.
22
33
Usage: python bench_numpy.py
44
"""

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Pytest fixtures and hooks for numpcpp precision alignment tests.
2+
Pytest fixtures and hooks for numpycpp precision alignment tests.
33
44
Usage:
55
pytest tests/ # run all tests
@@ -14,7 +14,7 @@
1414
def pytest_addoption(parser):
1515
parser.addoption(
1616
"--cpp-module", action="store", default=None,
17-
help="Python module name for the compiled C++ numpcpp library (default: numpcpp)",
17+
help="Python module name for the compiled C++ numpycpp library (default: numpycpp)",
1818
)
1919
parser.addoption(
2020
"--rtol", action="store", type=float, default=1e-12,
@@ -44,7 +44,7 @@ def _resolve_module_name(config) -> str:
4444

4545

4646
def get_cpp_module(request=None):
47-
"""Return the compiled numpcpp C++ module (lazy, cached)."""
47+
"""Return the compiled numpycpp C++ module (lazy, cached)."""
4848
global _cpp_module, _import_error
4949

5050
if _cpp_module is not None:

tests/module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// pybind11 module definition for numpcpp.
1+
// pybind11 module definition for numpycpp.
22
// Registers double + float32 overloads for every template function.
33
// All bindings use static_cast to disambiguate wrapper from native overloads in numpy::.
44

0 commit comments

Comments
 (0)