pokerbots-dev 0.0.1__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.
@@ -0,0 +1,6 @@
1
+ from importlib.metadata import PackageNotFoundError, version
2
+
3
+ try:
4
+ __version__ = version("pokerbots-dev")
5
+ except PackageNotFoundError:
6
+ __version__ = "0.0.0"
pokerbots_cli/main.py ADDED
@@ -0,0 +1,15 @@
1
+ import argparse
2
+
3
+ from pokerbots_cli import __version__
4
+
5
+
6
+ def main(argv: list[str] | None = None) -> int:
7
+ parser = argparse.ArgumentParser(prog="pb", description="pokerbots.dev command-line client")
8
+ parser.add_argument("--version", action="version", version=f"pb {__version__}")
9
+ parser.parse_args(argv)
10
+ parser.print_help()
11
+ return 0
12
+
13
+
14
+ if __name__ == "__main__":
15
+ raise SystemExit(main())
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.5
2
+ Name: pokerbots-dev
3
+ Version: 0.0.1
4
+ Summary: pb: command-line client for pokerbots.dev
5
+ Project-URL: Homepage, https://pokerbots.dev
6
+ Project-URL: Source, https://github.com/pokerbots-dev/pokerbots
7
+ License-Expression: MIT
8
+ Requires-Python: >=3.10
9
+ Provides-Extra: dev
10
+ Requires-Dist: pytest>=8; extra == 'dev'
11
+ Description-Content-Type: text/markdown
12
+
13
+ # pokerbots-dev
14
+
15
+ `pb`, the command-line client for [pokerbots.dev](https://pokerbots.dev).
16
+
17
+ ```
18
+ pip install pokerbots-dev
19
+ pb --version
20
+ ```
@@ -0,0 +1,6 @@
1
+ pokerbots_cli/__init__.py,sha256=xhvtvYTjCwcz9RcDOVfyemMmMZkjQHGdoRe8kHOFTkg,165
2
+ pokerbots_cli/main.py,sha256=4nqvJCm1vS5i8KSYgRnLHw_koC_g7BbCbgNRYKT12pk,409
3
+ pokerbots_dev-0.0.1.dist-info/METADATA,sha256=WZlmxVO5KSBcUqUtg2YDOH3NVoEZckQzUc1ymmXnRbI,506
4
+ pokerbots_dev-0.0.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
5
+ pokerbots_dev-0.0.1.dist-info/entry_points.txt,sha256=RfBfkl46mdeP-7JPCNhzXToda6u-pF8L2KcQfj8ivRo,47
6
+ pokerbots_dev-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ pb = pokerbots_cli.main:main