aiondtech 2.4.0__tar.gz → 2.5.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.
- {aiondtech-2.4.0 → aiondtech-2.5.0}/PKG-INFO +9 -9
- {aiondtech-2.4.0 → aiondtech-2.5.0}/README.md +8 -8
- {aiondtech-2.4.0 → aiondtech-2.5.0}/aiondtech/__init__.py +1 -1
- {aiondtech-2.4.0 → aiondtech-2.5.0}/aiondtech/client.py +3 -3
- {aiondtech-2.4.0 → aiondtech-2.5.0}/aiondtech.egg-info/PKG-INFO +9 -9
- {aiondtech-2.4.0 → aiondtech-2.5.0}/pyproject.toml +1 -1
- {aiondtech-2.4.0 → aiondtech-2.5.0}/LICENSE +0 -0
- {aiondtech-2.4.0 → aiondtech-2.5.0}/aiondtech/models.py +0 -0
- {aiondtech-2.4.0 → aiondtech-2.5.0}/aiondtech/py.typed +0 -0
- {aiondtech-2.4.0 → aiondtech-2.5.0}/aiondtech.egg-info/SOURCES.txt +0 -0
- {aiondtech-2.4.0 → aiondtech-2.5.0}/aiondtech.egg-info/dependency_links.txt +0 -0
- {aiondtech-2.4.0 → aiondtech-2.5.0}/aiondtech.egg-info/requires.txt +0 -0
- {aiondtech-2.4.0 → aiondtech-2.5.0}/aiondtech.egg-info/top_level.txt +0 -0
- {aiondtech-2.4.0 → aiondtech-2.5.0}/setup.cfg +0 -0
|
@@ -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:**
|
|
@@ -367,12 +367,12 @@ usage = client.credits.usage()
|
|
|
367
367
|
|
|
368
368
|
print(f"Total Credits Used: {usage.get('total_credits')}")
|
|
369
369
|
print(f"Base Credits: {usage.get('base_credits')}")
|
|
370
|
-
print(f"
|
|
370
|
+
print(f"AI Credits: {usage.get('gpt_credits')}")
|
|
371
371
|
print(f"Record Count: {usage.get('record_count')}")
|
|
372
372
|
|
|
373
373
|
# Print last 5 entries
|
|
374
374
|
for entry in usage.get('history', [])[:5]:
|
|
375
|
-
print(f" {entry['timestamp']} | {entry['endpoint']} | {entry['credits_used']} credits (base: {entry['base_credits']},
|
|
375
|
+
print(f" {entry['timestamp']} | {entry['endpoint']} | {entry['credits_used']} credits (base: {entry['base_credits']}, ai: {entry['gpt_credits']})")
|
|
376
376
|
```
|
|
377
377
|
|
|
378
378
|
**Output:**
|
|
@@ -380,13 +380,13 @@ for entry in usage.get('history', [])[:5]:
|
|
|
380
380
|
```
|
|
381
381
|
Total Credits Used: 123
|
|
382
382
|
Base Credits: 75
|
|
383
|
-
|
|
383
|
+
AI Credits: 48
|
|
384
384
|
Record Count: 69
|
|
385
|
-
2026-02-05T23:14:52 | /external/credits/balance | 0 credits (base: 0,
|
|
386
|
-
2026-02-05T23:03:57 | /external/upload-resume-analyze-compare | 9 credits (base: 5,
|
|
387
|
-
2026-02-05T23:02:20 | /external/upload-resume-analyze | 5 credits (base: 3,
|
|
388
|
-
2026-02-05T23:01:21 | /external/upload-resume | 1 credits (base: 1,
|
|
389
|
-
2026-02-05T23:06:23 | /external/create-job | 1 credits (base: 1,
|
|
385
|
+
2026-02-05T23:14:52 | /external/credits/balance | 0 credits (base: 0, ai: 0)
|
|
386
|
+
2026-02-05T23:03:57 | /external/upload-resume-analyze-compare | 9 credits (base: 5, ai: 4)
|
|
387
|
+
2026-02-05T23:02:20 | /external/upload-resume-analyze | 5 credits (base: 3, ai: 2)
|
|
388
|
+
2026-02-05T23:01:21 | /external/upload-resume | 1 credits (base: 1, ai: 0)
|
|
389
|
+
2026-02-05T23:06:23 | /external/create-job | 1 credits (base: 1, ai: 0)
|
|
390
390
|
```
|
|
391
391
|
|
|
392
392
|
**With date filters:**
|
|
@@ -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:**
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|