Skip to content

Commit fe77e5d

Browse files
committed
rename package
1 parent cf85764 commit fe77e5d

10 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# LPDB-python
1+
# LPDB_python
22

33
[![CI](https://github.com/ElectricalBoy/LPDB_python/actions/workflows/ci.yml/badge.svg)](https://github.com/ElectricalBoy/LPDB_python/actions/workflows/ci.yml)
44
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
55
![GitHub License](https://img.shields.io/github/license/ElectricalBoy/LPDB-python)
66

7-
LPDB-python provides Python interfaces for the [Liquipedia Database API](https://liquipedia.net/api) (LPDB API).
7+
LPDB_python provides Python interfaces for the [Liquipedia Database API](https://liquipedia.net/api) (LPDB API).
88

99
## LPDB Session
1010

@@ -19,7 +19,7 @@ differences from making your own requests:
1919
- Pre-configured request header, including formatting of your API key in the request header
2020

2121
```python
22-
import lpdb
22+
import lpdb_python as lpdb
2323

2424
# These are equivalent
2525
session = lpdb.LpdbSession("your_lpdb_api_key")
@@ -41,7 +41,7 @@ where appropriate.
4141
### Example
4242

4343
```python
44-
import lpdb
44+
import lpdb_python as lpdb
4545

4646
session = lpdb.LpdbSession("your_lpdb_api_key")
4747

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools >= 80", "setuptools-scm[simple]>=8"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "lpdb"
6+
name = "lpdb_python"
77
dynamic = ["version"]
88
requires-python = ">= 3.12"
99
readme = "README.md"
File renamed without changes.

tests/test_async_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import pytest
44
import pytest_asyncio
55

6-
import lpdb
7-
from lpdb.async_session import AsyncLpdbSession
6+
import lpdb_python as lpdb
7+
from lpdb_python.async_session import AsyncLpdbSession
88

99
KEY = os.getenv("API_KEY")
1010

tests/test_data_wrapper.py

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

55
import pytest
66

7-
import lpdb
7+
import lpdb_python as lpdb
88

99

1010
@pytest.fixture

tests/test_session.py

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

33
import pytest
44

5-
import lpdb
5+
import lpdb_python as lpdb
66

77
KEY = os.getenv("API_KEY")
88

0 commit comments

Comments
 (0)