cunumpy 0.1__tar.gz → 0.1.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cunumpy
3
- Version: 0.1
3
+ Version: 0.1.1
4
4
  Summary: Simple wrapper for numpy and cupy. Replace `import numpy as np` with `import cunumpy as xp`.
5
5
  Author: Max
6
6
  Project-URL: Source, https://github.com/max-models/cunumpy
@@ -5,7 +5,7 @@ requires = [ "setuptools", "wheel" ]
5
5
 
6
6
  [project]
7
7
  name = "cunumpy"
8
- version = "0.1"
8
+ version = "0.1.1"
9
9
  description = "Simple wrapper for numpy and cupy. Replace `import numpy as np` with `import cunumpy as xp`."
10
10
  readme = "README.md"
11
11
  keywords = [ "python" ]
@@ -48,3 +48,6 @@ urls."Source" = "https://github.com/max-models/cunumpy"
48
48
 
49
49
  [tool.setuptools.packages.find]
50
50
  where = [ "src" ]
51
+
52
+ [tool.setuptools.package-data]
53
+ cunumpy = [ "py.typed", "*.pyi" ]
@@ -0,0 +1,7 @@
1
+ # Stub file for Pylance/mypy: exposes all numpy symbols so that
2
+ # `import cunumpy as xp` followed by `xp.<Tab>` shows numpy completions.
3
+ # At runtime the real __init__.py dispatches to numpy or cupy via __getattr__.
4
+ from numpy import *
5
+ from numpy import __config__, __version__
6
+
7
+ from . import xp
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cunumpy
3
- Version: 0.1
3
+ Version: 0.1.1
4
4
  Summary: Simple wrapper for numpy and cupy. Replace `import numpy as np` with `import cunumpy as xp`.
5
5
  Author: Max
6
6
  Project-URL: Source, https://github.com/max-models/cunumpy
@@ -1,7 +1,9 @@
1
1
  README.md
2
2
  pyproject.toml
3
3
  src/cunumpy/__init__.py
4
+ src/cunumpy/__init__.pyi
4
5
  src/cunumpy/main.py
6
+ src/cunumpy/py.typed
5
7
  src/cunumpy/xp.py
6
8
  src/cunumpy.egg-info/PKG-INFO
7
9
  src/cunumpy.egg-info/SOURCES.txt
File without changes
File without changes
File without changes
File without changes
File without changes