Skip to content

Commit 79afb6c

Browse files
committed
rename: real_ladybug -> ladybug
1 parent a902cdb commit 79afb6c

26 files changed

+39
-39
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
CMAKE_CXX_COMPILER_LAUNCHER: ccache
7878
run: |
7979
make python
80-
cp tools/python_api/src_py/*.py tools/python_api/build/real_ladybug/
80+
cp tools/python_api/src_py/*.py tools/python_api/build/ladybug/
8181
8282
- name: Run pytest
8383
working-directory: ladybug/tools/python_api

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ pybind11_add_module(_lbug
2929

3030
set_target_properties(_lbug
3131
PROPERTIES
32-
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/build/real_ladybug"
33-
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/build/real_ladybug"
34-
ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/build/real_ladybug")
32+
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/build/ladybug"
33+
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/build/ladybug"
34+
ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/build/ladybug")
3535

3636
target_link_libraries(_lbug
3737
PRIVATE

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ check: requirements
4242
format: requirements
4343
$(VENV_BIN)/ruff format src_py test
4444

45-
build: ## Compile real_ladybug (and install in 'build') for Python
45+
build: ## Compile ladybug (and install in 'build') for Python
4646
$(MAKE) -C ../../ python
47-
cp src_py/*.py build/real_ladybug/
47+
cp src_py/*.py build/ladybug/
4848

4949
test: requirements ## Run the Python unit tests
50-
cp src_py/*.py build/real_ladybug/ && cd build
50+
cp src_py/*.py build/ladybug/ && cd build
5151
$(VENV_BIN)/pytest test
5252

5353
help: ## Display this help information

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "real_ladybug"
2+
name = "ladybug"
33
description = "Highly scalable, extremely fast, easy-to-use embeddable graph database"
44
readme = "README.md"
55
license = { text = "MIT" }

src_py/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
66
To install the package, run:
77
```
8-
python3 -m pip install real_ladybug
8+
python3 -m pip install ladybug
99
```
1010
1111
Example usage:
1212
```python
13-
import real_ladybug as lb
13+
import ladybug as lb
1414
1515
db = lb.Database("./test")
1616
conn = lb.Connection(db)

test/benchmark_arrow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515

1616
python_build_dir = Path(__file__).parent.parent / "build"
1717
try:
18-
import real_ladybug as lb
18+
import ladybug as lb
1919
except ModuleNotFoundError:
2020
sys.path.append(str(python_build_dir))
21-
import real_ladybug as lb
21+
import ladybug as lb
2222

2323

2424
def parse_args() -> argparse.Namespace:

test/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
python_build_dir = Path(__file__).parent.parent / "build"
1313
try:
14-
import real_ladybug as lb
14+
import ladybug as lb
1515
except ModuleNotFoundError:
1616
sys.path.append(str(python_build_dir))
17-
import real_ladybug as lb
17+
import ladybug as lb
1818

1919
if TYPE_CHECKING:
2020
from type_aliases import ConnDB

test/ground_truth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from datetime import date, datetime, timedelta
22
from uuid import UUID
33

4-
from real_ladybug.constants import ID, LABEL
4+
from ladybug.constants import ID, LABEL
55

66
TINY_SNB_PERSONS_GROUND_TRUTH = {
77
0: {

test/test_arrow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
import pyarrow as pa
1212
import pytest
1313
import pytz
14-
import real_ladybug as lb
14+
import ladybug as lb
1515
from pandas import Timestamp
16-
from real_ladybug.constants import DST, ID, LABEL, NODES, SRC
16+
from ladybug.constants import DST, ID, LABEL, NODES, SRC
1717
from type_aliases import ConnDB
1818

1919
_expected_dtypes = {

test/test_async_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import pyarrow as pa
55
import pytest
6-
import real_ladybug as lb
6+
import ladybug as lb
77

88

99
@pytest.mark.asyncio

0 commit comments

Comments
 (0)