colormap-complex 0.0.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
+
2
+ MIT License
3
+
4
+ Copyright (c) 2025 34j
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,94 @@
1
+ Metadata-Version: 2.4
2
+ Name: colormap-complex
3
+ Version: 0.0.0
4
+ Summary: Complex / 2d colormap
5
+ Author-email: 34j <34j.95a2p@simplelogin.com>
6
+ License: MIT
7
+ Project-URL: Bug Tracker, https://github.com/34j/colormap-complex/issues
8
+ Project-URL: Changelog, https://github.com/34j/colormap-complex/blob/main/CHANGELOG.md
9
+ Project-URL: documentation, https://colormap-complex.readthedocs.io
10
+ Project-URL: repository, https://github.com/34j/colormap-complex
11
+ Classifier: Development Status :: 2 - Pre-Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Natural Language :: English
14
+ Classifier: Operating System :: OS Independent
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: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: Software Development :: Libraries
21
+ Requires-Python: >=3.9
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Dynamic: license-file
25
+
26
+ # Colormap Complex
27
+
28
+ <p align="center">
29
+ <a href="https://github.com/34j/colormap-complex/actions/workflows/ci.yml?query=branch%3Amain">
30
+ <img src="https://img.shields.io/github/actions/workflow/status/34j/colormap-complex/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
31
+ </a>
32
+ <a href="https://colormap-complex.readthedocs.io">
33
+ <img src="https://img.shields.io/readthedocs/colormap-complex.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
34
+ </a>
35
+ <a href="https://codecov.io/gh/34j/colormap-complex">
36
+ <img src="https://img.shields.io/codecov/c/github/34j/colormap-complex.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
37
+ </a>
38
+ </p>
39
+ <p align="center">
40
+ <a href="https://github.com/astral-sh/uv">
41
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
42
+ </a>
43
+ <a href="https://github.com/astral-sh/ruff">
44
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
45
+ </a>
46
+ <a href="https://github.com/pre-commit/pre-commit">
47
+ <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
48
+ </a>
49
+ </p>
50
+ <p align="center">
51
+ <a href="https://pypi.org/project/colormap-complex/">
52
+ <img src="https://img.shields.io/pypi/v/colormap-complex.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
53
+ </a>
54
+ <img src="https://img.shields.io/pypi/pyversions/colormap-complex.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
55
+ <img src="https://img.shields.io/pypi/l/colormap-complex.svg?style=flat-square" alt="License">
56
+ </p>
57
+
58
+ ---
59
+
60
+ **Documentation**: <a href="https://colormap-complex.readthedocs.io" target="_blank">https://colormap-complex.readthedocs.io </a>
61
+
62
+ **Source Code**: <a href="https://github.com/34j/colormap-complex" target="_blank">https://github.com/34j/colormap-complex </a>
63
+
64
+ ---
65
+
66
+ Complex / 2d colormap
67
+
68
+ ## Installation
69
+
70
+ Install this via pip (or your favourite package manager):
71
+
72
+ `pip install colormap-complex`
73
+
74
+ ## Contributors ✨
75
+
76
+ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
77
+
78
+ <!-- prettier-ignore-start -->
79
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
80
+ <!-- markdownlint-disable -->
81
+ <!-- markdownlint-enable -->
82
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
83
+ <!-- prettier-ignore-end -->
84
+
85
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
86
+
87
+ ## Credits
88
+
89
+ [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/copier-org/copier)
90
+
91
+ This package was created with
92
+ [Copier](https://copier.readthedocs.io/) and the
93
+ [browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)
94
+ project template.
@@ -0,0 +1,69 @@
1
+ # Colormap Complex
2
+
3
+ <p align="center">
4
+ <a href="https://github.com/34j/colormap-complex/actions/workflows/ci.yml?query=branch%3Amain">
5
+ <img src="https://img.shields.io/github/actions/workflow/status/34j/colormap-complex/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
6
+ </a>
7
+ <a href="https://colormap-complex.readthedocs.io">
8
+ <img src="https://img.shields.io/readthedocs/colormap-complex.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
9
+ </a>
10
+ <a href="https://codecov.io/gh/34j/colormap-complex">
11
+ <img src="https://img.shields.io/codecov/c/github/34j/colormap-complex.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
12
+ </a>
13
+ </p>
14
+ <p align="center">
15
+ <a href="https://github.com/astral-sh/uv">
16
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
17
+ </a>
18
+ <a href="https://github.com/astral-sh/ruff">
19
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
20
+ </a>
21
+ <a href="https://github.com/pre-commit/pre-commit">
22
+ <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
23
+ </a>
24
+ </p>
25
+ <p align="center">
26
+ <a href="https://pypi.org/project/colormap-complex/">
27
+ <img src="https://img.shields.io/pypi/v/colormap-complex.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
28
+ </a>
29
+ <img src="https://img.shields.io/pypi/pyversions/colormap-complex.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
30
+ <img src="https://img.shields.io/pypi/l/colormap-complex.svg?style=flat-square" alt="License">
31
+ </p>
32
+
33
+ ---
34
+
35
+ **Documentation**: <a href="https://colormap-complex.readthedocs.io" target="_blank">https://colormap-complex.readthedocs.io </a>
36
+
37
+ **Source Code**: <a href="https://github.com/34j/colormap-complex" target="_blank">https://github.com/34j/colormap-complex </a>
38
+
39
+ ---
40
+
41
+ Complex / 2d colormap
42
+
43
+ ## Installation
44
+
45
+ Install this via pip (or your favourite package manager):
46
+
47
+ `pip install colormap-complex`
48
+
49
+ ## Contributors ✨
50
+
51
+ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
52
+
53
+ <!-- prettier-ignore-start -->
54
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
55
+ <!-- markdownlint-disable -->
56
+ <!-- markdownlint-enable -->
57
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
58
+ <!-- prettier-ignore-end -->
59
+
60
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
61
+
62
+ ## Credits
63
+
64
+ [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/copier-org/copier)
65
+
66
+ This package was created with
67
+ [Copier](https://copier.readthedocs.io/) and the
68
+ [browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)
69
+ project template.
@@ -0,0 +1,160 @@
1
+ [build-system]
2
+ build-backend = "setuptools.build_meta"
3
+ requires = [ "setuptools" ]
4
+
5
+ [project]
6
+ name = "colormap-complex"
7
+ version = "0.0.0"
8
+ description = "Complex / 2d colormap"
9
+ readme = "README.md"
10
+ license = { text = "MIT" }
11
+ authors = [
12
+ { name = "34j", email = "34j.95a2p@simplelogin.com" },
13
+ ]
14
+ requires-python = ">=3.9"
15
+ classifiers = [
16
+ "Development Status :: 2 - Pre-Alpha",
17
+ "Intended Audience :: Developers",
18
+ "Natural Language :: English",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python :: 3.9",
21
+ "Programming Language :: Python :: 3.10",
22
+ "Programming Language :: Python :: 3.11",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Programming Language :: Python :: 3.13",
25
+ "Topic :: Software Development :: Libraries",
26
+ ]
27
+
28
+ dependencies = [
29
+ ]
30
+ urls."Bug Tracker" = "https://github.com/34j/colormap-complex/issues"
31
+ urls.Changelog = "https://github.com/34j/colormap-complex/blob/main/CHANGELOG.md"
32
+ urls.documentation = "https://colormap-complex.readthedocs.io"
33
+ urls.repository = "https://github.com/34j/colormap-complex"
34
+
35
+ [dependency-groups]
36
+ dev = [
37
+ "pytest>=8,<9",
38
+ "pytest-cov>=6,<7",
39
+ ]
40
+ docs = [
41
+ "furo>=2023.5.20; python_version>='3.11'",
42
+ "myst-parser>=0.16; python_version>='3.11'",
43
+ "sphinx>=4; python_version>='3.11'",
44
+ "sphinx-autobuild>=2024,<2025; python_version>='3.11'",
45
+ ]
46
+
47
+ [tool.ruff]
48
+ line-length = 88
49
+ lint.select = [
50
+ "B", # flake8-bugbear
51
+ "D", # flake8-docstrings
52
+ "C4", # flake8-comprehensions
53
+ "S", # flake8-bandit
54
+ "F", # pyflake
55
+ "E", # pycodestyle
56
+ "W", # pycodestyle
57
+ "UP", # pyupgrade
58
+ "I", # isort
59
+ "RUF", # ruff specific
60
+ ]
61
+ lint.ignore = [
62
+ "D203", # 1 blank line required before class docstring
63
+ "D212", # Multi-line docstring summary should start at the first line
64
+ "D100", # Missing docstring in public module
65
+ "D104", # Missing docstring in public package
66
+ "D107", # Missing docstring in `__init__`
67
+ "D401", # First line of docstring should be in imperative mood
68
+ ]
69
+ lint.per-file-ignores."conftest.py" = [ "D100" ]
70
+ lint.per-file-ignores."docs/conf.py" = [ "D100" ]
71
+ lint.per-file-ignores."setup.py" = [ "D100" ]
72
+ lint.per-file-ignores."tests/**/*" = [
73
+ "D100",
74
+ "D101",
75
+ "D102",
76
+ "D103",
77
+ "D104",
78
+ "S101",
79
+ ]
80
+ lint.isort.known-first-party = [ "colormap_complex", "tests" ]
81
+
82
+ [tool.pytest.ini_options]
83
+ addopts = """\
84
+ -v
85
+ -Wdefault
86
+ --cov=colormap_complex
87
+ --cov-report=term
88
+ --cov-report=xml
89
+ """
90
+ pythonpath = [ "src" ]
91
+
92
+ [tool.coverage.run]
93
+ branch = true
94
+
95
+ [tool.coverage.report]
96
+ exclude_lines = [
97
+ "pragma: no cover",
98
+ "@overload",
99
+ "if TYPE_CHECKING",
100
+ "raise NotImplementedError",
101
+ 'if __name__ == "__main__":',
102
+ ]
103
+
104
+ [tool.mypy]
105
+ check_untyped_defs = true
106
+ disallow_any_generics = true
107
+ disallow_incomplete_defs = true
108
+ disallow_untyped_defs = true
109
+ mypy_path = "src/"
110
+ no_implicit_optional = true
111
+ show_error_codes = true
112
+ warn_unreachable = true
113
+ warn_unused_ignores = true
114
+ exclude = [
115
+ 'docs/.*',
116
+ 'setup.py',
117
+ ]
118
+
119
+ [[tool.mypy.overrides]]
120
+ module = "tests.*"
121
+ allow_untyped_defs = true
122
+
123
+ [[tool.mypy.overrides]]
124
+ module = "docs.*"
125
+ ignore_errors = true
126
+
127
+ [tool.semantic_release]
128
+ version_toml = [ "pyproject.toml:project.version" ]
129
+ version_variables = [
130
+ "src/colormap_complex/__init__.py:__version__",
131
+ "docs/conf.py:release",
132
+ ]
133
+ build_command = """
134
+ pip install uv
135
+ uv lock
136
+ git add uv.lock
137
+ uv build
138
+ """
139
+
140
+ [tool.semantic_release.changelog]
141
+ exclude_commit_patterns = [
142
+ '''chore(?:\([^)]*?\))?: .+''',
143
+ '''ci(?:\([^)]*?\))?: .+''',
144
+ '''refactor(?:\([^)]*?\))?: .+''',
145
+ '''style(?:\([^)]*?\))?: .+''',
146
+ '''test(?:\([^)]*?\))?: .+''',
147
+ '''build\((?!deps\): .+)''',
148
+ '''Merged? .*''',
149
+ '''Initial [Cc]ommit.*''', # codespell:ignore
150
+ ]
151
+
152
+ [tool.semantic_release.changelog.environment]
153
+ keep_trailing_newline = true
154
+
155
+ [tool.semantic_release.branches.main]
156
+ match = "main"
157
+
158
+ [tool.semantic_release.branches.noop]
159
+ match = "(?!main$)"
160
+ prerelease = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env python
2
+
3
+ # This is a shim to allow GitHub to detect the package, build is done with uv
4
+ # Taken from https://github.com/Textualize/rich
5
+
6
+ import setuptools
7
+
8
+ if __name__ == "__main__":
9
+ setuptools.setup(name="colormap-complex")
@@ -0,0 +1 @@
1
+ __version__ = "0.0.0"
@@ -0,0 +1,3 @@
1
+ def add(n1: int, n2: int) -> int:
2
+ """Add the arguments."""
3
+ return n1 + n2
File without changes
@@ -0,0 +1,94 @@
1
+ Metadata-Version: 2.4
2
+ Name: colormap-complex
3
+ Version: 0.0.0
4
+ Summary: Complex / 2d colormap
5
+ Author-email: 34j <34j.95a2p@simplelogin.com>
6
+ License: MIT
7
+ Project-URL: Bug Tracker, https://github.com/34j/colormap-complex/issues
8
+ Project-URL: Changelog, https://github.com/34j/colormap-complex/blob/main/CHANGELOG.md
9
+ Project-URL: documentation, https://colormap-complex.readthedocs.io
10
+ Project-URL: repository, https://github.com/34j/colormap-complex
11
+ Classifier: Development Status :: 2 - Pre-Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Natural Language :: English
14
+ Classifier: Operating System :: OS Independent
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: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: Software Development :: Libraries
21
+ Requires-Python: >=3.9
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Dynamic: license-file
25
+
26
+ # Colormap Complex
27
+
28
+ <p align="center">
29
+ <a href="https://github.com/34j/colormap-complex/actions/workflows/ci.yml?query=branch%3Amain">
30
+ <img src="https://img.shields.io/github/actions/workflow/status/34j/colormap-complex/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
31
+ </a>
32
+ <a href="https://colormap-complex.readthedocs.io">
33
+ <img src="https://img.shields.io/readthedocs/colormap-complex.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
34
+ </a>
35
+ <a href="https://codecov.io/gh/34j/colormap-complex">
36
+ <img src="https://img.shields.io/codecov/c/github/34j/colormap-complex.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
37
+ </a>
38
+ </p>
39
+ <p align="center">
40
+ <a href="https://github.com/astral-sh/uv">
41
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
42
+ </a>
43
+ <a href="https://github.com/astral-sh/ruff">
44
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
45
+ </a>
46
+ <a href="https://github.com/pre-commit/pre-commit">
47
+ <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
48
+ </a>
49
+ </p>
50
+ <p align="center">
51
+ <a href="https://pypi.org/project/colormap-complex/">
52
+ <img src="https://img.shields.io/pypi/v/colormap-complex.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
53
+ </a>
54
+ <img src="https://img.shields.io/pypi/pyversions/colormap-complex.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
55
+ <img src="https://img.shields.io/pypi/l/colormap-complex.svg?style=flat-square" alt="License">
56
+ </p>
57
+
58
+ ---
59
+
60
+ **Documentation**: <a href="https://colormap-complex.readthedocs.io" target="_blank">https://colormap-complex.readthedocs.io </a>
61
+
62
+ **Source Code**: <a href="https://github.com/34j/colormap-complex" target="_blank">https://github.com/34j/colormap-complex </a>
63
+
64
+ ---
65
+
66
+ Complex / 2d colormap
67
+
68
+ ## Installation
69
+
70
+ Install this via pip (or your favourite package manager):
71
+
72
+ `pip install colormap-complex`
73
+
74
+ ## Contributors ✨
75
+
76
+ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
77
+
78
+ <!-- prettier-ignore-start -->
79
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
80
+ <!-- markdownlint-disable -->
81
+ <!-- markdownlint-enable -->
82
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
83
+ <!-- prettier-ignore-end -->
84
+
85
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
86
+
87
+ ## Credits
88
+
89
+ [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/copier-org/copier)
90
+
91
+ This package was created with
92
+ [Copier](https://copier.readthedocs.io/) and the
93
+ [browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)
94
+ project template.
@@ -0,0 +1,12 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ src/colormap_complex/__init__.py
6
+ src/colormap_complex/main.py
7
+ src/colormap_complex/py.typed
8
+ src/colormap_complex.egg-info/PKG-INFO
9
+ src/colormap_complex.egg-info/SOURCES.txt
10
+ src/colormap_complex.egg-info/dependency_links.txt
11
+ src/colormap_complex.egg-info/top_level.txt
12
+ tests/test_main.py
@@ -0,0 +1 @@
1
+ colormap_complex
@@ -0,0 +1,6 @@
1
+ from colormap_complex.main import add
2
+
3
+
4
+ def test_add():
5
+ """Adding two number works as expected."""
6
+ assert add(1, 1) == 2