validpay 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.
validpay-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 MiLu Technologies LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,76 @@
1
+ Metadata-Version: 2.4
2
+ Name: validpay
3
+ Version: 0.1.0
4
+ Summary: Official Python SDK for ValidPay — AI-powered document verification platform
5
+ Project-URL: Homepage, https://validpay.io
6
+ Project-URL: Documentation, https://validpay.io/docs
7
+ Project-URL: Repository, https://github.com/ValidPay-io/validpay-python-sdk
8
+ Project-URL: Issues, https://github.com/ValidPay-io/validpay-python-sdk/issues
9
+ Author-email: MiLu Technologies LLC <mike@validpay.io>
10
+ License-Expression: MIT
11
+ License-File: LICENSE
12
+ Keywords: check-verification,document-verification,fintech,qr-code,validpay
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.8
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Topic :: Office/Business :: Financial
23
+ Classifier: Topic :: Security
24
+ Requires-Python: >=3.8
25
+ Requires-Dist: requests>=2.25.0
26
+ Description-Content-Type: text/markdown
27
+
28
+ # ValidPay Python SDK
29
+
30
+ Official Python SDK for [ValidPay](https://validpay.io) — AI-powered document verification platform.
31
+
32
+ > **Private Beta** — This SDK is currently in private beta. Contact mike@validpay.io for API access.
33
+
34
+ ## Installation
35
+
36
+ ```bash
37
+ pip install validpay
38
+ ```
39
+
40
+ ## Quick Start
41
+
42
+ ```python
43
+ from validpay import ValidPayClient
44
+
45
+ client = ValidPayClient(api_key="your-api-key")
46
+
47
+ # Verify a document image
48
+ result = client.verify_document(image_path="check.png")
49
+ print(result["status"]) # "authentic" or "unverified"
50
+
51
+ # Decode a ValidPay QR code
52
+ decoded = client.decode_qr(qr_data="validpay://...")
53
+ print(decoded["document_type"])
54
+ ```
55
+
56
+ ## Features
57
+
58
+ - Document verification via image upload
59
+ - QR code decoding and validation
60
+ - Check authenticity verification
61
+ - Patent-pending AI-powered analysis
62
+
63
+ ## Requirements
64
+
65
+ - Python 3.8+
66
+ - Active ValidPay API key
67
+
68
+ ## Links
69
+
70
+ - Website: https://validpay.io
71
+ - Documentation: https://validpay.io/docs
72
+ - Support: mike@validpay.io
73
+
74
+ ## License
75
+
76
+ MIT — Copyright (c) 2026 MiLu Technologies LLC
@@ -0,0 +1,49 @@
1
+ # ValidPay Python SDK
2
+
3
+ Official Python SDK for [ValidPay](https://validpay.io) — AI-powered document verification platform.
4
+
5
+ > **Private Beta** — This SDK is currently in private beta. Contact mike@validpay.io for API access.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ pip install validpay
11
+ ```
12
+
13
+ ## Quick Start
14
+
15
+ ```python
16
+ from validpay import ValidPayClient
17
+
18
+ client = ValidPayClient(api_key="your-api-key")
19
+
20
+ # Verify a document image
21
+ result = client.verify_document(image_path="check.png")
22
+ print(result["status"]) # "authentic" or "unverified"
23
+
24
+ # Decode a ValidPay QR code
25
+ decoded = client.decode_qr(qr_data="validpay://...")
26
+ print(decoded["document_type"])
27
+ ```
28
+
29
+ ## Features
30
+
31
+ - Document verification via image upload
32
+ - QR code decoding and validation
33
+ - Check authenticity verification
34
+ - Patent-pending AI-powered analysis
35
+
36
+ ## Requirements
37
+
38
+ - Python 3.8+
39
+ - Active ValidPay API key
40
+
41
+ ## Links
42
+
43
+ - Website: https://validpay.io
44
+ - Documentation: https://validpay.io/docs
45
+ - Support: mike@validpay.io
46
+
47
+ ## License
48
+
49
+ MIT — Copyright (c) 2026 MiLu Technologies LLC
@@ -0,0 +1,37 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "validpay"
7
+ version = "0.1.0"
8
+ description = "Official Python SDK for ValidPay — AI-powered document verification platform"
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ requires-python = ">=3.8"
12
+ authors = [
13
+ { name = "MiLu Technologies LLC", email = "mike@validpay.io" }
14
+ ]
15
+ keywords = ["validpay", "document-verification", "check-verification", "qr-code", "fintech"]
16
+ classifiers = [
17
+ "Development Status :: 3 - Alpha",
18
+ "Intended Audience :: Developers",
19
+ "License :: OSI Approved :: MIT License",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.8",
22
+ "Programming Language :: Python :: 3.9",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
26
+ "Topic :: Office/Business :: Financial",
27
+ "Topic :: Security",
28
+ ]
29
+ dependencies = [
30
+ "requests>=2.25.0",
31
+ ]
32
+
33
+ [project.urls]
34
+ Homepage = "https://validpay.io"
35
+ Documentation = "https://validpay.io/docs"
36
+ Repository = "https://github.com/ValidPay-io/validpay-python-sdk"
37
+ Issues = "https://github.com/ValidPay-io/validpay-python-sdk/issues"
@@ -0,0 +1,15 @@
1
+ """
2
+ ValidPay Python SDK — AI-powered document verification.
3
+
4
+ Usage:
5
+ from validpay import ValidPayClient
6
+
7
+ client = ValidPayClient(api_key="your-api-key")
8
+ result = client.verify_document(image_path="check.png")
9
+ """
10
+
11
+ __version__ = "0.1.0"
12
+
13
+ from .client import ValidPayClient
14
+
15
+ __all__ = ["ValidPayClient", "__version__"]
@@ -0,0 +1,95 @@
1
+ """ValidPay API client."""
2
+
3
+ import requests
4
+ from typing import Optional, Dict, Any
5
+
6
+
7
+ class ValidPayClient:
8
+ """
9
+ Official ValidPay Python client for document verification.
10
+
11
+ This SDK is currently in private beta. Contact mike@validpay.io
12
+ for API access.
13
+
14
+ Usage:
15
+ from validpay import ValidPayClient
16
+
17
+ client = ValidPayClient(api_key="your-api-key")
18
+ result = client.verify_document(image_path="check.png")
19
+ print(result.status) # "authentic" or "unverified"
20
+ """
21
+
22
+ BASE_URL = "https://api.validpay.io/v1"
23
+
24
+ def __init__(self, api_key: str, base_url: Optional[str] = None):
25
+ """
26
+ Initialize the ValidPay client.
27
+
28
+ Args:
29
+ api_key: Your ValidPay API key (contact mike@validpay.io for access)
30
+ base_url: Optional custom API base URL
31
+ """
32
+ self.api_key = api_key
33
+ self.base_url = base_url or self.BASE_URL
34
+ self._session = requests.Session()
35
+ self._session.headers.update({
36
+ "Authorization": f"Bearer {api_key}",
37
+ "User-Agent": "validpay-python/0.1.0",
38
+ })
39
+
40
+ def verify_document(
41
+ self,
42
+ image_path: Optional[str] = None,
43
+ qr_data: Optional[str] = None,
44
+ ) -> Dict[str, Any]:
45
+ """
46
+ Verify a document using ValidPay's AI-powered verification.
47
+
48
+ Args:
49
+ image_path: Path to document image (PNG, JPG, or PDF)
50
+ qr_data: Raw QR code data string (alternative to image)
51
+
52
+ Returns:
53
+ Dictionary with verification result including status,
54
+ document_type, confidence, and extracted fields.
55
+
56
+ Raises:
57
+ NotImplementedError: SDK is in private beta.
58
+ """
59
+ raise NotImplementedError(
60
+ "ValidPay Python SDK is in private beta. "
61
+ "Contact mike@validpay.io for API access."
62
+ )
63
+
64
+ def decode_qr(self, qr_data: str) -> Dict[str, Any]:
65
+ """
66
+ Decode and verify a ValidPay QR code.
67
+
68
+ Args:
69
+ qr_data: The raw string data from a scanned QR code
70
+
71
+ Returns:
72
+ Dictionary with decoded document fields and verification status.
73
+
74
+ Raises:
75
+ NotImplementedError: SDK is in private beta.
76
+ """
77
+ raise NotImplementedError(
78
+ "ValidPay Python SDK is in private beta. "
79
+ "Contact mike@validpay.io for API access."
80
+ )
81
+
82
+ def get_status(self) -> Dict[str, Any]:
83
+ """
84
+ Check API connectivity and account status.
85
+
86
+ Returns:
87
+ Dictionary with API status and account info.
88
+
89
+ Raises:
90
+ NotImplementedError: SDK is in private beta.
91
+ """
92
+ raise NotImplementedError(
93
+ "ValidPay Python SDK is in private beta. "
94
+ "Contact mike@validpay.io for API access."
95
+ )