nosible 0.3.3__py3-none-any.whl → 0.3.4__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.
nosible/nosible_client.py CHANGED
@@ -1732,7 +1732,7 @@ class Nosible:
1732
1732
  prefix = (self.nosible_api_key or "").split("|", 1)[0]
1733
1733
 
1734
1734
  # Map prefixes -> plan names
1735
- plans = {"test", "basic", "pro", "pro+", "bus", "bus+", "ent", "chat", "cons", "stup", "busn"}
1735
+ plans = {"test", "self", "basic", "pro", "pro+", "bus", "bus+", "ent", "chat", "cons", "stup", "busn"}
1736
1736
 
1737
1737
  if prefix not in plans:
1738
1738
  raise ValueError(f"Your API key is not valid: {prefix} is not a valid plan prefix.")
@@ -51,6 +51,11 @@ PLAN_RATE_LIMITS = {
51
51
  "bulk": [(60, 60), (1_500_000, 24 * 3600 * 30)],
52
52
  "fast": [(360, 60), (15_000_000, 24 * 3600 * 30)],
53
53
  },
54
+ "self": {
55
+ "scrape-url": [(6000, 60), (1_500_000, 24 * 3600 * 30)],
56
+ "bulk": [(6000, 60), (1_500_000, 24 * 3600 * 30)],
57
+ "fast": [(36_000, 60), (15_000_000, 24 * 3600 * 30)],
58
+ },
54
59
  "cons": {
55
60
  "scrape-url": [(60, 60), (3000, 24 * 3600 * 30)],
56
61
  "bulk": [(60, 60), (3000, 24 * 3600 * 30)],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nosible
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: Python client for the NOSIBLE Search API
5
5
  Home-page: https://github.com/NosibleAI/nosible-py
6
6
  Author: Stuart Reid, Matthew Dicks, Richard Taylor, Gareth Warburton
@@ -1,5 +1,5 @@
1
1
  nosible/__init__.py,sha256=11QmG9Wjprp_zB0VnPxGjqKwHmaoB0hoT8AGO6cGVMM,1426
2
- nosible/nosible_client.py,sha256=3IMSryamYY3thM3al-xdoUVkdDNbLv4fUc4HM4w9Q1k,88620
2
+ nosible/nosible_client.py,sha256=qy5Z7Q-3G-ORzPNFWmTP5Gk1apvbSQXYZ96R0PMTfeM,88628
3
3
  nosible/classes/result.py,sha256=c1YOFdhZOnSjdcNqpc3YjXxKcoJ2c0ik6wgfIsXTAP0,22697
4
4
  nosible/classes/result_set.py,sha256=8XrnnpGdm5lskqE0E7qSRR_mofPZfEHxtOFrkmfpbEM,52662
5
5
  nosible/classes/search.py,sha256=VrpuAsS4pxcirR6l6WStJN0gPIfahZ_9Cx3YdNKczSw,13860
@@ -8,9 +8,9 @@ nosible/classes/snippet.py,sha256=m2qxgnMxIxx4ZOIMqUAViGLf7C1Y4NCGaioyEKw2-Zg,49
8
8
  nosible/classes/snippet_set.py,sha256=0jPMDhJNCO02WhvY1QR1HedvADvBxRcN6x3FItEgSiI,5099
9
9
  nosible/classes/web_page.py,sha256=cvwQspxS0pU2nFgPLqnDtDWlLONHp1KwxerflHueLJ8,5838
10
10
  nosible/utils/json_tools.py,sha256=PcSMjcLEhbA626jAIn0SuD_1-4QDduapZUenTSt3N2E,4569
11
- nosible/utils/rate_limiter.py,sha256=11s38xZ1HDODkMR5jETKfVb6mArYwX9IPcklUe8wO6M,6063
12
- nosible-0.3.3.dist-info/licenses/LICENSE,sha256=8ifsV4DrsiKi8KVBFy8SBb3KXPXhofE3pYq07q1TSCQ,1117
13
- nosible-0.3.3.dist-info/METADATA,sha256=N2VYwKcKsUYMMkWaMiidxGQvmuAixe7UF3v58h5Sl58,5503
14
- nosible-0.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- nosible-0.3.3.dist-info/top_level.txt,sha256=mOconHuKcNJ1jTAj3DapQP_xB8YOmjTMyHg5txKH3uA,8
16
- nosible-0.3.3.dist-info/RECORD,,
11
+ nosible/utils/rate_limiter.py,sha256=mSdJTNMdStgEUnePNcEIacpen7rlEFqolYUVAOjU_ro,6270
12
+ nosible-0.3.4.dist-info/licenses/LICENSE,sha256=8ifsV4DrsiKi8KVBFy8SBb3KXPXhofE3pYq07q1TSCQ,1117
13
+ nosible-0.3.4.dist-info/METADATA,sha256=rO8bfHUTmqdfPIsSV1lEGpDqvSvjwwKtwsh1hsky1vU,5503
14
+ nosible-0.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ nosible-0.3.4.dist-info/top_level.txt,sha256=mOconHuKcNJ1jTAj3DapQP_xB8YOmjTMyHg5txKH3uA,8
16
+ nosible-0.3.4.dist-info/RECORD,,