saferatday0-library-python 0.24.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,22 @@
1
+ Metadata-Version: 2.4
2
+ Name: saferatday0-library-python
3
+ Version: 0.24.0
4
+ Summary: Example Python pipeline package.
5
+ Author-email: Example Author <author@example.com>
6
+ License: Apache-2.0
7
+ Project-URL: Home, https://gitlab.com/saferatday0/library/python
8
+ Project-URL: Issues, https://gitlab.com/saferatday0/library/python/-/issues
9
+ Keywords: ci,pipeline,python
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Topic :: Software Development :: Build Tools
20
+ Requires-Python: >=3.9
21
+ Description-Content-Type: text/markdown
22
+ Requires-Dist: pyyaml
@@ -0,0 +1,78 @@
1
+ # SPDX-FileCopyrightText: UL Research Institutes
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ [build-system]
5
+ requires = [
6
+ "setuptools>=60",
7
+ "wheel",
8
+ ]
9
+ build-backend = "setuptools.build_meta"
10
+
11
+ [project]
12
+ name = "saferatday0-library-python"
13
+ description = "Example Python pipeline package."
14
+ version = "0.24.0"
15
+
16
+ authors = [
17
+ {name = "Example Author", email = "author@example.com"},
18
+ ]
19
+
20
+ classifiers=[
21
+ "Development Status :: 3 - Alpha",
22
+ "Intended Audience :: Developers",
23
+ "License :: OSI Approved :: Apache Software License",
24
+ "Operating System :: OS Independent",
25
+ "Programming Language :: Python :: 3",
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 :: Software Development :: Build Tools",
31
+ ]
32
+
33
+ dependencies = [
34
+ "pyyaml",
35
+ ]
36
+
37
+ keywords = [
38
+ "ci",
39
+ "pipeline",
40
+ "python",
41
+ ]
42
+
43
+ license = {text = "Apache-2.0"}
44
+
45
+ readme = "README.md"
46
+
47
+ requires-python = ">=3.9"
48
+
49
+ [project.scripts]
50
+ python-pipeline = "python_pipeline.__main__:main"
51
+
52
+ [project.urls]
53
+ Home = "https://gitlab.com/saferatday0/library/python"
54
+ Issues = "https://gitlab.com/saferatday0/library/python/-/issues"
55
+
56
+ [tool.setuptools.packages.find]
57
+ include = ["python_pipeline*"]
58
+
59
+ [tool.deptry.package_module_name_map]
60
+ pyyaml = "yaml"
61
+
62
+ [tool.docformatter]
63
+ black = true
64
+
65
+ [tool.isort]
66
+ profile = "black"
67
+
68
+ [tool.importlinter]
69
+ root_packages = [
70
+ "python_pipeline",
71
+ ]
72
+ include_external_packages = true
73
+
74
+ [[tool.importlinter.contracts]]
75
+ name = "doesn't import django"
76
+ type = "forbidden"
77
+ source_modules = ["python_pipeline"]
78
+ forbidden_modules = ["django"]
@@ -0,0 +1,2 @@
1
+ # SPDX-FileCopyrightText: UL Research Institutes
2
+ # SPDX-License-Identifier: Apache-2.0
@@ -0,0 +1,24 @@
1
+ # SPDX-FileCopyrightText: UL Research Institutes
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ import argparse
5
+
6
+ import yaml
7
+
8
+ from ._version import __version__
9
+
10
+ parser = argparse.ArgumentParser()
11
+ parser.add_argument("name", help="Name")
12
+ parser.add_argument(
13
+ "-V", "--version", action="version", version="%(prog)s " + __version__
14
+ )
15
+
16
+
17
+ def main():
18
+ args = parser.parse_args()
19
+ print("Hello", args.name)
20
+ print(yaml.dump({"more": "info"}))
21
+
22
+
23
+ if __name__ == "__main__":
24
+ main()
@@ -0,0 +1,2 @@
1
+ __version__ = version = "0.24.0"
2
+ __version_tuple__ = version_tuple = (0, 24, 0)
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.4
2
+ Name: saferatday0-library-python
3
+ Version: 0.24.0
4
+ Summary: Example Python pipeline package.
5
+ Author-email: Example Author <author@example.com>
6
+ License: Apache-2.0
7
+ Project-URL: Home, https://gitlab.com/saferatday0/library/python
8
+ Project-URL: Issues, https://gitlab.com/saferatday0/library/python/-/issues
9
+ Keywords: ci,pipeline,python
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Topic :: Software Development :: Build Tools
20
+ Requires-Python: >=3.9
21
+ Description-Content-Type: text/markdown
22
+ Requires-Dist: pyyaml
@@ -0,0 +1,12 @@
1
+ pyproject.toml
2
+ python_pipeline/__init__.py
3
+ python_pipeline/__main__.py
4
+ python_pipeline/_version.py
5
+ python_pipeline/py.typed
6
+ saferatday0_library_python.egg-info/PKG-INFO
7
+ saferatday0_library_python.egg-info/SOURCES.txt
8
+ saferatday0_library_python.egg-info/dependency_links.txt
9
+ saferatday0_library_python.egg-info/entry_points.txt
10
+ saferatday0_library_python.egg-info/requires.txt
11
+ saferatday0_library_python.egg-info/top_level.txt
12
+ tests/test_main.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ python-pipeline = python_pipeline.__main__:main
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,12 @@
1
+ # SPDX-FileCopyrightText: UL Research Institutes
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ import subprocess
5
+
6
+
7
+ def test_nothing():
8
+ pass
9
+
10
+
11
+ def test_main():
12
+ subprocess.run(["python", "-m", "python_pipeline", "John Doe"])