Name | pairrot-solver JSON |
Version |
0.0.1
JSON |
| download |
home_page | None |
Summary | A Python library for solving 쌍근 puzzles with various strategies. |
upload_time | 2024-12-09 10:01:53 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | MIT License Copyright (c) 2024 Jaesu Han Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
pairrot
solver
|
VCS |
|
bugtrack_url |
|
requirements |
numpy
tqdm
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Pairrot Solver
Pairrot-Solver is a [쌍근](https://ssaangn.com/) solver.
`Pairrot` is a compound word of `pair` and `carrot`.
## Solve 쌍근
```python
from pairrot.solver import MaximumEntropySolver
answer = "정답"
solver = MaximumEntropySolver()
history = solver.solve(answer)
print(history)
# ['권황', '과원', '술값', '정박', '정답']
```
## Interactive play
```python
from pairrot.solver import MaximumEntropySolver
solver = MaximumEntropySolver()
best_word = solver.suggest() # Enter `best_word` directly into the 쌍근.
print(best_word)
# '권황'
solver.feedback(best_word, "사과", "바나나") # Deliver feedback from the 쌍근 to the solver.
# Repeat this until 쌍근 is over.
```
Raw data
{
"_id": null,
"home_page": null,
"name": "pairrot-solver",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "Jaesu Han <gkswotn9753@gmail.com>",
"keywords": "pairrot, solver",
"author": null,
"author_email": "Jaesu Han <gkswotn9753@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/61/c9/eec22867e3fae467573a1b48d65ef66c1ef7fd6dc7fb807c91751b3ad294/pairrot_solver-0.0.1.tar.gz",
"platform": null,
"description": "# Pairrot Solver\r\n\r\nPairrot-Solver is a [\uc30d\uadfc](https://ssaangn.com/) solver.\r\n\r\n`Pairrot` is a compound word of `pair` and `carrot`.\r\n\r\n## Solve \uc30d\uadfc\r\n\r\n```python\r\nfrom pairrot.solver import MaximumEntropySolver\r\n\r\nanswer = \"\uc815\ub2f5\"\r\nsolver = MaximumEntropySolver()\r\nhistory = solver.solve(answer)\r\nprint(history)\r\n# ['\uad8c\ud669', '\uacfc\uc6d0', '\uc220\uac12', '\uc815\ubc15', '\uc815\ub2f5']\r\n```\r\n\r\n## Interactive play\r\n\r\n```python\r\nfrom pairrot.solver import MaximumEntropySolver\r\n\r\nsolver = MaximumEntropySolver()\r\nbest_word = solver.suggest() # Enter `best_word` directly into the \uc30d\uadfc.\r\nprint(best_word)\r\n# '\uad8c\ud669'\r\nsolver.feedback(best_word, \"\uc0ac\uacfc\", \"\ubc14\ub098\ub098\") # Deliver feedback from the \uc30d\uadfc to the solver.\r\n# Repeat this until \uc30d\uadfc is over.\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Jaesu Han Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "A Python library for solving \uc30d\uadfc puzzles with various strategies.",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/Jaesu26/pairrot-solver"
},
"split_keywords": [
"pairrot",
" solver"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1b26eec5bbc1ee233c026fd4aebf8a69b4cff8e82a94fb9c6022e7fb30703cfb",
"md5": "8b5405e9cd871f3da7dd5fa17a9f9729",
"sha256": "fe9bb339d71a3f9ab88c821155f9639aecb5da5c2d3f1adac5a74b0d8fc33fec"
},
"downloads": -1,
"filename": "pairrot_solver-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8b5405e9cd871f3da7dd5fa17a9f9729",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 8690,
"upload_time": "2024-12-09T10:01:50",
"upload_time_iso_8601": "2024-12-09T10:01:50.573601Z",
"url": "https://files.pythonhosted.org/packages/1b/26/eec5bbc1ee233c026fd4aebf8a69b4cff8e82a94fb9c6022e7fb30703cfb/pairrot_solver-0.0.1-py3-none-any.whl",
"yanked": true,
"yanked_reason": "Critical bug"
},
{
"comment_text": "",
"digests": {
"blake2b_256": "61c9eec22867e3fae467573a1b48d65ef66c1ef7fd6dc7fb807c91751b3ad294",
"md5": "a520620f070af6562e6d15cbf9ef3f0a",
"sha256": "e35250707549758bae51c5ebdc80cfc0478e450bda9a2e26eda5feada1ba0601"
},
"downloads": -1,
"filename": "pairrot_solver-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "a520620f070af6562e6d15cbf9ef3f0a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 9199,
"upload_time": "2024-12-09T10:01:53",
"upload_time_iso_8601": "2024-12-09T10:01:53.864559Z",
"url": "https://files.pythonhosted.org/packages/61/c9/eec22867e3fae467573a1b48d65ef66c1ef7fd6dc7fb807c91751b3ad294/pairrot_solver-0.0.1.tar.gz",
"yanked": true,
"yanked_reason": "Critical bug"
}
],
"upload_time": "2024-12-09 10:01:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Jaesu26",
"github_project": "pairrot-solver",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "numpy",
"specs": [
[
">=",
"1.24.4"
]
]
},
{
"name": "tqdm",
"specs": [
[
">=",
"4.66.4"
]
]
}
],
"lcname": "pairrot-solver"
}