aiondtech 2.4.0__py3-none-any.whl → 2.5.0__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.
- aiondtech/__init__.py +1 -1
- aiondtech/client.py +3 -3
- {aiondtech-2.4.0.dist-info → aiondtech-2.5.0.dist-info}/METADATA +9 -9
- aiondtech-2.5.0.dist-info/RECORD +9 -0
- aiondtech-2.4.0.dist-info/RECORD +0 -9
- {aiondtech-2.4.0.dist-info → aiondtech-2.5.0.dist-info}/WHEEL +0 -0
- {aiondtech-2.4.0.dist-info → aiondtech-2.5.0.dist-info}/licenses/LICENSE +0 -0
- {aiondtech-2.4.0.dist-info → aiondtech-2.5.0.dist-info}/top_level.txt +0 -0
aiondtech/__init__.py
CHANGED
aiondtech/client.py
CHANGED
|
@@ -62,7 +62,7 @@ class HTTPClient:
|
|
|
62
62
|
self.session = requests.Session()
|
|
63
63
|
self.session.headers.update({
|
|
64
64
|
"Accept": "application/json",
|
|
65
|
-
"User-Agent": "aiondtech-python/2.
|
|
65
|
+
"User-Agent": "aiondtech-python/2.5.0",
|
|
66
66
|
"X-API-Key": api_key,
|
|
67
67
|
})
|
|
68
68
|
|
|
@@ -302,7 +302,7 @@ class Resumes:
|
|
|
302
302
|
data = self._client.request(
|
|
303
303
|
"POST",
|
|
304
304
|
"/external/analyze-resume-by-id",
|
|
305
|
-
|
|
305
|
+
data={"resume_id": str(resume_id)}
|
|
306
306
|
)
|
|
307
307
|
return ParsedResumeResult.from_response(data)
|
|
308
308
|
|
|
@@ -361,7 +361,7 @@ class Resumes:
|
|
|
361
361
|
data = self._client.request(
|
|
362
362
|
"POST",
|
|
363
363
|
"/external/compare-resumes",
|
|
364
|
-
|
|
364
|
+
data={"resume_id": str(resume_id), "job_id": str(job_id)}
|
|
365
365
|
)
|
|
366
366
|
return ResumeComparisonResult.from_response(data)
|
|
367
367
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aiondtech
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
4
4
|
Summary: Official Python SDK for AiondTech Resume Analyser API
|
|
5
5
|
Author-email: AiondTech <support@aiondtech.com>
|
|
6
6
|
Maintainer-email: AiondTech <support@aiondtech.com>
|
|
@@ -403,12 +403,12 @@ usage = client.credits.usage()
|
|
|
403
403
|
|
|
404
404
|
print(f"Total Credits Used: {usage.get('total_credits')}")
|
|
405
405
|
print(f"Base Credits: {usage.get('base_credits')}")
|
|
406
|
-
print(f"
|
|
406
|
+
print(f"AI Credits: {usage.get('gpt_credits')}")
|
|
407
407
|
print(f"Record Count: {usage.get('record_count')}")
|
|
408
408
|
|
|
409
409
|
# Print last 5 entries
|
|
410
410
|
for entry in usage.get('history', [])[:5]:
|
|
411
|
-
print(f" {entry['timestamp']} | {entry['endpoint']} | {entry['credits_used']} credits (base: {entry['base_credits']},
|
|
411
|
+
print(f" {entry['timestamp']} | {entry['endpoint']} | {entry['credits_used']} credits (base: {entry['base_credits']}, ai: {entry['gpt_credits']})")
|
|
412
412
|
```
|
|
413
413
|
|
|
414
414
|
**Output:**
|
|
@@ -416,13 +416,13 @@ for entry in usage.get('history', [])[:5]:
|
|
|
416
416
|
```
|
|
417
417
|
Total Credits Used: 123
|
|
418
418
|
Base Credits: 75
|
|
419
|
-
|
|
419
|
+
AI Credits: 48
|
|
420
420
|
Record Count: 69
|
|
421
|
-
2026-02-05T23:14:52 | /external/credits/balance | 0 credits (base: 0,
|
|
422
|
-
2026-02-05T23:03:57 | /external/upload-resume-analyze-compare | 9 credits (base: 5,
|
|
423
|
-
2026-02-05T23:02:20 | /external/upload-resume-analyze | 5 credits (base: 3,
|
|
424
|
-
2026-02-05T23:01:21 | /external/upload-resume | 1 credits (base: 1,
|
|
425
|
-
2026-02-05T23:06:23 | /external/create-job | 1 credits (base: 1,
|
|
421
|
+
2026-02-05T23:14:52 | /external/credits/balance | 0 credits (base: 0, ai: 0)
|
|
422
|
+
2026-02-05T23:03:57 | /external/upload-resume-analyze-compare | 9 credits (base: 5, ai: 4)
|
|
423
|
+
2026-02-05T23:02:20 | /external/upload-resume-analyze | 5 credits (base: 3, ai: 2)
|
|
424
|
+
2026-02-05T23:01:21 | /external/upload-resume | 1 credits (base: 1, ai: 0)
|
|
425
|
+
2026-02-05T23:06:23 | /external/create-job | 1 credits (base: 1, ai: 0)
|
|
426
426
|
```
|
|
427
427
|
|
|
428
428
|
**With date filters:**
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
aiondtech/__init__.py,sha256=0h4ZFj3lS46et0GYCre-DBeaSt3uWT4Gb3UNlPedEm8,1929
|
|
2
|
+
aiondtech/client.py,sha256=ZXfOBTQwpd51MnsClzskW1eO4bAh0Pxn7TQzd7gQ06M,17881
|
|
3
|
+
aiondtech/models.py,sha256=L7xOjEMBUOk-69lynS6SA04I-tDbqVUfYyvMyRB6MLg,12700
|
|
4
|
+
aiondtech/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
aiondtech-2.5.0.dist-info/licenses/LICENSE,sha256=MJBnh0Wtm8cM0bJDLG3YxhMOyJjMFJXbL--UU_YqkXI,1066
|
|
6
|
+
aiondtech-2.5.0.dist-info/METADATA,sha256=mUx98uqlyIzkXse3vSiYxBBjbFwdTHSvr88qFJq6jjc,15187
|
|
7
|
+
aiondtech-2.5.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
+
aiondtech-2.5.0.dist-info/top_level.txt,sha256=LpZ1hyiTlj71P5J9y-aUJg2tgZ-XVh96DyimmTipEEQ,10
|
|
9
|
+
aiondtech-2.5.0.dist-info/RECORD,,
|
aiondtech-2.4.0.dist-info/RECORD
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
aiondtech/__init__.py,sha256=YpY_akxvhq0bI387pbqnkSj_I8bpfn3o3p56-Cumvxk,1929
|
|
2
|
-
aiondtech/client.py,sha256=JvM6EIyEtB5tzIVQedw2B02ggMcelMt2Zc0xE_iWemo,17876
|
|
3
|
-
aiondtech/models.py,sha256=L7xOjEMBUOk-69lynS6SA04I-tDbqVUfYyvMyRB6MLg,12700
|
|
4
|
-
aiondtech/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
aiondtech-2.4.0.dist-info/licenses/LICENSE,sha256=MJBnh0Wtm8cM0bJDLG3YxhMOyJjMFJXbL--UU_YqkXI,1066
|
|
6
|
-
aiondtech-2.4.0.dist-info/METADATA,sha256=geIx-xJ986ubT0FFfsCXgUoalgMspcTHLxQkiJoeAAg,15195
|
|
7
|
-
aiondtech-2.4.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
-
aiondtech-2.4.0.dist-info/top_level.txt,sha256=LpZ1hyiTlj71P5J9y-aUJg2tgZ-XVh96DyimmTipEEQ,10
|
|
9
|
-
aiondtech-2.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|