pdfdancer-client-python 0.3.1__tar.gz → 0.3.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 (79) hide show
  1. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/PKG-INFO +3 -3
  2. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/README.md +2 -2
  3. pdfdancer_client_python-0.3.2/docs/api-schemas/v0.yml +4945 -0
  4. pdfdancer_client_python-0.3.1/docs/openapi.yml → pdfdancer_client_python-0.3.2/docs/api-schemas/v1.yml +1433 -1006
  5. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/pyproject.toml +1 -1
  6. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/__init__.py +4 -0
  7. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/models.py +49 -0
  8. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/pdfdancer_v1.py +78 -3
  9. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/types.py +8 -0
  10. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/PKG-INFO +3 -3
  11. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/SOURCES.txt +3 -1
  12. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_line.py +1 -4
  13. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_paragraph.py +0 -3
  14. pdfdancer_client_python-0.3.2/tests/e2e/test_redact.py +287 -0
  15. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_singular_selection.py +0 -1
  16. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_text_line_edit.py +1 -1
  17. pdfdancer_client_python-0.3.2/update-api-spec.sh +5 -0
  18. pdfdancer_client_python-0.3.1/update-api-spec.sh +0 -3
  19. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.claude/commands/discuss.md +0 -0
  20. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.flake8 +0 -0
  21. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.github/workflows/ci.yml +0 -0
  22. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.github/workflows/daily-tests.yml +0 -0
  23. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.gitignore +0 -0
  24. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/CLAUDE.md +0 -0
  25. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/LICENSE +0 -0
  26. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/NOTICE +0 -0
  27. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/TODO.md +0 -0
  28. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/check.py +0 -0
  29. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/media/logo-orange-512h.webp +0 -0
  30. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/media/logo-orange-60h.webp +0 -0
  31. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/release.py +0 -0
  32. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/setup.cfg +0 -0
  33. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/exceptions.py +0 -0
  34. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/fingerprint.py +0 -0
  35. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/image_builder.py +0 -0
  36. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/page_builder.py +0 -0
  37. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/paragraph_builder.py +0 -0
  38. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/path_builder.py +0 -0
  39. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/text_line_builder.py +0 -0
  40. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/dependency_links.txt +0 -0
  41. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/requires.txt +0 -0
  42. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/top_level.txt +0 -0
  43. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/test.sh +0 -0
  44. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/__init__.py +0 -0
  45. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/conftest.py +0 -0
  46. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/__init__.py +0 -0
  47. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/pdf_assertions.py +0 -0
  48. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_acroform.py +0 -0
  49. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_bezier_builder.py +0 -0
  50. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_context_manager.py +0 -0
  51. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_form_x_objects.py +0 -0
  52. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_image.py +0 -0
  53. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_line_builder.py +0 -0
  54. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_new_pdf.py +0 -0
  55. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_page.py +0 -0
  56. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_path.py +0 -0
  57. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_path_builder.py +0 -0
  58. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_path_builder_rectangle.py +0 -0
  59. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_path_comprehensive.py +0 -0
  60. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_pdfdancer.py +0 -0
  61. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_positioning.py +0 -0
  62. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_rectangle_builder.py +0 -0
  63. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_snapshot.py +0 -0
  64. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/DancingScript-Regular.ttf +0 -0
  65. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/Empty.pdf +0 -0
  66. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/JetBrainsMono-Regular.ttf +0 -0
  67. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/Showcase.pdf +0 -0
  68. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/basic-paths.pdf +0 -0
  69. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/form-xobject-example.pdf +0 -0
  70. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/logo-80.png +0 -0
  71. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/mixed-form-types.pdf +0 -0
  72. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_anonymous_token.py +0 -0
  73. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_fingerprint.py +0 -0
  74. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_models.py +0 -0
  75. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_openapi_compliance.py +0 -0
  76. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_path_models.py +0 -0
  77. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_pdf_object_equality.py +0 -0
  78. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_rate_limit.py +0 -0
  79. {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_standard_fonts.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pdfdancer-client-python
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Python client for PDFDancer API
5
5
  Author-email: "The Famous Cat Ltd." <hi@thefamouscat.com>
6
6
  License:
@@ -300,7 +300,7 @@ with PDFDancer.open(
300
300
  .font(StandardFonts.HELVETICA, 12) \
301
301
  .color(Color(70, 70, 70)) \
302
302
  .line_spacing(1.4) \
303
- .at(page_number=0, x=72, y=520) \
303
+ .at(page_number=1, x=72, y=520) \
304
304
  .add()
305
305
 
306
306
  # Persist the modified document
@@ -321,7 +321,7 @@ with PDFDancer.new(token="your-api-token") as pdf:
321
321
  .font(StandardFonts.TIMES_BOLD, 18) \
322
322
  .color(Color(10, 10, 80)) \
323
323
  .line_spacing(1.2) \
324
- .at(page_number=0, x=72, y=730) \
324
+ .at(page_number=1, x=72, y=730) \
325
325
  .add()
326
326
 
327
327
  pdf.new_image() \
@@ -61,7 +61,7 @@ with PDFDancer.open(
61
61
  .font(StandardFonts.HELVETICA, 12) \
62
62
  .color(Color(70, 70, 70)) \
63
63
  .line_spacing(1.4) \
64
- .at(page_number=0, x=72, y=520) \
64
+ .at(page_number=1, x=72, y=520) \
65
65
  .add()
66
66
 
67
67
  # Persist the modified document
@@ -82,7 +82,7 @@ with PDFDancer.new(token="your-api-token") as pdf:
82
82
  .font(StandardFonts.TIMES_BOLD, 18) \
83
83
  .color(Color(10, 10, 80)) \
84
84
  .line_spacing(1.2) \
85
- .at(page_number=0, x=72, y=730) \
85
+ .at(page_number=1, x=72, y=730) \
86
86
  .add()
87
87
 
88
88
  pdf.new_image() \