pygremlinbox-simpl-2-0 1.4.0__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.
@@ -0,0 +1,37 @@
1
+ Simple Public License (SimPL)
2
+
3
+ Preamble
4
+
5
+ This Simple Public License 2.0 (SimPL 2.0 for short) is a plain language implementation of GPL 2.0. The words are different, but the goal is the same - to guarantee for all users the freedom to share and change software. If anyone wonders about the meaning of the SimPL, they should interpret it as consistent with GPL 2.0.
6
+
7
+ Simple Public License (SimPL) 2.0
8
+
9
+ The SimPL applies to the software's source and object code and comes with any rights that I have in it (other than trademarks). You agree to the SimPL by copying, distributing, or making a derivative work of the software.
10
+
11
+ You get the royalty free right to:
12
+
13
+ - Use the software for any purpose;
14
+ - Make derivative works of it (this is called a "Derived Work");
15
+ - Copy and distribute it and any Derived Work.
16
+
17
+ If you distribute the software or a Derived Work, you must give back to the community by:
18
+
19
+ - Prominently noting the date of any changes you make;
20
+ - Leaving other people's copyright notices, warranty disclaimers, and license terms in place;
21
+ - Providing the source code, build scripts, installation scripts, and interface definitions in a form that is easy to get and best to modify;
22
+ - Licensing it to everyone under SimPL, or substantially similar terms (such as GPL 2.0), without adding further restrictions to the rights provided;
23
+ - Conspicuously announcing that it is available under that license.
24
+
25
+ There are some things that you must shoulder:
26
+
27
+ - You get NO WARRANTIES. None of any kind;
28
+ - If the software damages you in any way, you may only recover direct damages up to the amount you paid for it (that is zero if you did not pay anything). You may not recover any other damages, including those called "consequential damages." (The state or country where you live may not allow you to limit your liability in this way, so this may not apply to you);
29
+
30
+ The SimPL continues perpetually, except that your license rights end automatically if:
31
+
32
+ - You do not abide by the "give back to the community" terms (your licensees get to keep their rights if they abide);
33
+ - Anyone prevents you from distributing the software under the terms of the SimPL.
34
+
35
+ License for the License
36
+
37
+ You may do anything that you want with the SimPL text; it's a license form to use in any way that you find helpful. To avoid confusion, however, if you change the terms in any way then you may not call your license the Simple Public License or the SimPL (but feel free to acknowledge that your license is "based on the Simple Public License").
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.4
2
+ Name: pygremlinbox-simpl-2-0
3
+ Version: 1.4.0
4
+ Summary: PyGremlinBox SimPL-2.0 - Supply chain security testing module with SimPL-2.0 licence
5
+ Author-email: Supply Chain Security Tester <simon@sigre.xyz>
6
+ Maintainer-email: Supply Chain Security Tester <simon@sigre.xyz>
7
+ License: SimPL-2.0
8
+ Project-URL: Homepage, https://github.com/gocortexio/pygremlinbox
9
+ Project-URL: Repository, https://github.com/gocortexio/pygremlinbox.git
10
+ Project-URL: Issues, https://github.com/gocortexio/pygremlinbox/issues
11
+ Keywords: security,supply-chain,testing,licence
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Topic :: Security
22
+ Classifier: Topic :: Software Development :: Testing
23
+ Requires-Python: >=3.8
24
+ License-File: LICENCE
25
+ Dynamic: license-file
@@ -0,0 +1,45 @@
1
+ # SPDX-License-Identifier: SimPL-2.0
2
+ # SPDX-FileCopyrightText: 2025 PyGremlinBox Maintainer <simon@sigre.xyz>
3
+
4
+ [build-system]
5
+ requires = ["setuptools>=61.0", "wheel"]
6
+ build-backend = "setuptools.build_meta"
7
+
8
+ [project]
9
+ name = "pygremlinbox-simpl-2-0"
10
+ version = "1.4.0"
11
+ description = "PyGremlinBox SimPL-2.0 - Supply chain security testing module with SimPL-2.0 licence"
12
+ license = {text = "SimPL-2.0"} # SPDX: SimPL-2.0
13
+ authors = [
14
+ {name = "Supply Chain Security Tester", email = "simon@sigre.xyz"}
15
+ ]
16
+ maintainers = [
17
+ {name = "Supply Chain Security Tester", email = "simon@sigre.xyz"}
18
+ ]
19
+ keywords = ["security", "supply-chain", "testing", "licence"]
20
+ classifiers = [
21
+ "Development Status :: 4 - Beta",
22
+ "Intended Audience :: Developers",
23
+ "Operating System :: OS Independent",
24
+ "Programming Language :: Python :: 3",
25
+ "Programming Language :: Python :: 3.8",
26
+ "Programming Language :: Python :: 3.9",
27
+ "Programming Language :: Python :: 3.10",
28
+ "Programming Language :: Python :: 3.11",
29
+ "Programming Language :: Python :: 3.12",
30
+ "Topic :: Security",
31
+ "Topic :: Software Development :: Testing"
32
+ ]
33
+ requires-python = ">=3.8"
34
+
35
+ [project.urls]
36
+ Homepage = "https://github.com/gocortexio/pygremlinbox"
37
+ Repository = "https://github.com/gocortexio/pygremlinbox.git"
38
+ Issues = "https://github.com/gocortexio/pygremlinbox/issues"
39
+
40
+ [tool.setuptools.packages.find]
41
+ where = ["src"]
42
+ include = ["pygremlinbox_simpl_2_0"]
43
+
44
+ [tool.setuptools.package-dir]
45
+ "" = "src"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,73 @@
1
+ # SPDX-License-Identifier: SimPL-2.0
2
+ # SPDX-FileCopyrightText: 2025 PyGremlinBox Maintainer <simon@sigre.xyz>
3
+
4
+ """
5
+ PyGremlinBox SimPL-2.0 - Supply chain security testing module.
6
+
7
+ This package is licenced under SimPL-2.0.
8
+ It is designed for testing supply chain security tools and their ability to detect
9
+ licences in Python packages.
10
+
11
+ The package provides basic functionality for licence detection testing whilst
12
+ maintaining compliance with SimPL-2.0 requirements.
13
+ """
14
+
15
+ __version__ = "1.4.0"
16
+ __licence__ = "SimPL-2.0"
17
+
18
+ import os
19
+ from pathlib import Path
20
+
21
+
22
+ def get_licence_identifier():
23
+ """
24
+ Return the licence identifier for this package.
25
+
26
+ Returns:
27
+ str: The SPDX licence identifier
28
+ """
29
+ return "SimPL-2.0"
30
+
31
+
32
+ def retrieve_licence_content():
33
+ """
34
+ Retrieve the full licence text content.
35
+
36
+ Returns:
37
+ str: The complete licence text, or error message if not found
38
+ """
39
+ try:
40
+ # Look for licence file in package root
41
+ package_dir = Path(__file__).parent.parent.parent
42
+ licence_file = package_dir / "LICENCE"
43
+
44
+ if licence_file.exists():
45
+ return licence_file.read_text(encoding='utf-8')
46
+ else:
47
+ return f"Licence file not found at expected location: {licence_file}"
48
+ except Exception as e:
49
+ return f"Error reading licence file: {str(e)}"
50
+
51
+
52
+ def get_package_metadata():
53
+ """
54
+ Return basic metadata about this package.
55
+
56
+ Returns:
57
+ dict: Package metadata including name, version, and licence
58
+ """
59
+ return {
60
+ "name": "PyGremlinBox-SimPL-2-0",
61
+ "version": __version__,
62
+ "licence": __licence__,
63
+ "description": "Supply chain security testing module with SimPL-2.0 licence",
64
+ "spdx_licence_id": "SimPL-2.0"
65
+ }
66
+
67
+
68
+ # Export main functions
69
+ __all__ = [
70
+ "get_licence_identifier",
71
+ "retrieve_licence_content",
72
+ "get_package_metadata"
73
+ ]
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.4
2
+ Name: pygremlinbox-simpl-2-0
3
+ Version: 1.4.0
4
+ Summary: PyGremlinBox SimPL-2.0 - Supply chain security testing module with SimPL-2.0 licence
5
+ Author-email: Supply Chain Security Tester <simon@sigre.xyz>
6
+ Maintainer-email: Supply Chain Security Tester <simon@sigre.xyz>
7
+ License: SimPL-2.0
8
+ Project-URL: Homepage, https://github.com/gocortexio/pygremlinbox
9
+ Project-URL: Repository, https://github.com/gocortexio/pygremlinbox.git
10
+ Project-URL: Issues, https://github.com/gocortexio/pygremlinbox/issues
11
+ Keywords: security,supply-chain,testing,licence
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Topic :: Security
22
+ Classifier: Topic :: Software Development :: Testing
23
+ Requires-Python: >=3.8
24
+ License-File: LICENCE
25
+ Dynamic: license-file
@@ -0,0 +1,7 @@
1
+ LICENCE
2
+ pyproject.toml
3
+ src/pygremlinbox_simpl_2_0/__init__.py
4
+ src/pygremlinbox_simpl_2_0.egg-info/PKG-INFO
5
+ src/pygremlinbox_simpl_2_0.egg-info/SOURCES.txt
6
+ src/pygremlinbox_simpl_2_0.egg-info/dependency_links.txt
7
+ src/pygremlinbox_simpl_2_0.egg-info/top_level.txt