dummyfunction 1.0.4__tar.gz → 1.1.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.
Files changed (23) hide show
  1. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/LICENSE.txt +1 -1
  2. dummyfunction-1.1.0/MANIFEST.in +2 -0
  3. dummyfunction-1.1.0/PKG-INFO +32 -0
  4. dummyfunction-1.1.0/README.rst +7 -0
  5. dummyfunction-1.1.0/docs/v1.0.rst +60 -0
  6. dummyfunction-1.1.0/docs/v1.1.rst +73 -0
  7. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/pyproject.toml +21 -7
  8. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/src/dummyfunction/core/__init__.py +1 -1
  9. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/src/dummyfunction/tests/__init__.py +5 -1
  10. dummyfunction-1.0.4/src/dummyfunction/tests/test_1984.py → dummyfunction-1.1.0/src/dummyfunction/tests/test_TestDummyFunction.py +11 -8
  11. dummyfunction-1.1.0/src/dummyfunction.egg-info/PKG-INFO +32 -0
  12. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/src/dummyfunction.egg-info/SOURCES.txt +4 -1
  13. dummyfunction-1.1.0/src/dummyfunction.egg-info/requires.txt +2 -0
  14. dummyfunction-1.0.4/PKG-INFO +0 -51
  15. dummyfunction-1.0.4/README.rst +0 -5
  16. dummyfunction-1.0.4/src/dummyfunction.egg-info/PKG-INFO +0 -51
  17. dummyfunction-1.0.4/src/dummyfunction.egg-info/requires.txt +0 -2
  18. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/setup.cfg +0 -0
  19. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/src/dummyfunction/__init__.py +0 -0
  20. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/src/dummyfunction/__main__.py +0 -0
  21. /dummyfunction-1.0.4/MANIFEST.in → /dummyfunction-1.1.0/src/dummyfunction/py.typed +0 -0
  22. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/src/dummyfunction.egg-info/dependency_links.txt +0 -0
  23. {dummyfunction-1.0.4 → dummyfunction-1.1.0}/src/dummyfunction.egg-info/top_level.txt +0 -0
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
@@ -0,0 +1,2 @@
1
+ recursive-include docs *.rst
2
+ recursive-include src/dummyfunction *.toml
@@ -0,0 +1,32 @@
1
+ Metadata-Version: 2.4
2
+ Name: dummyfunction
3
+ Version: 1.1.0
4
+ Summary: This project provides the dummy function.
5
+ Author-email: Johannes <johannes.programming@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Download, https://pypi.org/project/dummyfunction/#files
8
+ Project-URL: Index, https://pypi.org/project/dummyfunction/
9
+ Project-URL: Source, https://github.com/johannes-programming/dummyfunction/
10
+ Project-URL: Website, https://dummyfunction.johannes-programming.online/
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Natural Language :: English
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Typing :: Typed
19
+ Requires-Python: >=3.11
20
+ Description-Content-Type: text/x-rst
21
+ License-File: LICENSE.txt
22
+ Requires-Dist: click<9,>=8.2
23
+ Requires-Dist: preparse<2,>=1.0
24
+ Dynamic: license-file
25
+
26
+ =============
27
+ dummyfunction
28
+ =============
29
+
30
+ Each minor version has its own documentation.
31
+ These docs can be found as rst-files in the ``docs/`` directory of this project.
32
+ They can also be viewed on the website `https://dummyfunction.johannes-programming.online/ <https://dummyfunction.johannes-programming.online/>`_.
@@ -0,0 +1,7 @@
1
+ =============
2
+ dummyfunction
3
+ =============
4
+
5
+ Each minor version has its own documentation.
6
+ These docs can be found as rst-files in the ``docs/`` directory of this project.
7
+ They can also be viewed on the website `https://dummyfunction.johannes-programming.online/ <https://dummyfunction.johannes-programming.online/>`_.
@@ -0,0 +1,60 @@
1
+ Introduction
2
+ ------------
3
+
4
+ This project provides the ``dummyfunction``.
5
+
6
+ Installation
7
+ ------------
8
+
9
+ To install ``dummyfunction``, you can use ``pip``.
10
+ Open your terminal and run:
11
+
12
+ .. code-block:: shell
13
+
14
+ pip install dummyfunction
15
+
16
+ Features
17
+ --------
18
+
19
+ ``dummyfunction.dummyfunction(*args: object, **kwargs: object) -> None``
20
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21
+
22
+ This function does nothing.
23
+
24
+ ``dummyfunction.main``
25
+ ~~~~~~~~~~~~~~~~~~~~~~
26
+
27
+ This click command implements the CLI.
28
+
29
+ ``dummyfunction.tests.test() -> unittest.TextTestResult``
30
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31
+
32
+ This project can be tested through its ``test`` function.
33
+
34
+ .. code-block:: python
35
+
36
+ import dummyfunction.tests
37
+ dummyfunction.tests.test()
38
+
39
+ License
40
+ -------
41
+
42
+ This project is licensed under the MIT License.
43
+
44
+ Links
45
+ -----
46
+
47
+ - Download: https://pypi.org/project/dummyfunction/#files
48
+ - Index: https://pypi.org/project/dummyfunction/
49
+ - Source: https://github.com/johannes-programming/dummyfunction/
50
+ - Website: https://dummyfunction.johannes-programming.online/
51
+
52
+ Impressum
53
+ ---------
54
+
55
+ **Johannes Programming**
56
+
57
+ - Name: Johannes
58
+ - Email: johannes.programming@gmail.com
59
+ - Homepage: https://www.johannes-programming.online/
60
+ - Gravatar: https://www.johannes-programming.fyi/
@@ -0,0 +1,73 @@
1
+ Introduction
2
+ ------------
3
+
4
+ This project provides the ``dummyfunction``.
5
+
6
+ Installation
7
+ ------------
8
+
9
+ To install ``dummyfunction``, you can use ``pip``.
10
+ Open your terminal and run:
11
+
12
+ .. code-block:: shell
13
+
14
+ pip install dummyfunction
15
+
16
+ Typing
17
+ ------
18
+
19
+ The typing conforms (not strictly) to ``mypy``.
20
+
21
+ .. container:: versionadded
22
+
23
+ **Added in version 1.1.**
24
+
25
+ Features
26
+ --------
27
+
28
+ ``dummyfunction.dummyfunction(*args: object, **kwargs: object) -> None``
29
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30
+
31
+ This function does nothing.
32
+
33
+ ``dummyfunction.main``
34
+ ~~~~~~~~~~~~~~~~~~~~~~
35
+
36
+ This click command implements the CLI.
37
+
38
+ .. container:: versionadded
39
+
40
+ **Added in version 1.1.**
41
+
42
+ ``dummyfunction.tests.test() -> unittest.TextTestResult``
43
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44
+
45
+ This project can be tested through its ``test`` function.
46
+
47
+ .. code-block:: python
48
+
49
+ import dummyfunction.tests
50
+ dummyfunction.tests.test()
51
+
52
+ License
53
+ -------
54
+
55
+ This project is licensed under the MIT License.
56
+
57
+ Links
58
+ -----
59
+
60
+ - Download: https://pypi.org/project/dummyfunction/#files
61
+ - Index: https://pypi.org/project/dummyfunction/
62
+ - Source: https://github.com/johannes-programming/dummyfunction/
63
+ - Website: https://dummyfunction.johannes-programming.online/
64
+
65
+ Impressum
66
+ ---------
67
+
68
+ **Johannes Programming**
69
+
70
+ - Name: Johannes
71
+ - Email: johannes.programming@gmail.com
72
+ - Homepage: https://www.johannes-programming.online/
73
+ - Gravatar: https://www.johannes-programming.fyi/
@@ -1,7 +1,7 @@
1
1
  [build-system]
2
2
  build-backend = "setuptools.build_meta"
3
3
  requires = [
4
- "setuptools>=61.0",
4
+ "setuptools>=77.0",
5
5
  ]
6
6
 
7
7
  [project]
@@ -11,7 +11,6 @@ authors = [
11
11
  classifiers = [
12
12
  "Development Status :: 5 - Production/Stable",
13
13
  "Intended Audience :: Developers",
14
- "License :: OSI Approved :: MIT License",
15
14
  "Natural Language :: English",
16
15
  "Operating System :: OS Independent",
17
16
  "Programming Language :: Python",
@@ -21,20 +20,35 @@ classifiers = [
21
20
  ]
22
21
  dependencies = [
23
22
  "click>=8.2,<9",
24
- "preparse>=0.1.6,<2",
23
+ "preparse>=1.0,<2",
25
24
  ]
26
25
  description = "This project provides the dummy function."
27
26
  keywords = []
27
+ license = "MIT"
28
+ license-files = [
29
+ "LICENSE.txt",
30
+ ]
28
31
  name = "dummyfunction"
29
32
  readme = "README.rst"
30
33
  requires-python = ">=3.11"
31
- version = "1.0.4"
32
-
33
- [project.license]
34
- file = "LICENSE.txt"
34
+ version = "1.1.0"
35
35
 
36
36
  [project.urls]
37
37
  Download = "https://pypi.org/project/dummyfunction/#files"
38
38
  Index = "https://pypi.org/project/dummyfunction/"
39
39
  Source = "https://github.com/johannes-programming/dummyfunction/"
40
40
  Website = "https://dummyfunction.johannes-programming.online/"
41
+
42
+ [tool.mypy]
43
+ files = [
44
+ ".",
45
+ ]
46
+ python_version = "3.11"
47
+ strict = false
48
+
49
+ [[tool.mypy.overrides]]
50
+ module = [
51
+ "preparse",
52
+ "preparse.*",
53
+ ]
54
+ ignore_missing_imports = true
@@ -6,7 +6,7 @@ import preparse
6
6
  __all__ = ["dummyfunction", "main"]
7
7
 
8
8
 
9
- def dummyfunction(*args: Any, **kwargs: Any) -> None:
9
+ def dummyfunction(*args: object, **kwargs: object) -> None:
10
10
  "This function does nothing."
11
11
  pass
12
12
 
@@ -3,8 +3,12 @@ import unittest
3
3
  __all__ = ["test"]
4
4
 
5
5
 
6
- def test() -> unittest.TextTestRunner:
6
+ def test() -> unittest.TextTestResult:
7
7
  "This function runs all the tests."
8
+ loader: unittest.TestLoader
9
+ tests: unittest.TestSuite
10
+ runner: unittest.TextTestRunner
11
+ result: unittest.TextTestResult
8
12
  loader = unittest.TestLoader()
9
13
  tests = loader.discover(start_dir="dummyfunction.tests")
10
14
  runner = unittest.TextTestRunner()
@@ -1,32 +1,35 @@
1
1
  import unittest
2
+ from typing import *
2
3
 
3
4
  from dummyfunction.core import dummyfunction
4
5
 
6
+ __all__ = ["TestDummyFunction"]
7
+
5
8
 
6
9
  class TestDummyFunction(unittest.TestCase):
7
- def test_dummyfunction_no_args(self):
8
- """Test dummyfunction with no arguments."""
10
+ def test_dummyfunction_no_args(self: Self) -> None:
11
+ "Test dummyfunction with no arguments."
9
12
  try:
10
13
  dummyfunction()
11
14
  except Exception as e:
12
15
  self.fail(f"dummyfunction() raised an exception: {e}")
13
16
 
14
- def test_dummyfunction_with_args(self):
15
- """Test dummyfunction with positional arguments."""
17
+ def test_dummyfunction_with_args(self: Self) -> None:
18
+ "Test dummyfunction with positional arguments."
16
19
  try:
17
20
  dummyfunction(1, 2, 3, "test")
18
21
  except Exception as e:
19
22
  self.fail(f"dummyfunction(1, 2, 3, 'test') raised an exception: {e}")
20
23
 
21
- def test_dummyfunction_with_kwargs(self):
22
- """Test dummyfunction with keyword arguments."""
24
+ def test_dummyfunction_with_kwargs(self: Self) -> None:
25
+ "Test dummyfunction with keyword arguments."
23
26
  try:
24
27
  dummyfunction(a=1, b=2, c="test")
25
28
  except Exception as e:
26
29
  self.fail(f"dummyfunction(a=1, b=2, c='test') raised an exception: {e}")
27
30
 
28
- def test_dummyfunction_with_args_and_kwargs(self):
29
- """Test dummyfunction with both positional and keyword arguments."""
31
+ def test_dummyfunction_with_args_and_kwargs(self: Self) -> None:
32
+ "Test dummyfunction with both positional and keyword arguments."
30
33
  try:
31
34
  dummyfunction(1, "string", key1=True, key2=None)
32
35
  except Exception as e:
@@ -0,0 +1,32 @@
1
+ Metadata-Version: 2.4
2
+ Name: dummyfunction
3
+ Version: 1.1.0
4
+ Summary: This project provides the dummy function.
5
+ Author-email: Johannes <johannes.programming@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Download, https://pypi.org/project/dummyfunction/#files
8
+ Project-URL: Index, https://pypi.org/project/dummyfunction/
9
+ Project-URL: Source, https://github.com/johannes-programming/dummyfunction/
10
+ Project-URL: Website, https://dummyfunction.johannes-programming.online/
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Natural Language :: English
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Typing :: Typed
19
+ Requires-Python: >=3.11
20
+ Description-Content-Type: text/x-rst
21
+ License-File: LICENSE.txt
22
+ Requires-Dist: click<9,>=8.2
23
+ Requires-Dist: preparse<2,>=1.0
24
+ Dynamic: license-file
25
+
26
+ =============
27
+ dummyfunction
28
+ =============
29
+
30
+ Each minor version has its own documentation.
31
+ These docs can be found as rst-files in the ``docs/`` directory of this project.
32
+ They can also be viewed on the website `https://dummyfunction.johannes-programming.online/ <https://dummyfunction.johannes-programming.online/>`_.
@@ -3,8 +3,11 @@ MANIFEST.in
3
3
  README.rst
4
4
  pyproject.toml
5
5
  setup.cfg
6
+ docs/v1.0.rst
7
+ docs/v1.1.rst
6
8
  src/dummyfunction/__init__.py
7
9
  src/dummyfunction/__main__.py
10
+ src/dummyfunction/py.typed
8
11
  src/dummyfunction.egg-info/PKG-INFO
9
12
  src/dummyfunction.egg-info/SOURCES.txt
10
13
  src/dummyfunction.egg-info/dependency_links.txt
@@ -12,4 +15,4 @@ src/dummyfunction.egg-info/requires.txt
12
15
  src/dummyfunction.egg-info/top_level.txt
13
16
  src/dummyfunction/core/__init__.py
14
17
  src/dummyfunction/tests/__init__.py
15
- src/dummyfunction/tests/test_1984.py
18
+ src/dummyfunction/tests/test_TestDummyFunction.py
@@ -0,0 +1,2 @@
1
+ click<9,>=8.2
2
+ preparse<2,>=1.0
@@ -1,51 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: dummyfunction
3
- Version: 1.0.4
4
- Summary: This project provides the dummy function.
5
- Author-email: Johannes <johannes.programming@gmail.com>
6
- License: The MIT License (MIT)
7
-
8
- Copyright (c) 2025 Johannes
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
- Project-URL: Download, https://pypi.org/project/dummyfunction/#files
28
- Project-URL: Index, https://pypi.org/project/dummyfunction/
29
- Project-URL: Source, https://github.com/johannes-programming/dummyfunction/
30
- Project-URL: Website, https://dummyfunction.johannes-programming.online/
31
- Classifier: Development Status :: 5 - Production/Stable
32
- Classifier: Intended Audience :: Developers
33
- Classifier: License :: OSI Approved :: MIT License
34
- Classifier: Natural Language :: English
35
- Classifier: Operating System :: OS Independent
36
- Classifier: Programming Language :: Python
37
- Classifier: Programming Language :: Python :: 3
38
- Classifier: Programming Language :: Python :: 3 :: Only
39
- Classifier: Typing :: Typed
40
- Requires-Python: >=3.11
41
- Description-Content-Type: text/x-rst
42
- License-File: LICENSE.txt
43
- Requires-Dist: click<9,>=8.2
44
- Requires-Dist: preparse<2,>=0.1.6
45
- Dynamic: license-file
46
-
47
- =============
48
- dummyfunction
49
- =============
50
-
51
- Visit the website `https://dummyfunction.johannes-programming.online/ <https://dummyfunction.johannes-programming.online/>`_ for more information.
@@ -1,5 +0,0 @@
1
- =============
2
- dummyfunction
3
- =============
4
-
5
- Visit the website `https://dummyfunction.johannes-programming.online/ <https://dummyfunction.johannes-programming.online/>`_ for more information.
@@ -1,51 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: dummyfunction
3
- Version: 1.0.4
4
- Summary: This project provides the dummy function.
5
- Author-email: Johannes <johannes.programming@gmail.com>
6
- License: The MIT License (MIT)
7
-
8
- Copyright (c) 2025 Johannes
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
- Project-URL: Download, https://pypi.org/project/dummyfunction/#files
28
- Project-URL: Index, https://pypi.org/project/dummyfunction/
29
- Project-URL: Source, https://github.com/johannes-programming/dummyfunction/
30
- Project-URL: Website, https://dummyfunction.johannes-programming.online/
31
- Classifier: Development Status :: 5 - Production/Stable
32
- Classifier: Intended Audience :: Developers
33
- Classifier: License :: OSI Approved :: MIT License
34
- Classifier: Natural Language :: English
35
- Classifier: Operating System :: OS Independent
36
- Classifier: Programming Language :: Python
37
- Classifier: Programming Language :: Python :: 3
38
- Classifier: Programming Language :: Python :: 3 :: Only
39
- Classifier: Typing :: Typed
40
- Requires-Python: >=3.11
41
- Description-Content-Type: text/x-rst
42
- License-File: LICENSE.txt
43
- Requires-Dist: click<9,>=8.2
44
- Requires-Dist: preparse<2,>=0.1.6
45
- Dynamic: license-file
46
-
47
- =============
48
- dummyfunction
49
- =============
50
-
51
- Visit the website `https://dummyfunction.johannes-programming.online/ <https://dummyfunction.johannes-programming.online/>`_ for more information.
@@ -1,2 +0,0 @@
1
- click<9,>=8.2
2
- preparse<2,>=0.1.6
File without changes