enthusiast-source-wordpress 1.2.0__tar.gz → 1.4.0__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.
- {enthusiast_source_wordpress-1.2.0 → enthusiast_source_wordpress-1.4.0}/PKG-INFO +2 -2
- {enthusiast_source_wordpress-1.2.0 → enthusiast_source_wordpress-1.4.0}/enthusiast_source_wordpress/source.py +3 -2
- {enthusiast_source_wordpress-1.2.0 → enthusiast_source_wordpress-1.4.0}/pyproject.toml +2 -2
- {enthusiast_source_wordpress-1.2.0 → enthusiast_source_wordpress-1.4.0}/README.md +0 -0
- {enthusiast_source_wordpress-1.2.0 → enthusiast_source_wordpress-1.4.0}/enthusiast_source_wordpress/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: enthusiast-source-wordpress
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary: A plugin for Enthusiast that provides a Wordpress documents importer.
|
|
5
5
|
Author: Rafal Cymerys
|
|
6
6
|
Author-email: rafal@upsidelab.io
|
|
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.14
|
|
14
|
-
Requires-Dist: enthusiast-common (>=1.
|
|
14
|
+
Requires-Dist: enthusiast-common (>=1.7.0,<2)
|
|
15
15
|
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
|
|
@@ -12,11 +12,12 @@ logger = logging.getLogger(__name__)
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class WordpressConfig(RequiredFieldsModel):
|
|
15
|
-
base_url: str = Field(description="Base URL of the WordPress site")
|
|
16
|
-
user_agent: str = Field(default="", description="Custom User-Agent for requests")
|
|
15
|
+
base_url: str = Field(title="Base URL", description="Base URL of the WordPress site")
|
|
16
|
+
user_agent: str = Field(title="User agent", default="", description="Custom User-Agent for requests")
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class WordpressDocumentSource(DocumentSourcePlugin):
|
|
20
|
+
NAME = "WordPress"
|
|
20
21
|
CONFIGURATION_ARGS = WordpressConfig
|
|
21
22
|
|
|
22
23
|
def __init__(self, data_set_id, **kwargs):
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "enthusiast-source-wordpress"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.4.0"
|
|
4
4
|
description = "A plugin for Enthusiast that provides a Wordpress documents importer."
|
|
5
5
|
authors = ["Rafal Cymerys <rafal@upsidelab.io>"]
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
|
|
8
8
|
[tool.poetry.dependencies]
|
|
9
9
|
python = "^3.10"
|
|
10
|
-
enthusiast-common = ">=1.
|
|
10
|
+
enthusiast-common = ">=1.7.0,<2"
|
|
11
11
|
requests = "^2.32.3"
|
|
12
12
|
|
|
13
13
|
|
|
File without changes
|
|
File without changes
|