nshutils 0.21.0__tar.gz → 0.22.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 (22) hide show
  1. {nshutils-0.21.0 → nshutils-0.22.0}/PKG-INFO +1 -2
  2. {nshutils-0.21.0 → nshutils-0.22.0}/pyproject.toml +1 -2
  3. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/lovely/config.py +3 -3
  4. {nshutils-0.21.0 → nshutils-0.22.0}/README.md +0 -0
  5. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/__init__.py +0 -0
  6. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/__init__.pyi +0 -0
  7. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/actsave/__init__.py +0 -0
  8. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/actsave/_loader.py +0 -0
  9. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/actsave/_saver.py +0 -0
  10. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/collections.py +0 -0
  11. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/display.py +0 -0
  12. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/logging.py +0 -0
  13. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/lovely/__init__.py +0 -0
  14. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/lovely/_base.py +0 -0
  15. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/lovely/_monkey_patch_all.py +0 -0
  16. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/lovely/jax_.py +0 -0
  17. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/lovely/numpy_.py +0 -0
  18. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/lovely/torch_.py +0 -0
  19. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/lovely/utils.py +0 -0
  20. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/snoop.py +0 -0
  21. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/typecheck.py +0 -0
  22. {nshutils-0.21.0 → nshutils-0.22.0}/src/nshutils/util.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: nshutils
3
- Version: 0.21.0
3
+ Version: 0.22.0
4
4
  Summary:
5
5
  Author: Nima Shoghi
6
6
  Author-email: nimashoghi@gmail.com
@@ -17,7 +17,6 @@ Provides-Extra: snoop
17
17
  Requires-Dist: beartype
18
18
  Requires-Dist: jaxtyping
19
19
  Requires-Dist: lazy-loader
20
- Requires-Dist: nshconfig
21
20
  Requires-Dist: numpy
22
21
  Requires-Dist: pysnooper ; extra == "extra"
23
22
  Requires-Dist: pysnooper ; extra == "snoop"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nshutils"
3
- version = "0.21.0"
3
+ version = "0.22.0"
4
4
  description = ""
5
5
  authors = [{ name = "Nima Shoghi", email = "nimashoghi@gmail.com" }]
6
6
  requires-python = ">=3.9,<4.0"
@@ -13,7 +13,6 @@ dependencies = [
13
13
  "jaxtyping",
14
14
  "beartype",
15
15
  "uuid7",
16
- "nshconfig",
17
16
  ]
18
17
 
19
18
  [project.optional-dependencies]
@@ -1,15 +1,15 @@
1
1
  from __future__ import annotations
2
2
 
3
+ from dataclasses import dataclass
3
4
  from typing import ClassVar
4
5
 
5
- import nshconfig as C
6
6
  from typing_extensions import Self
7
7
 
8
8
 
9
- class LovelyConfig(C.Config):
9
+ @dataclass
10
+ class LovelyConfig:
10
11
  """
11
12
  This class is used to manage the configuration of the Lovely library.
12
- It inherits from the Config class in the nshconfig module.
13
13
  """
14
14
 
15
15
  precision: int = 3
File without changes