From f1c7d4005768079b0b8e8fac15ad9b191b700022 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Thu, 29 Jan 2026 17:12:55 +0800 Subject: chore: Rename project from pyo3_template to dropin and update related files --- src/dropin/__init__.py | 0 src/dropin/__main__.py | 8 ++++++++ src/dropin/_core.pyi | 3 +++ src/pyo3_template/__init__.py | 0 src/pyo3_template/__main__.py | 8 -------- src/pyo3_template/_core.pyi | 3 --- 6 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 src/dropin/__init__.py create mode 100644 src/dropin/__main__.py create mode 100644 src/dropin/_core.pyi delete mode 100644 src/pyo3_template/__init__.py delete mode 100644 src/pyo3_template/__main__.py delete mode 100644 src/pyo3_template/_core.pyi (limited to 'src') diff --git a/src/dropin/__init__.py b/src/dropin/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/dropin/__main__.py b/src/dropin/__main__.py new file mode 100644 index 0000000..0135c6d --- /dev/null +++ b/src/dropin/__main__.py @@ -0,0 +1,8 @@ +from ._core import sum_as_string + +def main(): + print(sum_as_string(1, 2)) + + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/src/dropin/_core.pyi b/src/dropin/_core.pyi new file mode 100644 index 0000000..4945a82 --- /dev/null +++ b/src/dropin/_core.pyi @@ -0,0 +1,3 @@ +def sum_as_string(self, a: int, b: int) -> str: ... + +class Base: ... \ No newline at end of file diff --git a/src/pyo3_template/__init__.py b/src/pyo3_template/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/src/pyo3_template/__main__.py b/src/pyo3_template/__main__.py deleted file mode 100644 index 0135c6d..0000000 --- a/src/pyo3_template/__main__.py +++ /dev/null @@ -1,8 +0,0 @@ -from ._core import sum_as_string - -def main(): - print(sum_as_string(1, 2)) - - -if __name__ == "__main__": - main() \ No newline at end of file diff --git a/src/pyo3_template/_core.pyi b/src/pyo3_template/_core.pyi deleted file mode 100644 index 4945a82..0000000 --- a/src/pyo3_template/_core.pyi +++ /dev/null @@ -1,3 +0,0 @@ -def sum_as_string(self, a: int, b: int) -> str: ... - -class Base: ... \ No newline at end of file -- cgit v1.2.3-70-g09d2