Skip to content

Commit

Permalink
Name map will be saved after each change is made
Browse files Browse the repository at this point in the history
  • Loading branch information
DrkYoda committed Sep 28, 2023
1 parent fbdee07 commit 8c8da59
Show file tree
Hide file tree
Showing 140 changed files with 87 additions and 700,608 deletions.
59 changes: 59 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,62 @@ HandErrors.json
poker-now-hands-mtt-0128-9pm-et-tourney-jgmz1CnwEJ.json
.gitignore
name-map.json
Sand_Box/config_sb.py
Sand_Box/data_class.py
Sand_Box/ohh.py
Sand_Box/sand_box.py
Sand_Box/SandBox.py
Sand_Box/seating,txt
Sand_Box/stack.py
Sand_Box/test.uxf
Sand_Box/Qt/config_dialog.ui
Sand_Box/Qt/dialog.ui
Sand_Box/Qt/employee_dlg.py
Sand_Box/Qt/employeeapp.py
Sand_Box/Qt/main_window.py
Sand_Box/Qt/mainwindow.py
Sand_Box/Qt/mainwindow.ui
Sand_Box/Qt/PySide6/Basics/briefcase-small.png
Sand_Box/Qt/PySide6/Basics/bug.png
Sand_Box/Qt/PySide6/Basics/dialogs.py
Sand_Box/Qt/PySide6/Basics/layout.py
Sand_Box/Qt/PySide6/Basics/menus.py
Sand_Box/Qt/PySide6/Basics/multi_windows.py
Sand_Box/Qt/PySide6/Basics/widgets.py
Sand_Box/Qt/PySide6/Designer/app.py
Sand_Box/Qt/PySide6/Designer/employee.py
Sand_Box/Qt/PySide6/Designer/employee.ui
Sand_Box/Qt/PySide6/Designer/first_app.py
Sand_Box/Qt/PySide6/Designer/layout-labels.ui
Sand_Box/Qt/PySide6/Model_View/app.py
Sand_Box/Qt/PySide6/Model_View/data.json
Sand_Box/Qt/PySide6/Model_View/MainWindow.py
Sand_Box/Qt/PySide6/Model_View/mainwindow.ui
Sand_Box/Qt/PySide6/Model_View/model_view.py
Sand_Box/Qt/PySide6/Model_View/tick.png
Sand_Box/Qt/PySide6/Model_View/todo_complete.py
Sand_Box/Qt/PySide6/Model_View/todo.py
Sand_Box/Qt/PySide6/Model_View/__pycache__/MainWindow.cpython-310.pyc
Sand_Box/Real Python/decorators.py
Sand_Box/Real Python/enumerate.py
Sand_Box/Real Python/Logging (A Stroll Through the Source Code).py
Sand_Box/Real Python/lottery.py
Sand_Box/Real Python/Primer on Python Decorators.py
Sand_Box/Real Python/__pycache__/decorators.cpython-310.pyc
Sand_Box/Real Python/project/__init__.py
Sand_Box/Real Python/project/base.py
Sand_Box/Real Python/project/utils.py
Sand_Box/Real Python/project/__pycache__/__init__.cpython-310.pyc
Sand_Box/Real Python/project/__pycache__/base.cpython-310.pyc
Sand_Box/Real Python/project/__pycache__/utils.cpython-310.pyc
Sand_Box/Real Python/temp/level-critical.log
Sand_Box/Real Python/temp/level-debug.log
Sand_Box/Real Python/temp/level-error.log
Sand_Box/Real Python/temp/level-info.log
Sand_Box/Real Python/temp/level-warning.log
Sand_Box/Real Python/temp/module-project-base.log
Sand_Box/Real Python/temp/module-project-utils.log
Sand_Box/Real Python/temp/records.log
data.db
test.py
__pycache__/employee_dlg.cpython-310.pyc
5,759 changes: 0 additions & 5,759 deletions PokerNowHandHistory/poker_now_log_00NNmx_wWaWyhmRHS3NTHC8JO.csv

This file was deleted.

3,223 changes: 0 additions & 3,223 deletions PokerNowHandHistory/poker_now_log_3n1IQ2blkXDqk-xdjwV_LWpiz.csv

This file was deleted.

7,545 changes: 0 additions & 7,545 deletions PokerNowHandHistory/poker_now_log_49kwvk-9dEbeA8MXw7lNG9SiD.csv

This file was deleted.

6,617 changes: 0 additions & 6,617 deletions PokerNowHandHistory/poker_now_log_5IWpLtq8fzMNDa0xHI-OC2NGW.csv

This file was deleted.

6,211 changes: 0 additions & 6,211 deletions PokerNowHandHistory/poker_now_log_5MI1t1tFB7u4Y8ECewBVfVK1r.csv

This file was deleted.

3,936 changes: 0 additions & 3,936 deletions PokerNowHandHistory/poker_now_log_5SMUIHF2OkP-fid-HSCShMqSZ.csv

This file was deleted.

6,526 changes: 0 additions & 6,526 deletions PokerNowHandHistory/poker_now_log_6DLkyVJAejZZLcZ2XAUciGkbx.csv

This file was deleted.

3,024 changes: 0 additions & 3,024 deletions PokerNowHandHistory/poker_now_log_Ab5bpfAoGm6TfDrvLptR5AwGv.csv

This file was deleted.

9,579 changes: 0 additions & 9,579 deletions PokerNowHandHistory/poker_now_log_Bp8hZ17lInhhl0gaVFg95-DAy.csv

This file was deleted.

8,242 changes: 0 additions & 8,242 deletions PokerNowHandHistory/poker_now_log_ENZvejPd6aRDxhgszJGoqqQ3C.csv

This file was deleted.

6,747 changes: 0 additions & 6,747 deletions PokerNowHandHistory/poker_now_log_ETWJia2e9ynk8_nV7yi3RHrQh.csv

This file was deleted.

4,105 changes: 0 additions & 4,105 deletions PokerNowHandHistory/poker_now_log_HH-7IjgCdHgKxiwI5-M53COrW.csv

This file was deleted.

8,855 changes: 0 additions & 8,855 deletions PokerNowHandHistory/poker_now_log_HzLssBBkr03AUVGJ7iyjQz2fT.csv

This file was deleted.

4,525 changes: 0 additions & 4,525 deletions PokerNowHandHistory/poker_now_log_IAiFDx7XcGn6anRn5bUHDtRL0.csv

This file was deleted.

1,947 changes: 0 additions & 1,947 deletions PokerNowHandHistory/poker_now_log_IWeE98nWJfIpXF8fXfANMFLyH.csv

This file was deleted.

7,364 changes: 0 additions & 7,364 deletions PokerNowHandHistory/poker_now_log_JJ32dlwbHcjZS6L7PH01QEUmU.csv

This file was deleted.

5,404 changes: 0 additions & 5,404 deletions PokerNowHandHistory/poker_now_log_LyZLKlDTalK_BTJbc3jO9wQvN.csv

This file was deleted.

7,894 changes: 0 additions & 7,894 deletions PokerNowHandHistory/poker_now_log_O-p_9z9-wxUnyMfTU-EaU0wYz.csv

This file was deleted.

4,746 changes: 0 additions & 4,746 deletions PokerNowHandHistory/poker_now_log_PkCAeafmmX4w5UI9GqLN1go5i.csv

This file was deleted.

4,454 changes: 0 additions & 4,454 deletions PokerNowHandHistory/poker_now_log_RPpi_tJjrO8q0F9J_UqzjPcBc.csv

This file was deleted.

5,361 changes: 0 additions & 5,361 deletions PokerNowHandHistory/poker_now_log_TARgwOWat0IvUky6Tq6ymYxsQ.csv

This file was deleted.

3,463 changes: 0 additions & 3,463 deletions PokerNowHandHistory/poker_now_log_Wsb_OKN0ptHC-a_LLNMyEb4rx.csv

This file was deleted.

4,204 changes: 0 additions & 4,204 deletions PokerNowHandHistory/poker_now_log_Ww0dG_nbBmUM3PptYEpUYX-1W.csv

This file was deleted.

7,833 changes: 0 additions & 7,833 deletions PokerNowHandHistory/poker_now_log_YCw_8yzkbRRZPAWmyHiD9mMOv.csv

This file was deleted.

6,015 changes: 0 additions & 6,015 deletions PokerNowHandHistory/poker_now_log_YnwYM6uaQlf0uyJoKsMlTWQgH.csv

This file was deleted.

3,988 changes: 0 additions & 3,988 deletions PokerNowHandHistory/poker_now_log_YvyLzLT0vRYV7x6iQcqe414oD.csv

This file was deleted.

1,568 changes: 0 additions & 1,568 deletions PokerNowHandHistory/poker_now_log_ZDAxsK5kWnSpybnkjFQ7bztxf.csv

This file was deleted.

6,840 changes: 0 additions & 6,840 deletions PokerNowHandHistory/poker_now_log_ZaBQ1QEcgqZNMA7Yal9m5QO42.csv

This file was deleted.

9,226 changes: 0 additions & 9,226 deletions PokerNowHandHistory/poker_now_log__YT_4jW_ExRGUVNYs5ArOukqw.csv

This file was deleted.

3,798 changes: 0 additions & 3,798 deletions PokerNowHandHistory/poker_now_log_bw58P5S33mSU9JzSo5Dpwt1uK.csv

This file was deleted.

2,803 changes: 0 additions & 2,803 deletions PokerNowHandHistory/poker_now_log_dpj8PBvnUzG778a8JqWQxXtiD.csv

This file was deleted.

3,471 changes: 0 additions & 3,471 deletions PokerNowHandHistory/poker_now_log_g7oKy7T7_hrOOStMM4nnoa3Vz.csv

This file was deleted.

3,758 changes: 0 additions & 3,758 deletions PokerNowHandHistory/poker_now_log_gCWztdqceQxhKRv7TKbZHc_s4.csv

This file was deleted.

4,070 changes: 0 additions & 4,070 deletions PokerNowHandHistory/poker_now_log_gCYmUVLqbF_qdCjG4vVl9QCbc.csv

This file was deleted.

2,465 changes: 0 additions & 2,465 deletions PokerNowHandHistory/poker_now_log_gcJe3658lb54BUjOaO5BvqbR6.csv

This file was deleted.

6,410 changes: 0 additions & 6,410 deletions PokerNowHandHistory/poker_now_log_hg_sI2kUp-7Q7dFZqmZQT129o.csv

This file was deleted.

5,710 changes: 0 additions & 5,710 deletions PokerNowHandHistory/poker_now_log_j1T4L3siSVKOUBBHV3BFvWX1H.csv

This file was deleted.

5,275 changes: 0 additions & 5,275 deletions PokerNowHandHistory/poker_now_log_jN_VgayE8zH0oGY36LKFGOIuH.csv

This file was deleted.

7,439 changes: 0 additions & 7,439 deletions PokerNowHandHistory/poker_now_log_k0PIeIQ_cmtVI1SRNE-6Ujc5X.csv

This file was deleted.

7,591 changes: 0 additions & 7,591 deletions PokerNowHandHistory/poker_now_log_kveVZlf87ikjI3kMglZtQsjW8.csv

This file was deleted.

6,178 changes: 0 additions & 6,178 deletions PokerNowHandHistory/poker_now_log_oqgPaQ-EDHHeqHdEMaRNZH8bt.csv

This file was deleted.

3,929 changes: 0 additions & 3,929 deletions PokerNowHandHistory/poker_now_log_pgl03-VE-V4Chb1p-KK11DJWf.csv

This file was deleted.

1,444 changes: 0 additions & 1,444 deletions PokerNowHandHistory/poker_now_log_pgl0GqBGvOdxwhT2K8IoVNxXL.csv

This file was deleted.

4,860 changes: 0 additions & 4,860 deletions PokerNowHandHistory/poker_now_log_pgl0OFfV66cAUDZI3Agk3DzyB.csv

This file was deleted.

1,958 changes: 0 additions & 1,958 deletions PokerNowHandHistory/poker_now_log_pgl29fuHghu9j0HxNcRW4q_e9.csv

This file was deleted.

5,712 changes: 0 additions & 5,712 deletions PokerNowHandHistory/poker_now_log_pgl2EchUji2HcN3pW9cAcHonj.csv

This file was deleted.

5,220 changes: 0 additions & 5,220 deletions PokerNowHandHistory/poker_now_log_pgl51rejLPQ1wIlhiQlbuw1qN.csv

This file was deleted.

5,164 changes: 0 additions & 5,164 deletions PokerNowHandHistory/poker_now_log_pgl5DHBYhR-Itjl717wZyh3VT.csv

This file was deleted.

3,927 changes: 0 additions & 3,927 deletions PokerNowHandHistory/poker_now_log_pgl6W_ilTQC5P9rqOe56_zOI6.csv

This file was deleted.

3,422 changes: 0 additions & 3,422 deletions PokerNowHandHistory/poker_now_log_pgl6mt7KZ1lagv_APW4mv2A4d.csv

This file was deleted.

4,794 changes: 0 additions & 4,794 deletions PokerNowHandHistory/poker_now_log_pgl723Y3wBkLhu9axkjmZsIiz.csv

This file was deleted.

3,250 changes: 0 additions & 3,250 deletions PokerNowHandHistory/poker_now_log_pgl77zc63dqLo1CJ3EEJXnPwf.csv

This file was deleted.

2,995 changes: 0 additions & 2,995 deletions PokerNowHandHistory/poker_now_log_pgl7GhX5hsvcTcoWC9uez2iBY.csv

This file was deleted.

6,252 changes: 0 additions & 6,252 deletions PokerNowHandHistory/poker_now_log_pgl8oOVoPbxCauZDkVReQCwFo.csv

This file was deleted.

4,608 changes: 0 additions & 4,608 deletions PokerNowHandHistory/poker_now_log_pgl9YU4YbDZUHJGYIKG_r1ZxT.csv

This file was deleted.

5,862 changes: 0 additions & 5,862 deletions PokerNowHandHistory/poker_now_log_pgl9b-xzRtm836uWOdbSOiMC8.csv

This file was deleted.

5,126 changes: 0 additions & 5,126 deletions PokerNowHandHistory/poker_now_log_pglAMKW9e-n4T5ZjNY9eVEK7K.csv

This file was deleted.

3,517 changes: 0 additions & 3,517 deletions PokerNowHandHistory/poker_now_log_pglAkVE_2mhNGnsCrAM5w9hj6.csv

This file was deleted.

4,740 changes: 0 additions & 4,740 deletions PokerNowHandHistory/poker_now_log_pglAwBpKSsnCsbqpbb0tex02V.csv

This file was deleted.

3,933 changes: 0 additions & 3,933 deletions PokerNowHandHistory/poker_now_log_pglB5JUnEUTYEOBYu2S38DAd-.csv

This file was deleted.

5,073 changes: 0 additions & 5,073 deletions PokerNowHandHistory/poker_now_log_pglBeeu8EEMlvDN03D-_NLImX.csv

This file was deleted.

4,929 changes: 0 additions & 4,929 deletions PokerNowHandHistory/poker_now_log_pglDQPcUlv2NDJjUKfrNMMh7l.csv

This file was deleted.

5,834 changes: 0 additions & 5,834 deletions PokerNowHandHistory/poker_now_log_pglDVO2FMbBvHtEnq28GjHvw6.csv

This file was deleted.

10,058 changes: 0 additions & 10,058 deletions PokerNowHandHistory/poker_now_log_pglDb_bZwCKYzxdgjKMUDp8GD.csv

This file was deleted.

7,452 changes: 0 additions & 7,452 deletions PokerNowHandHistory/poker_now_log_pglDepIXhH9TNyXaFfbHYetk-.csv

This file was deleted.

2,691 changes: 0 additions & 2,691 deletions PokerNowHandHistory/poker_now_log_pglDgfNilUAgoqcX3bIAAhn1w.csv

This file was deleted.

4,480 changes: 0 additions & 4,480 deletions PokerNowHandHistory/poker_now_log_pglF6JWogPLzniFsf2_Y95S4A.csv

This file was deleted.

4,671 changes: 0 additions & 4,671 deletions PokerNowHandHistory/poker_now_log_pglFHa0gNoWS7Ky8e7yHTU7HR.csv

This file was deleted.

3,324 changes: 0 additions & 3,324 deletions PokerNowHandHistory/poker_now_log_pglFqKtM0GZj4mPHqv6A1wdkp.csv

This file was deleted.

2,636 changes: 0 additions & 2,636 deletions PokerNowHandHistory/poker_now_log_pglFqjz91aR_-HsXoMHjeePqg.csv

This file was deleted.

4,984 changes: 0 additions & 4,984 deletions PokerNowHandHistory/poker_now_log_pglHRpIGwmCc4j3dYnp6WfMgd.csv

This file was deleted.

6,075 changes: 0 additions & 6,075 deletions PokerNowHandHistory/poker_now_log_pglI9Y3NxA9QdktiwuLY65aon.csv

This file was deleted.

2,292 changes: 0 additions & 2,292 deletions PokerNowHandHistory/poker_now_log_pglIPOrxV_Np7ePf_ihJrlz8g.csv

This file was deleted.

8,074 changes: 0 additions & 8,074 deletions PokerNowHandHistory/poker_now_log_pglJ4vyQRVVK4-nIT5UaErfAt.csv

This file was deleted.

4,410 changes: 0 additions & 4,410 deletions PokerNowHandHistory/poker_now_log_pglJGqfGvZnYbwRP7LTS_LsHg.csv

This file was deleted.

9,436 changes: 0 additions & 9,436 deletions PokerNowHandHistory/poker_now_log_pglKPzrIwfDkk5DGstHZFa5WG.csv

This file was deleted.

3,213 changes: 0 additions & 3,213 deletions PokerNowHandHistory/poker_now_log_pglKq7yXhdw4XuVUYt5-cSLv0.csv

This file was deleted.

3,453 changes: 0 additions & 3,453 deletions PokerNowHandHistory/poker_now_log_pglLUBOdh0Uo3Uz8kTvFABQzN.csv

This file was deleted.

4,794 changes: 0 additions & 4,794 deletions PokerNowHandHistory/poker_now_log_pglLh7vUB1NMBgMIWnmTBfXu6.csv

This file was deleted.

5,157 changes: 0 additions & 5,157 deletions PokerNowHandHistory/poker_now_log_pglMOA5BYYLBsfZK3t4h1yAJC.csv

This file was deleted.

3,873 changes: 0 additions & 3,873 deletions PokerNowHandHistory/poker_now_log_pglMOJ57Hxb5ZEPDp3kFaSvJj.csv

This file was deleted.

1,721 changes: 0 additions & 1,721 deletions PokerNowHandHistory/poker_now_log_pglMTwWjtlpKXlGCB119DrPl6.csv

This file was deleted.

5,145 changes: 0 additions & 5,145 deletions PokerNowHandHistory/poker_now_log_pglO0xqm9J6o-pvI4OTFtGvo1.csv

This file was deleted.

7,625 changes: 0 additions & 7,625 deletions PokerNowHandHistory/poker_now_log_pglOUFHzw6pG_LCxKEzf_ZSfj.csv

This file was deleted.

12,558 changes: 0 additions & 12,558 deletions PokerNowHandHistory/poker_now_log_pglPwQfd94Y70-qSI1z6AkbHk.csv

This file was deleted.

5,578 changes: 0 additions & 5,578 deletions PokerNowHandHistory/poker_now_log_pglRi36cBNVXRAhdFHW92kvaR.csv

This file was deleted.

2,084 changes: 0 additions & 2,084 deletions PokerNowHandHistory/poker_now_log_pglS16Ivs--ddbUkWnckbz99T.csv

This file was deleted.

10,217 changes: 0 additions & 10,217 deletions PokerNowHandHistory/poker_now_log_pglUHpLpVxuPm2z9oS6Y1mZ7V.csv

This file was deleted.

4,377 changes: 0 additions & 4,377 deletions PokerNowHandHistory/poker_now_log_pglUdEM2DObOLb5afe0l6wPbx.csv

This file was deleted.

6,682 changes: 0 additions & 6,682 deletions PokerNowHandHistory/poker_now_log_pglUtVkWym7_66_jkPBdDEgVB.csv

This file was deleted.

5,924 changes: 0 additions & 5,924 deletions PokerNowHandHistory/poker_now_log_pglV1wnTIe5DPmkHCI_rtoxyS.csv

This file was deleted.

8,437 changes: 0 additions & 8,437 deletions PokerNowHandHistory/poker_now_log_pglXE93OlMIuvWdwfyiR-h97p.csv

This file was deleted.

5,654 changes: 0 additions & 5,654 deletions PokerNowHandHistory/poker_now_log_pglXmkyZfGEQeNyeeLX7FUvK_.csv

This file was deleted.

2,736 changes: 0 additions & 2,736 deletions PokerNowHandHistory/poker_now_log_pglYRP2uJ2HrV0q0qzd6BloSH.csv

This file was deleted.

4,292 changes: 0 additions & 4,292 deletions PokerNowHandHistory/poker_now_log_pgla-WqSQyDUBzNClYb0-w3S7.csv

This file was deleted.

5,559 changes: 0 additions & 5,559 deletions PokerNowHandHistory/poker_now_log_pglaCPGOnB-LO22TbPkMdC6Oy.csv

This file was deleted.

1,776 changes: 0 additions & 1,776 deletions PokerNowHandHistory/poker_now_log_pglbcN5nQo3bUmuXx6tROb3yN.csv

This file was deleted.

5,832 changes: 0 additions & 5,832 deletions PokerNowHandHistory/poker_now_log_pglbwVRS8lPVICcz9iTojcOOo.csv

This file was deleted.

1,979 changes: 0 additions & 1,979 deletions PokerNowHandHistory/poker_now_log_pglcgRxHyyJ1BFn9KjQdihQjO.csv

This file was deleted.

5,052 changes: 0 additions & 5,052 deletions PokerNowHandHistory/poker_now_log_pgldQvfM6S-2vuH4Yv2GmwJQq.csv

This file was deleted.

8,121 changes: 0 additions & 8,121 deletions PokerNowHandHistory/poker_now_log_pgleGSa_NCfoFKluS3--g1s-x.csv

This file was deleted.

4,050 changes: 0 additions & 4,050 deletions PokerNowHandHistory/poker_now_log_pgleejRfJunPyTeosG32qSaM2.csv

This file was deleted.

3,658 changes: 0 additions & 3,658 deletions PokerNowHandHistory/poker_now_log_pglewt6TqJQ7M8WzGHyUsiQ5g.csv

This file was deleted.

4,205 changes: 0 additions & 4,205 deletions PokerNowHandHistory/poker_now_log_pglfcE6PiLG4HKteUW_CFFMyo.csv

This file was deleted.

6,627 changes: 0 additions & 6,627 deletions PokerNowHandHistory/poker_now_log_pglg7dnjck1WypTmxhJjN5878.csv

This file was deleted.

3,000 changes: 0 additions & 3,000 deletions PokerNowHandHistory/poker_now_log_pglgn55b68el_zVkx-KkBiQUl.csv

This file was deleted.

7,955 changes: 0 additions & 7,955 deletions PokerNowHandHistory/poker_now_log_pglh4E_QsS4G7tr0HHlU9ozXT.csv

This file was deleted.

2,579 changes: 0 additions & 2,579 deletions PokerNowHandHistory/poker_now_log_pglhd4-4l5tRMX2E4M7QeJBK_.csv

This file was deleted.

4,364 changes: 0 additions & 4,364 deletions PokerNowHandHistory/poker_now_log_pglhfdsdyC6ng1P3wEfK8uLZo.csv

This file was deleted.

7,062 changes: 0 additions & 7,062 deletions PokerNowHandHistory/poker_now_log_pglhiPKBLD3wQNrPDzdpOv6Yd.csv

This file was deleted.

5,464 changes: 0 additions & 5,464 deletions PokerNowHandHistory/poker_now_log_pgljVsnEYXaglO7WqX8sU9JVc.csv

This file was deleted.

3,538 changes: 0 additions & 3,538 deletions PokerNowHandHistory/poker_now_log_pglk5pXzxcg8NkQbI8bMb_dtX.csv

This file was deleted.

3,959 changes: 0 additions & 3,959 deletions PokerNowHandHistory/poker_now_log_pglkHiBV5PkPeOMoghJOkR4J4.csv

This file was deleted.

6,064 changes: 0 additions & 6,064 deletions PokerNowHandHistory/poker_now_log_pglkIznwCkhf2SHahYbAFAig_.csv

This file was deleted.

4,814 changes: 0 additions & 4,814 deletions PokerNowHandHistory/poker_now_log_pglkXY89UuhERUFy_HpfFgLTQ.csv

This file was deleted.

6,704 changes: 0 additions & 6,704 deletions PokerNowHandHistory/poker_now_log_pgllK0Z-Vcn4J8iV7Fg2XJOOZ.csv

This file was deleted.

1,241 changes: 0 additions & 1,241 deletions PokerNowHandHistory/poker_now_log_pgllrZB4-s11jXpJVdapSiar1.csv

This file was deleted.

2,089 changes: 0 additions & 2,089 deletions PokerNowHandHistory/poker_now_log_pglmbHa9mocEKi7mUC0qMINdu.csv

This file was deleted.

2,118 changes: 0 additions & 2,118 deletions PokerNowHandHistory/poker_now_log_pgloYUTjFRv8HSOp-FrJxHHlI.csv

This file was deleted.

4,124 changes: 0 additions & 4,124 deletions PokerNowHandHistory/poker_now_log_pglp0_8QyUI0HLukBFZyEd3JR.csv

This file was deleted.

4,317 changes: 0 additions & 4,317 deletions PokerNowHandHistory/poker_now_log_pglp1nqjhzoTQKcpCtiiVTtzG.csv

This file was deleted.

6,661 changes: 0 additions & 6,661 deletions PokerNowHandHistory/poker_now_log_pglqm0R4jPCYVRlhPYePihEvl.csv

This file was deleted.

5,340 changes: 0 additions & 5,340 deletions PokerNowHandHistory/poker_now_log_pglr000JwfxIeHHZg_oCZw1au.csv

This file was deleted.

6,214 changes: 0 additions & 6,214 deletions PokerNowHandHistory/poker_now_log_pglrbmDby320mUMhC0hb2dG3t.csv

This file was deleted.

5,305 changes: 0 additions & 5,305 deletions PokerNowHandHistory/poker_now_log_pglsH_Ys1j85Sf1TKl-gJJk1y.csv

This file was deleted.

7,070 changes: 0 additions & 7,070 deletions PokerNowHandHistory/poker_now_log_pgltRXx70wmLBHDm2xVG0YTNU.csv

This file was deleted.

6,361 changes: 0 additions & 6,361 deletions PokerNowHandHistory/poker_now_log_pgltT1eJwD6IG4xjr7NkKBdTq.csv

This file was deleted.

4,140 changes: 0 additions & 4,140 deletions PokerNowHandHistory/poker_now_log_pglwDyU0q6ZW-sqgHQfrBUM8v.csv

This file was deleted.

2,316 changes: 0 additions & 2,316 deletions PokerNowHandHistory/poker_now_log_pglwX9fQzOKwI957zJL8O1DJ5.csv

This file was deleted.

6,108 changes: 0 additions & 6,108 deletions PokerNowHandHistory/poker_now_log_pglxM7b8wP3KmiIg_24iMJzh_.csv

This file was deleted.

3,996 changes: 0 additions & 3,996 deletions PokerNowHandHistory/poker_now_log_pgly1IjlevCb9ovbIPMCpje7s.csv

This file was deleted.

2,443 changes: 0 additions & 2,443 deletions PokerNowHandHistory/poker_now_log_pglzYkP9JhPCgdLboFVhs26p7.csv

This file was deleted.

5,609 changes: 0 additions & 5,609 deletions PokerNowHandHistory/poker_now_log_q1l1PIO9J4hKr92fQiJO86dZQ.csv

This file was deleted.

7,155 changes: 0 additions & 7,155 deletions PokerNowHandHistory/poker_now_log_rPZimFW5dqEMxDeOn8zvyF615.csv

This file was deleted.

6,362 changes: 0 additions & 6,362 deletions PokerNowHandHistory/poker_now_log_wZN7vBD-UxEDj7i4PzSoIuizE.csv

This file was deleted.

4,235 changes: 0 additions & 4,235 deletions PokerNowHandHistory/poker_now_log_yEV6bW18kzHZau9-HhiezwXDZ.csv

This file was deleted.

7,056 changes: 0 additions & 7,056 deletions PokerNowHandHistory/poker_now_log_yg3sBWFeSFMufT4LZ7xq76ixl.csv

This file was deleted.

3,151 changes: 0 additions & 3,151 deletions PokerNowHandHistory/poker_now_log_zMh5t9x56rbgVz9SuMxl3YkAj.csv

This file was deleted.

42 changes: 28 additions & 14 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ def csv_reader(file_obj: Path, subs: dict[str, str]) -> list[List[str]]:
reader = csv.reader(csv_file)
next(reader)
for row in reader:
row = [subs_regex.sub(lambda match: subs[match.group(0)], i) for i in row]
row = [subs_regex.sub(
lambda match: subs[match.group(0)], i) for i in row]
row[0] = row[0].encode("ascii", "ignore").decode()
rows.append(row)
rows.reverse()
Expand Down Expand Up @@ -421,9 +422,9 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
ohh_constants[HERO_NAME] = hero_name
update_setting(config_path, "OHH Constants", HERO_NAME, hero_name)

csv_dir = Path("PokerNowHandHistory")
csv_file_list = [child for child in csv_dir.iterdir() if child.suffix == ".csv"]
csv_archive_dir = csv_dir / "Archive"
csv_dir = Path('PokerNowHandHistory')
csv_file_list: list[Path] = list(csv_dir.glob('*.csv'))
csv_archive_dir: Path = csv_dir.joinpath('Archive')
players_map = load_name_map(name_map_path)
aliases_names = switch_key_and_values(players_map, "nicknames")
device_ids = switch_key_and_values(players_map, "devices")
Expand Down Expand Up @@ -475,7 +476,8 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
)
log_dir = Path("./Logs")
log_dir.mkdir(exist_ok=True)
log_file = Path("log_" + datetime.now().strftime("%Y%m%d-%H%M%S")).with_suffix(".log")
log_file = Path("log_" + datetime.now().strftime("%Y%m%d-%H%M%S")
).with_suffix(".log")
log_path = log_dir / log_file
logging.basicConfig(
filename=log_path,
Expand Down Expand Up @@ -618,7 +620,9 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
# in the hands dictionary and be proccesed later
hands[game_number][TEXT] = hands[game_number][TEXT] + "\n" + entry
lines_saved += 1
move(poker_now_file, csv_archive_dir)

poker_now_file.replace(csv_archive_dir.joinpath(poker_now_file.name))

logging.info(f"[{table_name}] ***FINISHED HAND SEPERATION***")
logging.info(f"[{table_name}] {lines_parsed} lines were parsed.")
logging.info(f"[{table_name}] {lines_ignored} lines were ignored.")
Expand Down Expand Up @@ -709,6 +713,7 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
device_ids = switch_key_and_values(
players_map, "devices"
)
save_name_map(name_map_path, players_map)
except KeyError:
if device_id not in device_ids:
name_input = console.input(
Expand All @@ -721,13 +726,15 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
players_map[name_input]["nicknames"].append(
player_display
)
players_map[name_input]["devices"].append(device_id)
players_map[name_input]["devices"].append(
device_id)
device_ids = switch_key_and_values(
players_map, "devices"
)
aliases_names = switch_key_and_values(
players_map, "nicknames"
)
save_name_map(name_map_path, players_map)
except KeyError:
players_map.update(
{
Expand All @@ -743,6 +750,7 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
aliases_names = switch_key_and_values(
players_map, "nicknames"
)
save_name_map(name_map_path, players_map)
else:
name = device_ids[device_id]
bool_input = console.input(
Expand All @@ -760,6 +768,7 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
aliases_names = switch_key_and_values(
players_map, "nicknames"
)
save_name_map(name_map_path, players_map)
elif bool_input == "N":
name_input = console.input(
"\n[red]IMPORTANT:[/red] If different players are playing "
Expand Down Expand Up @@ -987,7 +996,8 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
continue
uncalled_bet_match = re.match(uncalled_regex, line)
if uncalled_bet_match is not None:
amount = round(float(uncalled_bet_match.group("amount")), 2)
amount = round(
float(uncalled_bet_match.group("amount")), 2)
total_pot -= amount
continue
winner = re.match(winner_regex, line)
Expand Down Expand Up @@ -1027,9 +1037,11 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
for pot_number, pot in pot_obj.items():
amt = round(pot[AMOUNT], 2)
rake = pot[RAKE]
potObj = {NUMBER: pot_number, AMOUNT: amt, RAKE: rake, PLAYER_WINS: []}
potObj = {NUMBER: pot_number, AMOUNT: amt,
RAKE: rake, PLAYER_WINS: []}
for player_id in pot[PLAYER_WINS]:
win_amount = round(pot[PLAYER_WINS][player_id][WIN_AMOUNT], 2)
win_amount = round(
pot[PLAYER_WINS][player_id][WIN_AMOUNT], 2)
rake_contribution = pot[PLAYER_WINS][player_id][CONTRIBUTED_RAKE]
player_win_obj = {
PLAYER_ID: player_id,
Expand All @@ -1050,7 +1062,8 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
ohh[ROUNDS].append(round_obj)
table.append(ohh)
logging.info(f"[{table_name}] ***FINISHED HAND PARSING***")
logging.info(f"[{table_name}] {unprocessed_count} lines were not parsed.")
logging.info(
f"[{table_name}] {unprocessed_count} lines were not parsed.")
ohh_directory = Path("OpenHandHistory")
with open(
ohh_directory / poker_now_file.with_suffix(".ohh").name,
Expand Down Expand Up @@ -1081,12 +1094,13 @@ def switch_key_and_values(name_map: dict[str, dict[str, list[str]]], key_txt: st
console.print(
f"[blue]{round(perf_counter() - perf_start_2, 6)} sec[/blue] Performance counter."
)
console.print(f"[blue]{process_time() - proc_start_2} sec[/blue] Process time.")
save_name_map(name_map_path, players_map)
console.print(
f"[blue]{process_time() - proc_start_2} sec[/blue] Process time.")
logging.info(
f"[ALL][{perf_counter() - timer_perf_start}] Performance counter for all hands."
)
logging.info(f"[ALL][{process_time() - timer_proc_start}] Process time for all hands.")
logging.info(
f"[ALL][{process_time() - timer_proc_start}] Process time for all hands.")
console.print(
f"[cyan]{round(perf_counter() - timer_perf_start, 2)} sec[/cyan] Performance counter for all "
"hands."
Expand Down

0 comments on commit 8c8da59

Please sign in to comment.