dfpyre 0.7.6__tar.gz → 0.7.8__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.
- {dfpyre-0.7.6 → dfpyre-0.7.8}/PKG-INFO +2 -2
- {dfpyre-0.7.6 → dfpyre-0.7.8}/dfpyre/pyre.py +9 -0
- {dfpyre-0.7.6 → dfpyre-0.7.8}/pyproject.toml +2 -2
- {dfpyre-0.7.6 → dfpyre-0.7.8}/LICENSE +0 -0
- {dfpyre-0.7.6 → dfpyre-0.7.8}/README.md +0 -0
- {dfpyre-0.7.6 → dfpyre-0.7.8}/dfpyre/__init__.py +0 -0
- {dfpyre-0.7.6 → dfpyre-0.7.8}/dfpyre/actiondump.py +0 -0
- {dfpyre-0.7.6 → dfpyre-0.7.8}/dfpyre/data/actiondump_min.json +0 -0
- {dfpyre-0.7.6 → dfpyre-0.7.8}/dfpyre/items.py +0 -0
- {dfpyre-0.7.6 → dfpyre-0.7.8}/dfpyre/scriptgen.py +0 -0
- {dfpyre-0.7.6 → dfpyre-0.7.8}/dfpyre/style.py +0 -0
- {dfpyre-0.7.6 → dfpyre-0.7.8}/dfpyre/util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dfpyre
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.8
|
|
4
4
|
Summary: A package for creating and modifying code templates for the DiamondFire Minecraft server.
|
|
5
5
|
Home-page: https://github.com/Amp63/pyre
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
-
Requires-Dist: mcitemlib (>=0.3.
|
|
15
|
+
Requires-Dist: mcitemlib (>=0.3.2,<0.4.0)
|
|
16
16
|
Project-URL: Repository, https://github.com/Amp63/pyre
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
@@ -63,6 +63,15 @@ class CodeBlock:
|
|
|
63
63
|
return f'CodeBlock({self.data["block"]}, {self.name})'
|
|
64
64
|
return f'CodeBlock(bracket, {self.data["type"]}, {self.data["direct"]})'
|
|
65
65
|
|
|
66
|
+
def __eq__(self, value):
|
|
67
|
+
if not isinstance(value, CodeBlock):
|
|
68
|
+
return False
|
|
69
|
+
return self.name == value.name and \
|
|
70
|
+
self.args == value.args and \
|
|
71
|
+
self.target == value.target and \
|
|
72
|
+
self.data == value.data and \
|
|
73
|
+
self.tags == value.tags
|
|
74
|
+
|
|
66
75
|
def build(self, include_tags: bool=True) -> dict:
|
|
67
76
|
"""
|
|
68
77
|
Builds a properly formatted block from a CodeBlock object.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "dfpyre"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.8"
|
|
4
4
|
description = "A package for creating and modifying code templates for the DiamondFire Minecraft server."
|
|
5
5
|
authors = ["Amp"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -12,7 +12,7 @@ exclude = ['examples']
|
|
|
12
12
|
|
|
13
13
|
[tool.poetry.dependencies]
|
|
14
14
|
python = "^3.10"
|
|
15
|
-
mcitemlib = "^0.3.
|
|
15
|
+
mcitemlib = "^0.3.2"
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
[build-system]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|