albibong 1.0.6__py3-none-any.whl → 1.1.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.
Files changed (34) hide show
  1. albibong/__init__.py +58 -0
  2. albibong/classes/dungeon.py +39 -32
  3. albibong/classes/event_handler/__init__.py +10 -0
  4. albibong/classes/event_handler/handle_event_character_equipment_changed.py +2 -10
  5. albibong/classes/event_handler/handle_event_party.py +6 -13
  6. albibong/classes/event_handler/handle_operation_change_cluster.py +17 -22
  7. albibong/classes/event_handler/handle_operation_farmable_harvest.py +17 -0
  8. albibong/classes/event_handler/handle_operation_join.py +12 -29
  9. albibong/classes/event_handler/world_data_utils.py +78 -25
  10. albibong/classes/item.py +19 -4
  11. albibong/classes/location.py +137 -34
  12. albibong/gui_dist/assets/index-C4r00CBk.js +168 -0
  13. albibong/gui_dist/assets/index-DKbORdbN.css +1 -0
  14. albibong/gui_dist/index.html +2 -2
  15. albibong/models/__init__.py +0 -0
  16. albibong/models/models.py +12 -0
  17. albibong/requirements.txt +1 -0
  18. albibong/resources/EventCode.py +527 -522
  19. albibong/resources/OperationCode.py +287 -284
  20. albibong/resources/event_code.json +527 -522
  21. albibong/resources/{items.json → items_by_id.json} +21767 -21108
  22. albibong/resources/items_by_unique_name.json +55282 -0
  23. albibong/resources/maps.json +755 -514
  24. albibong/resources/operation_code.json +287 -284
  25. albibong/threads/websocket_server.py +64 -41
  26. {albibong-1.0.6.dist-info → albibong-1.1.0.dist-info}/METADATA +2 -1
  27. {albibong-1.0.6.dist-info → albibong-1.1.0.dist-info}/RECORD +30 -28
  28. albibong/gui_dist/assets/index-DZvgNqlG.css +0 -1
  29. albibong/gui_dist/assets/index-Dt6hyZiS.css +0 -1
  30. albibong/gui_dist/assets/index-E7pha23k.js +0 -161
  31. albibong/gui_dist/assets/index-WIuC9Mnh.js +0 -161
  32. {albibong-1.0.6.dist-info → albibong-1.1.0.dist-info}/WHEEL +0 -0
  33. {albibong-1.0.6.dist-info → albibong-1.1.0.dist-info}/entry_points.txt +0 -0
  34. {albibong-1.0.6.dist-info → albibong-1.1.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1 @@
1
+ *{box-sizing:border-box}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}p{margin:0}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}#root,body{margin:auto;display:flex;flex-direction:column;justify-content:start;align-items:center;min-width:320px;min-height:100vh;color:#fff;width:100%}h1{font-size:2em;line-height:1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._dmgBar_uvx94_1{background:linear-gradient(135deg,#ff6486,#6486ff);height:6px;border-radius:8px;margin-bottom:2px}._healBar_uvx94_8{background:linear-gradient(135deg,#64ffde,#64ff90);height:2px;border-radius:4px}._dpsContainer_uvx94_14{display:flex;flex-direction:column;justify-content:flex-start;width:100%;gap:4px;box-sizing:content-box;padding:16px}._dpsRow_uvx94_24{display:flex;flex-direction:row;justify-content:space-between;align-items:center}._dpsNumber_uvx94_31{width:128px;text-align:right}._dpsButton_uvx94_36{display:flex;flex-grow:1;gap:1rem}._hidden_uvx94_42{display:none}._player_uvx94_46{flex-grow:1}._checkboxColor_uvx94_50{accent-color:#64d3ff}._dungeonContainer_3nxyx_1{border-radius:1rem;width:100%;padding:2rem;display:flex;flex-direction:column;gap:1rem}._tag_3nxyx_12{background-color:#64d3ff;padding:0 1rem;border-radius:1rem;color:#0f3c4e;font-weight:700}._stickToTop_3nxyx_20{z-index:10;position:sticky;top:64px;left:0;width:100%;padding:24px 0}._container_1ha35_1{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;gap:1.5rem}._snackbar_1ha35_10{position:fixed;right:64px}._stats_1ha35_15{display:flex;flex-direction:row;align-items:center;gap:.5rem}._options_1ha35_22{display:flex;flex-direction:row;align-items:center;gap:2rem}._row_1ha35_29{display:flex;width:100%;justify-content:space-between;align-items:center}._hidden_1ha35_36{display:none}._column_owxpy_1{width:50%;display:flex;flex-direction:column;gap:16px}._row_owxpy_8{display:flex;gap:40px}._harvest_owxpy_13{display:flex;gap:8px;align-items:center}._statsContainer_owxpy_19{width:100%;display:flex;flex-direction:column;gap:0}
@@ -5,8 +5,8 @@
5
5
  <link rel="icon" type="image/png" href="/Albibong.png" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Albibong - Albion Data Tracker</title>
8
- <script type="module" crossorigin src="/assets/index-WIuC9Mnh.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-Dt6hyZiS.css">
8
+ <script type="module" crossorigin src="/assets/index-C4r00CBk.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-DKbORdbN.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
File without changes
@@ -0,0 +1,12 @@
1
+ import os
2
+
3
+ from peewee import *
4
+
5
+ home_dir = os.path.expanduser("~")
6
+ db_dir = f"{home_dir}/Albibong/Albibong.db"
7
+ db = SqliteDatabase(db_dir)
8
+
9
+
10
+ class BaseModel(Model):
11
+ class Meta:
12
+ database = db
albibong/requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
1
  scapy==2.5.0
2
2
  websockets==12.0
3
3
  pywebview==5.1
4
+ peewee==3.17.6