lpdb_python 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/PKG-INFO +3 -3
  2. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/README.md +2 -2
  3. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python/async_session/async_session.py +0 -2
  4. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python/session.py +0 -1
  5. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python.egg-info/PKG-INFO +3 -3
  6. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/.github/workflows/ci.yml +0 -0
  7. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/.github/workflows/publish.yml +0 -0
  8. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/.gitignore +0 -0
  9. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/LICENSE +0 -0
  10. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/pyproject.toml +0 -0
  11. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/setup.cfg +0 -0
  12. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python/__init__.py +0 -0
  13. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python/async_session/__init__.py +0 -0
  14. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python/defs.py +0 -0
  15. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python.egg-info/SOURCES.txt +0 -0
  16. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python.egg-info/dependency_links.txt +0 -0
  17. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python.egg-info/requires.txt +0 -0
  18. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/src/lpdb_python.egg-info/top_level.txt +0 -0
  19. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/tests/data/sample_match_data.json +0 -0
  20. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/tests/test_async_session.py +0 -0
  21. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/tests/test_data_wrapper.py +0 -0
  22. {lpdb_python-0.1.1 → lpdb_python-0.1.2}/tests/test_session.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lpdb_python
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Author-email: ElectricalBoy <electricalboy01@gmail.com>
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://github.com/ElectricalBoy/LPDB_python
@@ -27,7 +27,7 @@ LPDB_python provides Python interfaces for the [Liquipedia Database API](https:/
27
27
 
28
28
  ## LPDB Session
29
29
 
30
- Python wrapper for LPDB session is defined in [session.py](src/lpdb/session.py). The wrapper provides the following
30
+ Python wrapper for LPDB session is defined in [session.py](src/lpdb_python/session.py). The wrapper provides the following
31
31
  differences from making your own requests:
32
32
 
33
33
  - Type hints
@@ -50,7 +50,7 @@ differences from making your own requests:
50
50
  Data types in LPDB can be found in <https://liquipedia.net/commons/Help:LiquipediaDB>.
51
51
 
52
52
  The raw data returned from LPDB may not be in the corresponding Python types. To help easily access the data,
53
- [defs.py](src/lpdb/defs.py) file provides wrappers for each available data types that offers converted data
53
+ [defs.py](src/lpdb_python/defs.py) file provides wrappers for each available data types that offers converted data
54
54
  as object properties.
55
55
 
56
56
  A property provided by the wrapper may be `None` if the raw data passed to the constructor of the wrapper
@@ -9,7 +9,7 @@ LPDB_python provides Python interfaces for the [Liquipedia Database API](https:/
9
9
 
10
10
  ## LPDB Session
11
11
 
12
- Python wrapper for LPDB session is defined in [session.py](src/lpdb/session.py). The wrapper provides the following
12
+ Python wrapper for LPDB session is defined in [session.py](src/lpdb_python/session.py). The wrapper provides the following
13
13
  differences from making your own requests:
14
14
 
15
15
  - Type hints
@@ -32,7 +32,7 @@ differences from making your own requests:
32
32
  Data types in LPDB can be found in <https://liquipedia.net/commons/Help:LiquipediaDB>.
33
33
 
34
34
  The raw data returned from LPDB may not be in the corresponding Python types. To help easily access the data,
35
- [defs.py](src/lpdb/defs.py) file provides wrappers for each available data types that offers converted data
35
+ [defs.py](src/lpdb_python/defs.py) file provides wrappers for each available data types that offers converted data
36
36
  as object properties.
37
37
 
38
38
  A property provided by the wrapper may be `None` if the raw data passed to the constructor of the wrapper
@@ -1,5 +1,4 @@
1
1
  from datetime import date
2
- from http import HTTPStatus
3
2
  from types import TracebackType
4
3
  from typing import Any, Literal, Optional, override
5
4
 
@@ -50,7 +49,6 @@ class AsyncLpdbSession(AbstractLpdbSession):
50
49
  async with aiohttp.ClientSession("https://liquipedia.net/") as session:
51
50
  async with session.get(
52
51
  "api.php",
53
- params={"action": "listwikis"},
54
52
  headers={"accept": "application/json", "accept-encoding": "gzip"},
55
53
  ) as response:
56
54
  wikis = await response.json()
@@ -312,7 +312,6 @@ class LpdbSession(AbstractLpdbSession):
312
312
  def get_wikis() -> set[str]:
313
313
  response = requests.get(
314
314
  "https://liquipedia.net/api.php",
315
- params={"action": "listwikis"},
316
315
  headers={"accept": "application/json", "accept-encoding": "gzip"},
317
316
  )
318
317
  wikis = response.json()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lpdb_python
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Author-email: ElectricalBoy <electricalboy01@gmail.com>
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://github.com/ElectricalBoy/LPDB_python
@@ -27,7 +27,7 @@ LPDB_python provides Python interfaces for the [Liquipedia Database API](https:/
27
27
 
28
28
  ## LPDB Session
29
29
 
30
- Python wrapper for LPDB session is defined in [session.py](src/lpdb/session.py). The wrapper provides the following
30
+ Python wrapper for LPDB session is defined in [session.py](src/lpdb_python/session.py). The wrapper provides the following
31
31
  differences from making your own requests:
32
32
 
33
33
  - Type hints
@@ -50,7 +50,7 @@ differences from making your own requests:
50
50
  Data types in LPDB can be found in <https://liquipedia.net/commons/Help:LiquipediaDB>.
51
51
 
52
52
  The raw data returned from LPDB may not be in the corresponding Python types. To help easily access the data,
53
- [defs.py](src/lpdb/defs.py) file provides wrappers for each available data types that offers converted data
53
+ [defs.py](src/lpdb_python/defs.py) file provides wrappers for each available data types that offers converted data
54
54
  as object properties.
55
55
 
56
56
  A property provided by the wrapper may be `None` if the raw data passed to the constructor of the wrapper
File without changes
File without changes
File without changes
File without changes