imagekit-python 0.0.1a1__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,18 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+
9
+ # Virtual environments
10
+ .venv
11
+
12
+ # Test
13
+ tests/**/*.jpg
14
+ tests/**/*.jpeg
15
+ tests/**/text.txt
16
+
17
+ # pypi
18
+ .pypirc
@@ -0,0 +1 @@
1
+ 3.9
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hoopoes
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.4
2
+ Name: imagekit-python
3
+ Version: 0.0.1a1
4
+ Summary: A Python library that provides a unified interface for handling images across multiple formats and performing common image processing tasks.
5
+ Project-URL: Repository, https://github.com/Hoopoes/imagekit
6
+ License-Expression: MIT
7
+ License-File: LICENSE
8
+ Classifier: Development Status :: 1 - Planning
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Natural Language :: English
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3 :: Only
14
+ Classifier: Programming Language :: Python :: 3.7
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Classifier: Typing :: Typed
22
+ Requires-Python: >=3.9
23
+ Requires-Dist: numpy>=1.21.6
24
+ Requires-Dist: opencv-python-headless>=4.13.0.92
25
+ Requires-Dist: pillow>=9.5.0
26
+ Requires-Dist: pydantic>=2.5.3
27
+ Provides-Extra: all
28
+ Requires-Dist: pytesseract; extra == 'all'
29
+ Provides-Extra: pytesseract
30
+ Requires-Dist: pytesseract>=0.3.13; extra == 'pytesseract'
31
+ Description-Content-Type: text/markdown
32
+
33
+ # Imagekit
34
+
35
+ `ImageKit` is a Python library that provides a unified interface for handling images across multiple formats (`bytes`, OpenCV `cv2`, Pillow `Image`) and performing common image processing tasks. It is designed for developers who want all-in-one image handling and processing, including conversion, cropping, resizing, rotation, and document unwarping.
36
+
37
+
38
+
39
+ ## Installation
40
+
41
+ ```bash
42
+ coming soon
43
+ ```
44
+
45
+
46
+ ## Quick Start 🚀
47
+
48
+ ### Basic Usage
49
+
50
+ ```python
51
+ coming soon
52
+ ```
53
+
54
+
55
+ ## Parameters
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+ ## License
64
+
65
+ MIT License
@@ -0,0 +1,33 @@
1
+ # Imagekit
2
+
3
+ `ImageKit` is a Python library that provides a unified interface for handling images across multiple formats (`bytes`, OpenCV `cv2`, Pillow `Image`) and performing common image processing tasks. It is designed for developers who want all-in-one image handling and processing, including conversion, cropping, resizing, rotation, and document unwarping.
4
+
5
+
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ coming soon
11
+ ```
12
+
13
+
14
+ ## Quick Start 🚀
15
+
16
+ ### Basic Usage
17
+
18
+ ```python
19
+ coming soon
20
+ ```
21
+
22
+
23
+ ## Parameters
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+ ## License
32
+
33
+ MIT License
@@ -0,0 +1,17 @@
1
+ **To local install package while developing**
2
+ (Install package)
3
+ uv pip install .[dev] (Locally and also install the development dependencies)
4
+ uv pip install -e .[dev] (In editable mode and also install the development dependencies)
5
+ uv pip install -e .[dev,pytesseract] (In editable mode and also install the development and optional dependencies)
6
+
7
+ **How to publish package using uv**
8
+
9
+ [building-your-package](https://docs.astral.sh/uv/guides/package/#building-your-package)
10
+
11
+ [packaging-projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
12
+
13
+ **Package stats**
14
+ [PyPiStats](https://pypistats.org)
15
+ uv run --python 3.9 pytest
16
+ uv run --python 3.10 pytest
17
+ ... so on
@@ -0,0 +1,6 @@
1
+ def main():
2
+ print("Hello from imagekit!")
3
+
4
+
5
+ if __name__ == "__main__":
6
+ main()
@@ -0,0 +1,56 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "imagekit-python"
7
+ version = "0.0.1a1"
8
+ description = "A Python library that provides a unified interface for handling images across multiple formats and performing common image processing tasks."
9
+ readme = "README.md"
10
+ license = 'MIT'
11
+ license-files = ['LICENSE']
12
+ classifiers = [
13
+ "Development Status :: 1 - Planning",
14
+ "Intended Audience :: Developers",
15
+ "License :: OSI Approved :: MIT License",
16
+ "Operating System :: OS Independent",
17
+ "Programming Language :: Python :: 3 :: Only",
18
+ "Programming Language :: Python :: 3.7",
19
+ "Programming Language :: Python :: 3.8",
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
+ "Topic :: Software Development :: Libraries :: Python Modules",
25
+ "Typing :: Typed",
26
+ "Natural Language :: English",
27
+ ]
28
+ requires-python = ">=3.9"
29
+ dependencies = [
30
+ "numpy>=1.21.6",
31
+ "opencv-python-headless>=4.13.0.92",
32
+ "pillow>=9.5.0",
33
+ "pydantic>=2.5.3",
34
+ ]
35
+
36
+ [project.optional-dependencies]
37
+ pytesseract = ["pytesseract>=0.3.13"]
38
+ all = ["pytesseract"]
39
+
40
+ [dependency-groups]
41
+ dev = ["pytest>=7.4.4"]
42
+
43
+ [project.urls]
44
+ Repository = "https://github.com/Hoopoes/imagekit"
45
+
46
+ [[tool.uv.index]]
47
+ name = "testpypi"
48
+ url = "https://test.pypi.org/simple/"
49
+ publish-url = "https://test.pypi.org/legacy/"
50
+ explicit = true
51
+
52
+ [[tool.uv.index]]
53
+ name = "pypi"
54
+ url = "https://pypi.org/simple/"
55
+ publish-url = "https://upload.pypi.org/legacy/"
56
+ explicit = true
@@ -0,0 +1,15 @@
1
+ from .smart_image import (
2
+ ImageFormat,
3
+ SmartImage,
4
+ ImageEmpty,
5
+ ImageTooLarge,
6
+ InvalidImage,
7
+ )
8
+
9
+ __all__ = [
10
+ "ImageFormat",
11
+ "SmartImage",
12
+ "ImageEmpty",
13
+ "ImageTooLarge",
14
+ "InvalidImage",
15
+ ]