cbh2pgn 0.0.1__tar.gz
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.
cbh2pgn-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cbh2pgn
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Convert ChessBase databases to PGN format
|
|
5
|
+
Keywords: chess,chessbase,pgn,converter,cli
|
|
6
|
+
Author: Harshit Pawar
|
|
7
|
+
Author-email: Harshit Pawar <hpchess64@gmail.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
10
|
+
Classifier: Environment :: Console
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Topic :: Games/Entertainment :: Board Games
|
|
19
|
+
Classifier: Topic :: Utilities
|
|
20
|
+
Requires-Dist: typer>=0.27.2
|
|
21
|
+
Requires-Python: >=3.12
|
|
22
|
+
Project-URL: Homepage, https://github.com/harshitpawar64/cbh2pgn
|
|
23
|
+
Project-URL: Repository, https://github.com/harshitpawar64/cbh2pgn
|
|
24
|
+
Project-URL: Issues, https://github.com/harshitpawar64/cbh2pgn/issues
|
|
25
|
+
Project-URL: Changelog, https://github.com/harshitpawar64/cbh2pgn/blob/main/CHANGELOG.md
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# cbh2pgn
|
cbh2pgn-0.0.1/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# cbh2pgn
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "cbh2pgn"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "Convert ChessBase databases to PGN format"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
requires-python = ">=3.12"
|
|
8
|
+
dependencies = ["typer>=0.27.2"]
|
|
9
|
+
keywords = [
|
|
10
|
+
"chess",
|
|
11
|
+
"chessbase",
|
|
12
|
+
"pgn",
|
|
13
|
+
"converter",
|
|
14
|
+
"cli",
|
|
15
|
+
]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
18
|
+
"Environment :: Console",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"Intended Audience :: End Users/Desktop",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Programming Language :: Python :: 3",
|
|
23
|
+
"Programming Language :: Python :: 3.12",
|
|
24
|
+
"Programming Language :: Python :: 3.13",
|
|
25
|
+
"Programming Language :: Python :: 3.14",
|
|
26
|
+
"Topic :: Games/Entertainment :: Board Games",
|
|
27
|
+
"Topic :: Utilities",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
[[project.authors]]
|
|
31
|
+
name = "Harshit Pawar"
|
|
32
|
+
email = "hpchess64@gmail.com"
|
|
33
|
+
|
|
34
|
+
[project.urls]
|
|
35
|
+
Homepage = "https://github.com/harshitpawar64/cbh2pgn"
|
|
36
|
+
Repository = "https://github.com/harshitpawar64/cbh2pgn"
|
|
37
|
+
Issues = "https://github.com/harshitpawar64/cbh2pgn/issues"
|
|
38
|
+
Changelog = "https://github.com/harshitpawar64/cbh2pgn/blob/main/CHANGELOG.md"
|
|
39
|
+
|
|
40
|
+
[project.scripts]
|
|
41
|
+
cbh2pgn = "cbh2pgn.cli:app"
|
|
42
|
+
|
|
43
|
+
[build-system]
|
|
44
|
+
requires = ["uv_build>=0.12.3,<0.13.0"]
|
|
45
|
+
build-backend = "uv_build"
|
|
46
|
+
|
|
47
|
+
[dependency-groups]
|
|
48
|
+
dev = [
|
|
49
|
+
"ruff>=0.16.5",
|
|
50
|
+
"ty>=0.0.75",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[tool.ruff.format]
|
|
54
|
+
skip-magic-trailing-comma = true
|
|
55
|
+
|
|
56
|
+
[tool.ruff.lint]
|
|
57
|
+
extend-select = ["I"]
|
|
58
|
+
|
|
59
|
+
[tool.ruff.lint.isort]
|
|
60
|
+
split-on-trailing-comma = false
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "cbh2pgn"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "Convert ChessBase databases to PGN format"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
authors = [{ name = "Harshit Pawar", email = "hpchess64@gmail.com" }]
|
|
8
|
+
requires-python = ">=3.12"
|
|
9
|
+
dependencies = [
|
|
10
|
+
"typer>=0.27.2",
|
|
11
|
+
]
|
|
12
|
+
keywords = ["chess", "chessbase", "pgn", "converter", "cli"]
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
15
|
+
"Environment :: Console",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"Intended Audience :: End Users/Desktop",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3.12",
|
|
21
|
+
"Programming Language :: Python :: 3.13",
|
|
22
|
+
"Programming Language :: Python :: 3.14",
|
|
23
|
+
"Topic :: Games/Entertainment :: Board Games",
|
|
24
|
+
"Topic :: Utilities",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Homepage = "https://github.com/harshitpawar64/cbh2pgn"
|
|
29
|
+
Repository = "https://github.com/harshitpawar64/cbh2pgn"
|
|
30
|
+
Issues = "https://github.com/harshitpawar64/cbh2pgn/issues"
|
|
31
|
+
Changelog = "https://github.com/harshitpawar64/cbh2pgn/blob/main/CHANGELOG.md"
|
|
32
|
+
|
|
33
|
+
[project.scripts]
|
|
34
|
+
cbh2pgn = "cbh2pgn.cli:app"
|
|
35
|
+
|
|
36
|
+
[build-system]
|
|
37
|
+
requires = ["uv_build>=0.12.3,<0.13.0"]
|
|
38
|
+
build-backend = "uv_build"
|
|
39
|
+
|
|
40
|
+
[dependency-groups]
|
|
41
|
+
dev = [
|
|
42
|
+
"ruff>=0.16.5",
|
|
43
|
+
"ty>=0.0.75",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
[tool.ruff.format]
|
|
47
|
+
skip-magic-trailing-comma = true
|
|
48
|
+
|
|
49
|
+
[tool.ruff.lint]
|
|
50
|
+
extend-select = ["I"]
|
|
51
|
+
|
|
52
|
+
[tool.ruff.lint.isort]
|
|
53
|
+
split-on-trailing-comma = false
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.1" # x-release-please-version
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from typing import Annotated
|
|
2
|
+
|
|
3
|
+
import typer
|
|
4
|
+
|
|
5
|
+
from cbh2pgn import __version__
|
|
6
|
+
|
|
7
|
+
app = typer.Typer()
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def version_callback(value: bool) -> None:
|
|
11
|
+
if value:
|
|
12
|
+
print(f"cbh2pgn {__version__}")
|
|
13
|
+
raise typer.Exit()
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@app.callback(invoke_without_command=True)
|
|
17
|
+
def main(
|
|
18
|
+
version: Annotated[
|
|
19
|
+
bool,
|
|
20
|
+
typer.Option(
|
|
21
|
+
"--version",
|
|
22
|
+
"-V",
|
|
23
|
+
callback=version_callback,
|
|
24
|
+
is_eager=True,
|
|
25
|
+
help="Show version and exit.",
|
|
26
|
+
),
|
|
27
|
+
] = False,
|
|
28
|
+
) -> None: ...
|