pdfdancer-client-python 0.2.13__py3-none-any.whl → 0.2.14__py3-none-any.whl

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.

pdfdancer/pdfdancer_v1.py CHANGED
@@ -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,9 +3,9 @@ pdfdancer/exceptions.py,sha256=Y5zwNVZprsv2hvKX304cXWobJt11nrEhCzLklu2wiO8,1567
3
3
  pdfdancer/image_builder.py,sha256=Omxc2LcieJ1MbvWBXR5_sfia--eAucTUe0KWgr22HYo,842
4
4
  pdfdancer/models.py,sha256=yhatfgMWxYareL7J20Wz_6-V7oCzrqX35oZdNJ8UFJM,22984
5
5
  pdfdancer/paragraph_builder.py,sha256=pgFTkyhYrx4VQDKy4Vhp-042OMlJOD8D0MW9flkvC7Y,9410
6
- pdfdancer/pdfdancer_v1.py,sha256=_-twUSJ7IgIJbnQdK8eL8pgqSRb-psnd4KEXUL2oIEI,53250
6
+ pdfdancer/pdfdancer_v1.py,sha256=uHcn-Thh5dQA8FnC-YojwkfzdGokYeQEUyiz41lut2c,53296
7
7
  pdfdancer/types.py,sha256=SOmYP49XPVy6DZ4JXSJrfy0Aww-Tv7QjZCDnOB8VTT4,11860
8
- pdfdancer_client_python-0.2.13.dist-info/METADATA,sha256=nuaEmk4zdhsmAUw3jPu7Sn1vnUFSfvYKDxhVNXC0sus,6868
9
- pdfdancer_client_python-0.2.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- pdfdancer_client_python-0.2.13.dist-info/top_level.txt,sha256=ICwSVRpcCKrdBF9QlaX9Y0e_N3Nk1p7QVxadGOnbxeY,10
11
- pdfdancer_client_python-0.2.13.dist-info/RECORD,,
8
+ pdfdancer_client_python-0.2.14.dist-info/METADATA,sha256=Pqhnjgfz_SoLD0zOJNAGg-otbszgdc4HG39v1iRGgf4,7060
9
+ pdfdancer_client_python-0.2.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ pdfdancer_client_python-0.2.14.dist-info/top_level.txt,sha256=ICwSVRpcCKrdBF9QlaX9Y0e_N3Nk1p7QVxadGOnbxeY,10
11
+ pdfdancer_client_python-0.2.14.dist-info/RECORD,,