Myosotis-Researches 0.1.15__py3-none-any.whl → 0.1.16__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Myosotis-Researches
3
- Version: 0.1.15
3
+ Version: 0.1.16
4
4
  Summary: A repository for storing my progress of researches.
5
5
  Home-page: https://github.com/Zeyu-Xie/Myosotis-Researches
6
6
  Author: Zeyu Xie
@@ -25,6 +25,31 @@ Dynamic: summary
25
25
 
26
26
  ## `CcGAN` (`myosotis_researches.CcGAN`)
27
27
 
28
+ ### `visualize`
29
+
30
+ The visualize module can display datasets as a webpage
31
+
32
+ Import with code
33
+
34
+ ```python
35
+ from myosotis_researches.CcGAN.visualize import *
36
+ ```
37
+
38
+ Now we only have `visualize_datasets` function, defined as
39
+
40
+ ```python
41
+ visualize_datasets(
42
+ indexes,
43
+ datasets_path,
44
+ list_path,
45
+ template_path = resources.files("myosotis_researches").joinpath("CcGAN", "visualize", "src", "template,html"),
46
+ host = "127.0.0.1",
47
+ port = 8000,
48
+ debug = True,
49
+ img_size = 64
50
+ )
51
+ ```
52
+
28
53
  ### `internal`
29
54
 
30
55
  The `internal` module is used for setting the local package itself, like installing datasets and so on.
@@ -32,14 +57,14 @@ The `internal` module is used for setting the local package itself, like install
32
57
  Import with code
33
58
 
34
59
  ```python
35
- from myosotis_researches.internal import *
60
+ from myosotis_researches.CcGAN.internal import *
36
61
  ```
37
62
 
38
- | Function | Desctiption |
39
- | --------------------------------- | ------------------------------------------------------------ |
63
+ | Function | Desctiption |
64
+ | --------------------------------- | -------------------------------------------------------------------- |
40
65
  | `install_datasets(datasets_name)` | Install the datasets in `datasets_name` to the local python package. |
41
- | `uninstall_datasets()` | Remove all the datasets installed to the local python package. |
42
- | `show_datasets()` | Show all datasets installed. |
66
+ | `uninstall_datasets()` | Remove all the datasets installed to the local python package. |
67
+ | `show_datasets()` | Show all datasets installed. |
43
68
 
44
69
  **Note**:
45
70
 
@@ -56,15 +81,21 @@ The `utils` module contains some basic functions and classes which are frequentl
56
81
  Import with code
57
82
 
58
83
  ```python
59
- from myosotis_researches.utils import *
84
+ from myosotis_researches.CcGAN.utils import *
60
85
  ```
61
86
 
62
87
  | Function | Description |
63
88
  | ------------------------------------------------------------ | ----------------------------------------- |
64
89
  | `concat_image(img_list, gap=2, direction="vertical")` | Concat images vertically or horizontally. |
65
90
  | `make_h5(old_datasets_name, size, new_datasets_path, image_indexes, train_indexes, val_indexes)` | Get piece of original HDF5 datasets. |
91
+ | `parse_opts()` | Parse arguments. |
66
92
  | `print_hdf5(name, obj)` | Print a basic structure of an HDF5 file. |
67
93
 
94
+ | Class | Description |
95
+ | ------------------- | --------------------- |
96
+ | `IMGs_dataset` | Images dataset. |
97
+ | `SimpleProgressBar` | Simple progress bars. |
98
+
68
99
  **Note**:
69
100
 
70
101
  1. Function `print_hdf5` should be used within a `with` block:
@@ -39,8 +39,8 @@ myosotis_researches/CcGAN/visualize/src/style.css,sha256=tn4ht9S6r0erf6zo5zfmOKP
39
39
  myosotis_researches/CcGAN/visualize/src/style.css.map,sha256=QUV9UJNpjbfsAYBpnWPzOzInHPFmepgKkAuK_G_a2Xk,257
40
40
  myosotis_researches/CcGAN/visualize/src/style.scss,sha256=tyMXl4ouQ1zuZ6JmSxFFJBVzaUgpC3eyhXsbVRcnD9A,593
41
41
  myosotis_researches/CcGAN/visualize/src/template.html,sha256=oTUekYjhLRrxXYh1LjiMu-DJH70XB_bUF9ZXwmQZbYo,1667
42
- myosotis_researches-0.1.15.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
43
- myosotis_researches-0.1.15.dist-info/METADATA,sha256=RCIUf78KUj7jFmiYleQmgouQ2WT4fmeG5BV3RP2rxTw,2664
44
- myosotis_researches-0.1.15.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
45
- myosotis_researches-0.1.15.dist-info/top_level.txt,sha256=zxAiMn5eyZNJM28MewTAkgi_RZJMbfWbzVR-KF0LdZE,20
46
- myosotis_researches-0.1.15.dist-info/RECORD,,
42
+ myosotis_researches-0.1.16.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
43
+ myosotis_researches-0.1.16.dist-info/METADATA,sha256=G6ucoD9nrzFNSDiyBy8DIClnpbFuelDUOZ830zpGj_o,3484
44
+ myosotis_researches-0.1.16.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
45
+ myosotis_researches-0.1.16.dist-info/top_level.txt,sha256=zxAiMn5eyZNJM28MewTAkgi_RZJMbfWbzVR-KF0LdZE,20
46
+ myosotis_researches-0.1.16.dist-info/RECORD,,