wp_python 0.1.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.
- wp_python-0.1.0/.gitignore +25 -0
- wp_python-0.1.0/.local/state/replit/agent/.agent_state_2ddded56ae980e3f29e14d5e8c13009fb4ad1a4f.bin +0 -0
- wp_python-0.1.0/.local/state/replit/agent/.agent_state_6fef9536b7d5d424352266929f9e8d3c0d730d2e.bin +0 -0
- wp_python-0.1.0/.local/state/replit/agent/.agent_state_78b84fafd6a75604a1d57a28ac963d49da322f72.bin +0 -0
- wp_python-0.1.0/.local/state/replit/agent/.agent_state_7def335c85217e842310c4b479ef939993f05120.bin +0 -0
- wp_python-0.1.0/.local/state/replit/agent/.agent_state_7e6838273eb88dceaa7b3e6af3caf02d797c204f.bin +0 -0
- wp_python-0.1.0/.local/state/replit/agent/.agent_state_875dbf9e16939f4b7e5f45c84b36d817380cdd10.bin +0 -0
- wp_python-0.1.0/.local/state/replit/agent/.agent_state_b4b41f6ffde7a22231d122e2e7e07c47643d4d88.bin +0 -0
- wp_python-0.1.0/.local/state/replit/agent/.agent_state_da50bf0e1d6cb24664d2feeaccd7efc1e9910e02.bin +0 -0
- wp_python-0.1.0/.local/state/replit/agent/.agent_state_main.bin +0 -0
- wp_python-0.1.0/.local/state/replit/agent/.latest.json +1 -0
- wp_python-0.1.0/.local/state/replit/agent/repl_state.bin +0 -0
- wp_python-0.1.0/.replit +30 -0
- wp_python-0.1.0/PKG-INFO +12 -0
- wp_python-0.1.0/data.db +0 -0
- wp_python-0.1.0/demo.py +604 -0
- wp_python-0.1.0/main.py +6 -0
- wp_python-0.1.0/pyproject.toml +26 -0
- wp_python-0.1.0/pytest.ini +6 -0
- wp_python-0.1.0/replit.md +87 -0
- wp_python-0.1.0/src/wordpress_api/__init__.py +31 -0
- wp_python-0.1.0/src/wordpress_api/auth.py +174 -0
- wp_python-0.1.0/src/wordpress_api/client.py +293 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/__init__.py +43 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/application_passwords.py +235 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/autosaves.py +106 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/base.py +117 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/blocks.py +107 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/categories.py +91 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/comments.py +127 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/media.py +164 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/menus.py +120 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/pages.py +109 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/plugins.py +89 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/post_types.py +61 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/posts.py +131 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/revisions.py +121 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/search.py +81 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/settings.py +55 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/statuses.py +56 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/tags.py +79 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/taxonomies.py +41 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/themes.py +51 -0
- wp_python-0.1.0/src/wordpress_api/endpoints/users.py +129 -0
- wp_python-0.1.0/src/wordpress_api/exceptions.py +79 -0
- wp_python-0.1.0/src/wordpress_api/models/__init__.py +49 -0
- wp_python-0.1.0/src/wordpress_api/models/base.py +65 -0
- wp_python-0.1.0/src/wordpress_api/models/category.py +41 -0
- wp_python-0.1.0/src/wordpress_api/models/comment.py +75 -0
- wp_python-0.1.0/src/wordpress_api/models/media.py +108 -0
- wp_python-0.1.0/src/wordpress_api/models/menu.py +83 -0
- wp_python-0.1.0/src/wordpress_api/models/page.py +80 -0
- wp_python-0.1.0/src/wordpress_api/models/plugin.py +36 -0
- wp_python-0.1.0/src/wordpress_api/models/post.py +112 -0
- wp_python-0.1.0/src/wordpress_api/models/settings.py +32 -0
- wp_python-0.1.0/src/wordpress_api/models/tag.py +38 -0
- wp_python-0.1.0/src/wordpress_api/models/taxonomy.py +49 -0
- wp_python-0.1.0/src/wordpress_api/models/theme.py +50 -0
- wp_python-0.1.0/src/wordpress_api/models/user.py +82 -0
- wp_python-0.1.0/tests/__init__.py +1 -0
- wp_python-0.1.0/tests/conftest.py +243 -0
- wp_python-0.1.0/tests/test_application_passwords.py +167 -0
- wp_python-0.1.0/tests/test_auth.py +146 -0
- wp_python-0.1.0/tests/test_client.py +120 -0
- wp_python-0.1.0/tests/test_endpoints.py +294 -0
- wp_python-0.1.0/tests/test_exceptions.py +142 -0
- wp_python-0.1.0/tests/test_models.py +281 -0
- wp_python-0.1.0/uv.lock +894 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.py[cod]
|
|
3
|
+
*$py.class
|
|
4
|
+
*.so
|
|
5
|
+
.Python
|
|
6
|
+
build/
|
|
7
|
+
develop-eggs/
|
|
8
|
+
dist/
|
|
9
|
+
downloads/
|
|
10
|
+
eggs/
|
|
11
|
+
.eggs/
|
|
12
|
+
lib/
|
|
13
|
+
lib64/
|
|
14
|
+
parts/
|
|
15
|
+
sdist/
|
|
16
|
+
var/
|
|
17
|
+
wheels/
|
|
18
|
+
*.egg-info/
|
|
19
|
+
.installed.cfg
|
|
20
|
+
*.egg
|
|
21
|
+
.env
|
|
22
|
+
.venv
|
|
23
|
+
env/
|
|
24
|
+
venv/
|
|
25
|
+
.cache/
|
wp_python-0.1.0/.local/state/replit/agent/.agent_state_2ddded56ae980e3f29e14d5e8c13009fb4ad1a4f.bin
ADDED
|
Binary file
|
wp_python-0.1.0/.local/state/replit/agent/.agent_state_6fef9536b7d5d424352266929f9e8d3c0d730d2e.bin
ADDED
|
Binary file
|
wp_python-0.1.0/.local/state/replit/agent/.agent_state_78b84fafd6a75604a1d57a28ac963d49da322f72.bin
ADDED
|
Binary file
|
wp_python-0.1.0/.local/state/replit/agent/.agent_state_7def335c85217e842310c4b479ef939993f05120.bin
ADDED
|
Binary file
|
wp_python-0.1.0/.local/state/replit/agent/.agent_state_7e6838273eb88dceaa7b3e6af3caf02d797c204f.bin
ADDED
|
Binary file
|
wp_python-0.1.0/.local/state/replit/agent/.agent_state_875dbf9e16939f4b7e5f45c84b36d817380cdd10.bin
ADDED
|
Binary file
|
wp_python-0.1.0/.local/state/replit/agent/.agent_state_b4b41f6ffde7a22231d122e2e7e07c47643d4d88.bin
ADDED
|
Binary file
|
wp_python-0.1.0/.local/state/replit/agent/.agent_state_da50bf0e1d6cb24664d2feeaccd7efc1e9910e02.bin
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"latest": "main"}
|
|
Binary file
|
wp_python-0.1.0/.replit
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
modules = ["python-3.12"]
|
|
2
|
+
[agent]
|
|
3
|
+
expertMode = true
|
|
4
|
+
|
|
5
|
+
[workflows]
|
|
6
|
+
runButton = "Project"
|
|
7
|
+
|
|
8
|
+
[[workflows.workflow]]
|
|
9
|
+
name = "Project"
|
|
10
|
+
mode = "parallel"
|
|
11
|
+
author = "agent"
|
|
12
|
+
|
|
13
|
+
[[workflows.workflow.tasks]]
|
|
14
|
+
task = "workflow.run"
|
|
15
|
+
args = "Run Tests"
|
|
16
|
+
|
|
17
|
+
[[workflows.workflow]]
|
|
18
|
+
name = "Run Tests"
|
|
19
|
+
author = "agent"
|
|
20
|
+
|
|
21
|
+
[[workflows.workflow.tasks]]
|
|
22
|
+
task = "shell.exec"
|
|
23
|
+
args = "python -m pytest tests/ -v"
|
|
24
|
+
|
|
25
|
+
[workflows.workflow.metadata]
|
|
26
|
+
outputType = "console"
|
|
27
|
+
|
|
28
|
+
[nix]
|
|
29
|
+
channel = "stable-25_05"
|
|
30
|
+
packages = ["libxcrypt"]
|
wp_python-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: wp_python
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A Python client for interacting with the WordPress REST API.
|
|
5
|
+
Requires-Python: >=3.12
|
|
6
|
+
Requires-Dist: django-wordpress-api>=0.2.0
|
|
7
|
+
Requires-Dist: hatch>=1.16.3
|
|
8
|
+
Requires-Dist: httpx>=0.28.1
|
|
9
|
+
Requires-Dist: pydantic>=2.12.5
|
|
10
|
+
Requires-Dist: pytest-mock>=3.15.1
|
|
11
|
+
Requires-Dist: pytest>=9.0.2
|
|
12
|
+
Requires-Dist: respx>=0.22.0
|
wp_python-0.1.0/data.db
ADDED
|
Binary file
|