pyrecli 0.1.0__tar.gz → 0.1.2__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.

Potentially problematic release.


This version of pyrecli might be problematic. Click here for more details.

pyrecli-0.1.2/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Amp63
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyrecli
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Command line utilities for DiamondFire templates
5
5
  Home-page: https://github.com/Amp63/pyrecli
6
6
  License: MIT
7
7
  Keywords: diamondfire,minecraft,template,cli
8
8
  Author: Amp
9
- Requires-Python: >=3.10,<4.0
9
+ Requires-Python: >=3.10,<3.13
10
10
  Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.10
@@ -19,6 +19,14 @@ Description-Content-Type: text/markdown
19
19
 
20
20
  Command line utilities for DiamondFire templates
21
21
 
22
+ ## Installation
23
+
24
+ Run the following command in a terminal:
25
+
26
+ ```sh
27
+ pip install pyrecli
28
+ ```
29
+
22
30
  ## Commands
23
31
 
24
32
  - `scan`: Scan all templates on the plot and dump them to a text file (requires [CodeClient](github.com/DFOnline/CodeClient))
@@ -2,6 +2,14 @@
2
2
 
3
3
  Command line utilities for DiamondFire templates
4
4
 
5
+ ## Installation
6
+
7
+ Run the following command in a terminal:
8
+
9
+ ```sh
10
+ pip install pyrecli
11
+ ```
12
+
5
13
  ## Commands
6
14
 
7
15
  - `scan`: Scan all templates on the plot and dump them to a text file (requires [CodeClient](github.com/DFOnline/CodeClient))
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyrecli"
3
- version = "0.1.0"
3
+ version = "0.1.2"
4
4
  description = "Command line utilities for DiamondFire templates"
5
5
  authors = ["Amp"]
6
6
  readme = "README.md"
@@ -10,7 +10,7 @@ keywords = ["diamondfire", "minecraft", "template", "cli"]
10
10
 
11
11
 
12
12
  [tool.poetry.dependencies]
13
- python = "^3.10"
13
+ python = ">=3.10,<3.13"
14
14
 
15
15
 
16
16
  [tool.poetry.scripts]
@@ -1,5 +1,6 @@
1
1
  import sys
2
2
  import argparse
3
+ import importlib.metadata
3
4
 
4
5
  from pyrecli.command.scan import scan_command
5
6
  from pyrecli.command.send import send_command
@@ -11,6 +12,7 @@ from pyrecli.command.docs import docs_command
11
12
 
12
13
  def main():
13
14
  parser = argparse.ArgumentParser(prog='pyrecli', description='Command line utilities for DiamondFire templates')
15
+ parser.add_argument('--version', '-v', action='version', version=f'pyrecli {importlib.metadata.version('pyrecli')}')
14
16
  subparsers = parser.add_subparsers(dest='command', help='Available commands:', required=True, metavar='<command>')
15
17
 
16
18
  parser_scan = subparsers.add_parser('scan', help='Scan the current plot templates with CodeClient')
File without changes
File without changes
File without changes
File without changes
File without changes