diff --git a/pyproject.toml b/pyproject.toml index c2d28c5..422fd89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "sparql-fastapi" +name = "rdfproxy" version = "0.1.0" description = "" authors = ["Your Name "] diff --git a/rdfproxy/__init__.py b/rdfproxy/__init__.py new file mode 100644 index 0000000..0f4cc3c --- /dev/null +++ b/rdfproxy/__init__.py @@ -0,0 +1 @@ +from rdfproxy.adapter import SPARQLModelAdapter diff --git a/sparql_fastapi/adapter.py b/rdfproxy/adapter.py similarity index 93% rename from sparql_fastapi/adapter.py rename to rdfproxy/adapter.py index ce67dec..dd557b8 100644 --- a/sparql_fastapi/adapter.py +++ b/rdfproxy/adapter.py @@ -4,8 +4,8 @@ from SPARQLWrapper import JSON, QueryResult, SPARQLWrapper from pydantic import BaseModel -from sparql_fastapi.utils._types import _TModelConstructorCallable -from sparql_fastapi.utils.utils import ( +from rdfproxy.utils._types import _TModelConstructorCallable +from rdfproxy.utils.utils import ( get_bindings_from_query_result, instantiate_model_from_kwargs, ) diff --git a/sparql_fastapi/utils/_types.py b/rdfproxy/utils/_types.py similarity index 100% rename from sparql_fastapi/utils/_types.py rename to rdfproxy/utils/_types.py diff --git a/sparql_fastapi/utils/utils.py b/rdfproxy/utils/utils.py similarity index 100% rename from sparql_fastapi/utils/utils.py rename to rdfproxy/utils/utils.py diff --git a/sparql_fastapi/__init__.py b/sparql_fastapi/__init__.py deleted file mode 100644 index 00f3d28..0000000 --- a/sparql_fastapi/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from sparql_fastapi.adapter import SPARQLModelAdapter