nosible 0.2.7__py3-none-any.whl → 0.2.8__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
@@ -1745,7 +1745,7 @@ class Nosible:
1745
1745
  cpm_counter = 4.0
1746
1746
 
1747
1747
  # Preserve the order you care about:
1748
- for plan in ["test", "basic", "pro", "pro+", "bus", "bus+", "ent"]:
1748
+ for plan in ["test", "basic", "pro", "pro+", "bus", "bus+", "ent", "cons", "stup", "busn"]:
1749
1749
  name = display.get(plan, plan)
1750
1750
  if plan == user_plan:
1751
1751
  current_plan = " (Your current plan)"
@@ -51,6 +51,22 @@ PLAN_RATE_LIMITS = {
51
51
  "slow": [(60, 60), (1_500_000, 24 * 3600 * 30)],
52
52
  "fast": [(360, 60), (15_000_000, 24 * 3600 * 30)],
53
53
  },
54
+ "cons": {
55
+ "visit": [(60, 60), (3000, 24 * 3600 * 30)],
56
+ "slow": [(60, 60), (3000, 24 * 3600 * 30)],
57
+ "fast": [(120, 60), (30_000, 24 * 3600 * 30)],
58
+ },
59
+ "stup": {
60
+ "visit": [(60, 60), (30_000, 24 * 3600 * 30)],
61
+ "slow": [(60, 60), (30_000, 24 * 3600 * 30)],
62
+ "fast": [(360, 60), (300_000, 24 * 3600 * 30)],
63
+ },
64
+ # This plan is used for testing in the package
65
+ "busn": {
66
+ "visit": [(60, 60), (300_000, 24 * 3600 * 30)],
67
+ "slow": [(60, 60), (300_000, 24 * 3600 * 30)],
68
+ "fast": [(360, 60), (3_000_000, 24 * 3600 * 30)],
69
+ },
54
70
  }
55
71
 
56
72
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nosible
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: Python client for the NOSIBLE Search API
5
5
  Home-page: https://github.com/NosibleAI/nosible
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=72zWIUaKY818gMMo2C4O1GFFw4JyqsYn7RuOFdrzZl4,94589
2
+ nosible/nosible_client.py,sha256=eKaX56mhY8n8lEtYRgMDChy8WSAxp7LcHq3t9HYjRBU,94613
3
3
  nosible/classes/result.py,sha256=htOK8NcCImguiQNIFe9kr3PYCtq46RSuB82-BzAgMbY,22762
4
4
  nosible/classes/result_set.py,sha256=uQ9oeD2nqYTE1dGetkhkfqmPmuvxmRyVILfeHxSkT1E,53138
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=qr0Tg-3wVcw95FyQv3gbZhbf-_QY9zKdkIE4FSLFSBo,5400
12
- nosible-0.2.7.dist-info/licenses/LICENSE,sha256=8ifsV4DrsiKi8KVBFy8SBb3KXPXhofE3pYq07q1TSCQ,1117
13
- nosible-0.2.7.dist-info/METADATA,sha256=D9wsIKd4jvha6MyNvL7MCL1zIBXwwVVW59rfEFxzJHI,14796
14
- nosible-0.2.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- nosible-0.2.7.dist-info/top_level.txt,sha256=mOconHuKcNJ1jTAj3DapQP_xB8YOmjTMyHg5txKH3uA,8
16
- nosible-0.2.7.dist-info/RECORD,,
11
+ nosible/utils/rate_limiter.py,sha256=QWuxHf3H7xWEYg4se2_Y2DjluvKWznKMTj6oaEpCPL4,6008
12
+ nosible-0.2.8.dist-info/licenses/LICENSE,sha256=8ifsV4DrsiKi8KVBFy8SBb3KXPXhofE3pYq07q1TSCQ,1117
13
+ nosible-0.2.8.dist-info/METADATA,sha256=3iSZxeG1HChuAThzs2XvOzndDt8CukxxNGH-Z3BZGe8,14796
14
+ nosible-0.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ nosible-0.2.8.dist-info/top_level.txt,sha256=mOconHuKcNJ1jTAj3DapQP_xB8YOmjTMyHg5txKH3uA,8
16
+ nosible-0.2.8.dist-info/RECORD,,