homa 0.13__py3-none-any.whl → 0.14__py3-none-any.whl

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.

Potentially problematic release.


This version of homa might be problematic. Click here for more details.

homa/main.py CHANGED
@@ -3,6 +3,7 @@ import numpy
3
3
  from typing import List
4
4
  from .helpers import collection
5
5
  from .helpers import danger
6
+ from .helpers import is_colab
6
7
 
7
8
  from .classes.Repository import Repository
8
9
 
@@ -39,7 +40,10 @@ def show(key: any = None) -> None:
39
40
 
40
41
  elif key is None:
41
42
  for key, image in Repository.images.items():
42
- Repository.imshow(key, image)
43
+ if is_colab():
44
+ Repository.imshow(image)
45
+ else:
46
+ Repository.imshow(key, image)
43
47
 
44
48
  elif key is not None:
45
49
  if key in Repository.images:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: homa
3
- Version: 0.13
3
+ Version: 0.14
4
4
  Maintainer: Taha Shieenavaz
5
5
  Maintainer-email: tahashieenavaz@gmail.com
6
6
  Description-Content-Type: text/markdown
@@ -1,13 +1,13 @@
1
1
  homa/__init__.py,sha256=8D5a8oKgqd6WA1RUkiKCn4l_PVemtyuckxQut0vDHXM,20
2
2
  homa/constants.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  homa/helpers.py,sha256=Ldf52cbYfSsjAinQ4Vmw4zUaT7bphadwLAvgHBAO1KY,308
4
- homa/main.py,sha256=X9PMVKm6b9uXKCcp1SZr6ZoY_bwoh0i6jX3-OxVoPbk,2588
4
+ homa/main.py,sha256=AJYi4TtbhYlS1QRSJvLF7sfGU6BnonU3jZDJu4PgM6g,2708
5
5
  homa/classes/Collection.py,sha256=7hskbC8wxTAC3hHmFYXtzR5W05lsA4GaYTzjiez_6Zg,222
6
6
  homa/classes/Logger.py,sha256=2VjXJzBLMW5joArFpu2wGrbWUw7S-77z7LNhKUG1Iow,93
7
7
  homa/classes/Repository.py,sha256=tUdj17A0s6wKK47TKeMsl2WcM52SV-IvqPGz0tAP7zg,603
8
8
  homa/classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- homa-0.13.dist-info/LICENSE,sha256=js3WDbJn9k5EN6sy1uuP2QBXxyPgS5DjO4Bf5yE35hQ,1072
10
- homa-0.13.dist-info/METADATA,sha256=CCnZns4EUPZV7ohqZhoZdw8ZTLGw9Otg7Lmz4UtCHF4,365
11
- homa-0.13.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
12
- homa-0.13.dist-info/top_level.txt,sha256=tmOfy2tuaAwc3W5-i6j61_vYJsXgR4ivBWkhJ3ZtJDc,5
13
- homa-0.13.dist-info/RECORD,,
9
+ homa-0.14.dist-info/LICENSE,sha256=js3WDbJn9k5EN6sy1uuP2QBXxyPgS5DjO4Bf5yE35hQ,1072
10
+ homa-0.14.dist-info/METADATA,sha256=F_HAvYrH0UuEltIfCP7xad2EFiatWniso70MHPX5NhE,365
11
+ homa-0.14.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
12
+ homa-0.14.dist-info/top_level.txt,sha256=tmOfy2tuaAwc3W5-i6j61_vYJsXgR4ivBWkhJ3ZtJDc,5
13
+ homa-0.14.dist-info/RECORD,,
File without changes
File without changes