slangimage 0.0.1__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,36 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: slangimage
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Cross-platform GPU image processing library built on Slang/slangpy (Metal, CUDA, Vulkan). Placeholder release — under active development.
|
|
5
|
+
Author: Tekin Tatar
|
|
6
|
+
Keywords: cuda,gpu,image-processing,metal,pytorch,slang,slangpy,vulkan
|
|
7
|
+
Classifier: Development Status :: 1 - Planning
|
|
8
|
+
Classifier: Intended Audience :: Developers
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Topic :: Multimedia :: Graphics
|
|
11
|
+
Classifier: Topic :: Scientific/Engineering :: Image Processing
|
|
12
|
+
Requires-Python: >=3.9
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
# SlangImage
|
|
16
|
+
|
|
17
|
+
Cross-platform GPU image processing library built on [Slang](https://shader-slang.org/)
|
|
18
|
+
via [slangpy](https://github.com/shader-slang/slangpy) — one codebase running on
|
|
19
|
+
Metal, CUDA, and Vulkan, with PyTorch tensor interop and fp16-first pipelines.
|
|
20
|
+
|
|
21
|
+
**Status: under active development.** This 0.0.x release is a placeholder
|
|
22
|
+
reserving the package name; the first usable release will be 0.1.0.
|
|
23
|
+
|
|
24
|
+
Planned surface:
|
|
25
|
+
|
|
26
|
+
```python
|
|
27
|
+
import slangimage as si
|
|
28
|
+
|
|
29
|
+
img = si.load("photo.jpg", dtype="fp16") # or si.from_torch(t)
|
|
30
|
+
out = si.ops.surface_blur(img, radius=9, bsigma=0.05)
|
|
31
|
+
out = si.ops.vibrance(out, amount=0.6)
|
|
32
|
+
out.save("out.png") # or out.to_torch()
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
SlangImage is built on Slang and slangpy but is not affiliated with the Slang
|
|
36
|
+
project or Khronos.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SlangImage
|
|
2
|
+
|
|
3
|
+
Cross-platform GPU image processing library built on [Slang](https://shader-slang.org/)
|
|
4
|
+
via [slangpy](https://github.com/shader-slang/slangpy) — one codebase running on
|
|
5
|
+
Metal, CUDA, and Vulkan, with PyTorch tensor interop and fp16-first pipelines.
|
|
6
|
+
|
|
7
|
+
**Status: under active development.** This 0.0.x release is a placeholder
|
|
8
|
+
reserving the package name; the first usable release will be 0.1.0.
|
|
9
|
+
|
|
10
|
+
Planned surface:
|
|
11
|
+
|
|
12
|
+
```python
|
|
13
|
+
import slangimage as si
|
|
14
|
+
|
|
15
|
+
img = si.load("photo.jpg", dtype="fp16") # or si.from_torch(t)
|
|
16
|
+
out = si.ops.surface_blur(img, radius=9, bsigma=0.05)
|
|
17
|
+
out = si.ops.vibrance(out, amount=0.6)
|
|
18
|
+
out.save("out.png") # or out.to_torch()
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
SlangImage is built on Slang and slangpy but is not affiliated with the Slang
|
|
22
|
+
project or Khronos.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "slangimage"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Cross-platform GPU image processing library built on Slang/slangpy (Metal, CUDA, Vulkan). Placeholder release — under active development."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
authors = [{ name = "Tekin Tatar" }]
|
|
12
|
+
keywords = ["image-processing", "gpu", "slang", "slangpy", "cuda", "metal", "vulkan", "pytorch"]
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Development Status :: 1 - Planning",
|
|
15
|
+
"Intended Audience :: Developers",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Topic :: Multimedia :: Graphics",
|
|
18
|
+
"Topic :: Scientific/Engineering :: Image Processing",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[tool.hatch.build.targets.wheel]
|
|
22
|
+
packages = ["src/slangimage"]
|
|
23
|
+
|
|
24
|
+
[tool.hatch.build.targets.sdist]
|
|
25
|
+
include = ["src/slangimage", "README.md"]
|