pdfdancer-client-python 0.2.13__tar.gz → 0.2.14__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.

Potentially problematic release.


This version of pdfdancer-client-python might be problematic. Click here for more details.

Files changed (50) hide show
  1. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/.github/workflows/ci.yml +3 -2
  2. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/PKG-INFO +7 -3
  3. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/README.md +1 -2
  4. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/pyproject.toml +8 -3
  5. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer/pdfdancer_v1.py +3 -0
  6. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer_client_python.egg-info/PKG-INFO +7 -3
  7. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer_client_python.egg-info/SOURCES.txt +0 -2
  8. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer_client_python.egg-info/requires.txt +5 -0
  9. pdfdancer_client_python-0.2.13/requirements-dev.txt +0 -17
  10. pdfdancer_client_python-0.2.13/requirements.txt +0 -4
  11. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/.claude/commands/discuss.md +0 -0
  12. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/.gitignore +0 -0
  13. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/CLAUDE.md +0 -0
  14. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/docs/openapi.yml +0 -0
  15. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/release.py +0 -0
  16. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/setup.cfg +0 -0
  17. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer/__init__.py +0 -0
  18. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer/exceptions.py +0 -0
  19. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer/image_builder.py +0 -0
  20. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer/models.py +0 -0
  21. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer/paragraph_builder.py +0 -0
  22. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer/types.py +0 -0
  23. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer_client_python.egg-info/dependency_links.txt +0 -0
  24. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/src/pdfdancer_client_python.egg-info/top_level.txt +0 -0
  25. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/__init__.py +0 -0
  26. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/conftest.py +0 -0
  27. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/__init__.py +0 -0
  28. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/pdf_assertions.py +0 -0
  29. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_acroform.py +0 -0
  30. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_form_x_objects.py +0 -0
  31. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_image.py +0 -0
  32. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_line.py +0 -0
  33. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_new_pdf.py +0 -0
  34. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_page.py +0 -0
  35. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_paragraph.py +0 -0
  36. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_path.py +0 -0
  37. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_pdfdancer.py +0 -0
  38. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/e2e/test_positioning.py +0 -0
  39. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/fixtures/DancingScript-Regular.ttf +0 -0
  40. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/fixtures/Empty.pdf +0 -0
  41. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/fixtures/JetBrainsMono-Regular.ttf +0 -0
  42. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/fixtures/ObviouslyAwesome.pdf +0 -0
  43. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/fixtures/basic-paths.pdf +0 -0
  44. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/fixtures/form-xobject-example.pdf +0 -0
  45. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/fixtures/logo-80.png +0 -0
  46. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/fixtures/mixed-form-types.pdf +0 -0
  47. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/test_models.py +0 -0
  48. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/test_openapi_compliance.py +0 -0
  49. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/test_pdf_object_equality.py +0 -0
  50. {pdfdancer_client_python-0.2.13 → pdfdancer_client_python-0.2.14}/tests/test_standard_fonts.py +0 -0
@@ -5,6 +5,8 @@ on:
5
5
  branches: [ main, staging, develop, development, dev ]
6
6
  pull_request:
7
7
  branches: [ main, staging, develop, development, dev ]
8
+ workflow_dispatch:
9
+
8
10
 
9
11
  jobs:
10
12
  test:
@@ -27,8 +29,7 @@ jobs:
27
29
  - name: Install dependencies
28
30
  run: |
29
31
  venv/bin/pip install --upgrade pip
30
- venv/bin/pip install -e .
31
- venv/bin/pip install -r requirements-dev.txt
32
+ venv/bin/pip install -e ".[dev]"
32
33
 
33
34
  - name: Run tests
34
35
  run: PDFDANCER_BASE_URL=https://api.staging.pdfdancer.com venv/bin/python -m pytest tests/ -v --ignore=tests/e2e/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pdfdancer-client-python
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: Python client for PDFDancer API
5
5
  Author-email: "The Famous Cat Ltd." <hi@thefamouscat.com>
6
6
  License: MIT
@@ -18,12 +18,17 @@ Description-Content-Type: text/markdown
18
18
  Requires-Dist: requests>=2.25.0
19
19
  Requires-Dist: pydantic>=1.8.0
20
20
  Requires-Dist: typing-extensions>=4.0.0
21
+ Requires-Dist: python-dotenv>=0.19.0
21
22
  Provides-Extra: dev
22
23
  Requires-Dist: pytest>=7.0; extra == "dev"
23
24
  Requires-Dist: pytest-cov>=4.0; extra == "dev"
25
+ Requires-Dist: pytest-mock>=3.10.0; extra == "dev"
24
26
  Requires-Dist: black>=22.0; extra == "dev"
25
27
  Requires-Dist: flake8>=5.0; extra == "dev"
26
28
  Requires-Dist: mypy>=1.0; extra == "dev"
29
+ Requires-Dist: isort>=5.10.0; extra == "dev"
30
+ Requires-Dist: build>=0.8.0; extra == "dev"
31
+ Requires-Dist: twine>=4.0.0; extra == "dev"
27
32
 
28
33
  # PDFDancer Python Client
29
34
 
@@ -182,8 +187,7 @@ Wrap complex workflows in `try/except` blocks to surface actionable errors to yo
182
187
  ```bash
183
188
  python -m venv venv
184
189
  source venv/bin/activate # Windows: venv\Scripts\activate
185
- pip install -e .
186
- pip install -r requirements-dev.txt
190
+ pip install -e ".[dev]"
187
191
 
188
192
  pytest -q # run the fast unit suite
189
193
  pytest tests/e2e # integration tests (requires live API + fixtures)
@@ -155,8 +155,7 @@ Wrap complex workflows in `try/except` blocks to surface actionable errors to yo
155
155
  ```bash
156
156
  python -m venv venv
157
157
  source venv/bin/activate # Windows: venv\Scripts\activate
158
- pip install -e .
159
- pip install -r requirements-dev.txt
158
+ pip install -e ".[dev]"
160
159
 
161
160
  pytest -q # run the fast unit suite
162
161
  pytest tests/e2e # integration tests (requires live API + fixtures)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pdfdancer-client-python"
7
- version = "0.2.13"
7
+ version = "0.2.14"
8
8
  description = "Python client for PDFDancer API"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -24,16 +24,21 @@ requires-python = ">=3.10"
24
24
  dependencies = [
25
25
  "requests>=2.25.0",
26
26
  "pydantic>=1.8.0",
27
- "typing-extensions>=4.0.0"
27
+ "typing-extensions>=4.0.0",
28
+ "python-dotenv>=0.19.0"
28
29
  ]
29
30
 
30
31
  [project.optional-dependencies]
31
32
  dev = [
32
33
  "pytest>=7.0",
33
34
  "pytest-cov>=4.0",
35
+ "pytest-mock>=3.10.0",
34
36
  "black>=22.0",
35
37
  "flake8>=5.0",
36
- "mypy>=1.0"
38
+ "mypy>=1.0",
39
+ "isort>=5.10.0",
40
+ "build>=0.8.0",
41
+ "twine>=4.0.0"
37
42
  ]
38
43
 
39
44
  [project.urls]
@@ -11,6 +11,9 @@ from pathlib import Path
11
11
  from typing import List, Optional, Union, BinaryIO, Mapping, Any
12
12
 
13
13
  import requests
14
+ from dotenv import load_dotenv
15
+
16
+ load_dotenv()
14
17
 
15
18
  from . import ParagraphBuilder
16
19
  from .exceptions import (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pdfdancer-client-python
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: Python client for PDFDancer API
5
5
  Author-email: "The Famous Cat Ltd." <hi@thefamouscat.com>
6
6
  License: MIT
@@ -18,12 +18,17 @@ Description-Content-Type: text/markdown
18
18
  Requires-Dist: requests>=2.25.0
19
19
  Requires-Dist: pydantic>=1.8.0
20
20
  Requires-Dist: typing-extensions>=4.0.0
21
+ Requires-Dist: python-dotenv>=0.19.0
21
22
  Provides-Extra: dev
22
23
  Requires-Dist: pytest>=7.0; extra == "dev"
23
24
  Requires-Dist: pytest-cov>=4.0; extra == "dev"
25
+ Requires-Dist: pytest-mock>=3.10.0; extra == "dev"
24
26
  Requires-Dist: black>=22.0; extra == "dev"
25
27
  Requires-Dist: flake8>=5.0; extra == "dev"
26
28
  Requires-Dist: mypy>=1.0; extra == "dev"
29
+ Requires-Dist: isort>=5.10.0; extra == "dev"
30
+ Requires-Dist: build>=0.8.0; extra == "dev"
31
+ Requires-Dist: twine>=4.0.0; extra == "dev"
27
32
 
28
33
  # PDFDancer Python Client
29
34
 
@@ -182,8 +187,7 @@ Wrap complex workflows in `try/except` blocks to surface actionable errors to yo
182
187
  ```bash
183
188
  python -m venv venv
184
189
  source venv/bin/activate # Windows: venv\Scripts\activate
185
- pip install -e .
186
- pip install -r requirements-dev.txt
190
+ pip install -e ".[dev]"
187
191
 
188
192
  pytest -q # run the fast unit suite
189
193
  pytest tests/e2e # integration tests (requires live API + fixtures)
@@ -3,8 +3,6 @@ CLAUDE.md
3
3
  README.md
4
4
  pyproject.toml
5
5
  release.py
6
- requirements-dev.txt
7
- requirements.txt
8
6
  .claude/commands/discuss.md
9
7
  .github/workflows/ci.yml
10
8
  docs/openapi.yml
@@ -1,10 +1,15 @@
1
1
  requests>=2.25.0
2
2
  pydantic>=1.8.0
3
3
  typing-extensions>=4.0.0
4
+ python-dotenv>=0.19.0
4
5
 
5
6
  [dev]
6
7
  pytest>=7.0
7
8
  pytest-cov>=4.0
9
+ pytest-mock>=3.10.0
8
10
  black>=22.0
9
11
  flake8>=5.0
10
12
  mypy>=1.0
13
+ isort>=5.10.0
14
+ build>=0.8.0
15
+ twine>=4.0.0
@@ -1,17 +0,0 @@
1
- # Development dependencies
2
- -r requirements.txt
3
-
4
- # Testing
5
- pytest>=7.0
6
- pytest-cov>=4.0
7
- pytest-mock>=3.10.0
8
-
9
- # Code quality
10
- black>=22.0
11
- flake8>=5.0
12
- mypy>=1.0
13
- isort>=5.10.0
14
-
15
- # Build tools
16
- build>=0.8.0
17
- twine>=4.0.0
@@ -1,4 +0,0 @@
1
- # Runtime dependencies
2
- requests>=2.25.0
3
- pydantic>=1.8.0
4
- typing-extensions>=4.0.0