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.
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/PKG-INFO +3 -3
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/README.md +2 -2
- pdfdancer_client_python-0.3.2/docs/api-schemas/v0.yml +4945 -0
- pdfdancer_client_python-0.3.1/docs/openapi.yml → pdfdancer_client_python-0.3.2/docs/api-schemas/v1.yml +1433 -1006
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/pyproject.toml +1 -1
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/__init__.py +4 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/models.py +49 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/pdfdancer_v1.py +78 -3
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/types.py +8 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/PKG-INFO +3 -3
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/SOURCES.txt +3 -1
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_line.py +1 -4
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_paragraph.py +0 -3
- pdfdancer_client_python-0.3.2/tests/e2e/test_redact.py +287 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_singular_selection.py +0 -1
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_text_line_edit.py +1 -1
- pdfdancer_client_python-0.3.2/update-api-spec.sh +5 -0
- pdfdancer_client_python-0.3.1/update-api-spec.sh +0 -3
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.claude/commands/discuss.md +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.flake8 +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.github/workflows/ci.yml +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.github/workflows/daily-tests.yml +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/.gitignore +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/CLAUDE.md +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/LICENSE +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/NOTICE +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/TODO.md +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/check.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/media/logo-orange-512h.webp +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/media/logo-orange-60h.webp +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/release.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/setup.cfg +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/exceptions.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/fingerprint.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/image_builder.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/page_builder.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/paragraph_builder.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/path_builder.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer/text_line_builder.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/dependency_links.txt +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/requires.txt +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/src/pdfdancer_client_python.egg-info/top_level.txt +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/test.sh +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/__init__.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/conftest.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/__init__.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/pdf_assertions.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_acroform.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_bezier_builder.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_context_manager.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_form_x_objects.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_image.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_line_builder.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_new_pdf.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_page.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_path.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_path_builder.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_path_builder_rectangle.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_path_comprehensive.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_pdfdancer.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_positioning.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_rectangle_builder.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/e2e/test_snapshot.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/DancingScript-Regular.ttf +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/Empty.pdf +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/JetBrainsMono-Regular.ttf +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/Showcase.pdf +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/basic-paths.pdf +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/form-xobject-example.pdf +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/logo-80.png +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/fixtures/mixed-form-types.pdf +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_anonymous_token.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_fingerprint.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_models.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_openapi_compliance.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_path_models.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_pdf_object_equality.py +0 -0
- {pdfdancer_client_python-0.3.1 → pdfdancer_client_python-0.3.2}/tests/test_rate_limit.py +0 -0
- {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.
|
|
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=
|
|
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=
|
|
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=
|
|
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=
|
|
85
|
+
.at(page_number=1, x=72, y=730) \
|
|
86
86
|
.add()
|
|
87
87
|
|
|
88
88
|
pdf.new_image() \
|