mangalib-python-sdk 0.2.0__tar.gz → 0.2.1__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.
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/PKG-INFO +10 -1
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/README.md +9 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/pyproject.toml +1 -1
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/pyproject.toml.orig +1 -1
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/exporters/__init__.py +2 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/__init__.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/_http.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/cache.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/catalog.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/client.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/exceptions.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/exporters/_shared.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/exporters/_writing.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/exporters/cbz.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/exporters/pdf.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/images.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/models.py +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/py.typed +0 -0
- {mangalib_python_sdk-0.2.0 → mangalib_python_sdk-0.2.1}/src/mangalib/sdk.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mangalib-python-sdk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Async Python SDK for mangalib.me: title metadata, chapters, translations, catalog and page images
|
|
5
5
|
Keywords: mangalib,manga,manhwa,comics,lib.social,sdk
|
|
6
6
|
Author: LLIJIYAPNIK
|
|
@@ -104,6 +104,15 @@ async with Catalog() as catalog:
|
|
|
104
104
|
- `chapter_size()` / `volume_size()` give the exact size of the page images, from `HEAD`
|
|
105
105
|
requests; `estimate_title_size()` extrapolates from a sample of chapters.
|
|
106
106
|
|
|
107
|
+
## Examples
|
|
108
|
+
|
|
109
|
+
Complete, runnable scripts for every feature above — title metadata, table of contents,
|
|
110
|
+
chapters and volumes, translations and closed chapters, whole-title download, page images
|
|
111
|
+
and image servers, export to CBZ/PDF and to a format of your own, sizes, the catalog, disk
|
|
112
|
+
caching and error handling — live in
|
|
113
|
+
**[`examples/mangalib/`](https://github.com/LLIJIYAPNIK/libsocial-sdk/tree/main/examples/mangalib)**,
|
|
114
|
+
one heavily commented file per feature.
|
|
115
|
+
|
|
107
116
|
## Documentation
|
|
108
117
|
|
|
109
118
|
Full API reference: **<https://LLIJIYAPNIK.github.io/libsocial-sdk/>**. What the API
|
|
@@ -75,6 +75,15 @@ async with Catalog() as catalog:
|
|
|
75
75
|
- `chapter_size()` / `volume_size()` give the exact size of the page images, from `HEAD`
|
|
76
76
|
requests; `estimate_title_size()` extrapolates from a sample of chapters.
|
|
77
77
|
|
|
78
|
+
## Examples
|
|
79
|
+
|
|
80
|
+
Complete, runnable scripts for every feature above — title metadata, table of contents,
|
|
81
|
+
chapters and volumes, translations and closed chapters, whole-title download, page images
|
|
82
|
+
and image servers, export to CBZ/PDF and to a format of your own, sizes, the catalog, disk
|
|
83
|
+
caching and error handling — live in
|
|
84
|
+
**[`examples/mangalib/`](https://github.com/LLIJIYAPNIK/libsocial-sdk/tree/main/examples/mangalib)**,
|
|
85
|
+
one heavily commented file per feature.
|
|
86
|
+
|
|
78
87
|
## Documentation
|
|
79
88
|
|
|
80
89
|
Full API reference: **<https://LLIJIYAPNIK.github.io/libsocial-sdk/>**. What the API
|
|
@@ -17,6 +17,8 @@ from typing import ClassVar, Protocol, TypeVar, runtime_checkable
|
|
|
17
17
|
|
|
18
18
|
from mangalib.models import Chapter, Title
|
|
19
19
|
|
|
20
|
+
__all__ = ["EXPORTERS", "Exporter", "FetchPages", "register"]
|
|
21
|
+
|
|
20
22
|
FetchPages = Callable[[Chapter], Awaitable[list[bytes]]]
|
|
21
23
|
"""Downloads a chapter's page images, in reading order — ``MangaLib.download_pages()``."""
|
|
22
24
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|