ByteBomber 1.2.1__tar.gz → 1.2.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ByteBomber
3
- Version: 1.2.1
3
+ Version: 1.2.3
4
4
  Summary: ZIP bomb generator (for educational purposes only)
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/luckalgorithm/ByteBomber
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ bytebomber = bytebomber.__main__:build_zip_bomb
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ByteBomber
3
- Version: 1.2.1
3
+ Version: 1.2.3
4
4
  Summary: ZIP bomb generator (for educational purposes only)
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/luckalgorithm/ByteBomber
@@ -0,0 +1 @@
1
+ from .__main__ import main
@@ -29,7 +29,7 @@ def get_bytes(amount_str):
29
29
  except:
30
30
  raise ValueError("Format: <number> <unit>, e.g., 1 PB or 500 GB")
31
31
 
32
- def main():
32
+ def build_zip_bomb():
33
33
  target_input = input("Bomb decompressed size: ") or "500 GB"
34
34
  payload_input = input("Payload file size: ") or "1 MB"
35
35
  zip_name = input("Output zip name: ") or "bomb.zip"
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ByteBomber"
7
- version = "1.2.1"
7
+ version = "1.2.3"
8
8
  description = "ZIP bomb generator (for educational purposes only)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.6,<4.0"
@@ -29,4 +29,4 @@ Source = "https://github.com/luckalgorithm/ByteBomber"
29
29
  IssueTracker = "https://github.com/luckalgorithm/ByteBomber/issues"
30
30
 
31
31
  [project.scripts]
32
- bytebomber = "bytebomber.__main__:main"
32
+ bytebomber = "bytebomber.__main__:build_zip_bomb"
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- bytebomber = bytebomber.__main__:main
File without changes
File without changes
File without changes
File without changes