Myosotis-Researches 0.0.32__py3-none-any.whl → 0.1.0__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.
@@ -0,0 +1,76 @@
1
+ Metadata-Version: 2.4
2
+ Name: Myosotis-Researches
3
+ Version: 0.1.0
4
+ Summary: A repository for storing my progress of researches.
5
+ Home-page: https://github.com/Zeyu-Xie/Myosotis-Researches
6
+ Author: Zeyu Xie
7
+ Author-email: xie.zeyu20@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.6
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: classifier
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: license-file
21
+ Dynamic: requires-python
22
+ Dynamic: summary
23
+
24
+ # Myosotis-Researches
25
+
26
+ ## `CcGAN` (`myosotis_researches.CcGAN`)
27
+
28
+ ### `internal`
29
+
30
+ The `internal` module is used for setting the local package itself, like installing datasets and so on.
31
+
32
+ Import with code
33
+
34
+ ```python
35
+ from myosotis_researches.internal import *
36
+ ```
37
+
38
+ | Function | Desctiption |
39
+ | --------------------------------- | ------------------------------------------------------------ |
40
+ | `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. |
43
+
44
+ **Note**:
45
+
46
+ 1. The path of the installed datasets are
47
+
48
+ `resources.files("myosotis_researches").join("CcGAN", "<datasets_name>")`
49
+
50
+ To run this code, remember to add `from importlib import resources` at the beginning.
51
+
52
+ ### `utils`
53
+
54
+ The `utils` module contains some basic functions and classes which are frequently used during the CcGAN research.
55
+
56
+ Import with code
57
+
58
+ ```python
59
+ from myosotis_researches.utils import *
60
+ ```
61
+
62
+ | Function | Description |
63
+ | ----------------------------------------------------- | ----------------------------------------- |
64
+ | `concat_image(img_list, gap=2, direction="vertical")` | Concat images vertically or horizontally. |
65
+ | `print_hdf5(name, obj)` | Print a basic structure of an HDF5 file. |
66
+
67
+ **Note**:
68
+
69
+ 1. Function `print_hdf5` should be used within a `with` block:
70
+
71
+ ```python
72
+ import h5py
73
+
74
+ with h5py.File(<HDF5_file_path>, "r") as f:
75
+ f.visititems(print_hdf5)
76
+ ```
@@ -48,8 +48,8 @@ myosotis_researches/CcGAN/utils/__init__.py,sha256=azZ2ZSSmWREoptI_5oQ180HojMoCq
48
48
  myosotis_researches/CcGAN/utils/concat_image.py,sha256=zSVFkIgj18m9wKTNWxBmZIdqMgVKF2IB2m1C65l_qyo,2151
49
49
  myosotis_researches/CcGAN/utils/make_h5.py,sha256=Jzsr9q7lneHyvi5HX1m4WBNarUYU1jUsXJuHnyQlAGc,1392
50
50
  myosotis_researches/CcGAN/utils/print_hdf5.py,sha256=VvmNAWtMDmg6D9V6ZbSUXrQTKRh9WIJeC4BR_ORJkco,300
51
- myosotis_researches-0.0.32.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
52
- myosotis_researches-0.0.32.dist-info/METADATA,sha256=no1tptSMdyKbj2_EdXmaoP1Ep2qoodtWj9n6D3JfQmo,844
53
- myosotis_researches-0.0.32.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
54
- myosotis_researches-0.0.32.dist-info/top_level.txt,sha256=zxAiMn5eyZNJM28MewTAkgi_RZJMbfWbzVR-KF0LdZE,20
55
- myosotis_researches-0.0.32.dist-info/RECORD,,
51
+ myosotis_researches-0.1.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
52
+ myosotis_researches-0.1.0.dist-info/METADATA,sha256=B2lXNQkCL9ds_JlE0M2kbjMSQZlSNT7tFUxO4_zEcoU,2490
53
+ myosotis_researches-0.1.0.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
54
+ myosotis_researches-0.1.0.dist-info/top_level.txt,sha256=zxAiMn5eyZNJM28MewTAkgi_RZJMbfWbzVR-KF0LdZE,20
55
+ myosotis_researches-0.1.0.dist-info/RECORD,,
@@ -1,37 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: Myosotis-Researches
3
- Version: 0.0.32
4
- Summary: A repository for storing my progress of researches.
5
- Home-page: https://github.com/Zeyu-Xie/Myosotis-Researches
6
- Author: Zeyu Xie
7
- Author-email: xie.zeyu20@gmail.com
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
10
- Classifier: Operating System :: OS Independent
11
- Requires-Python: >=3.6
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Dynamic: author
15
- Dynamic: author-email
16
- Dynamic: classifier
17
- Dynamic: description
18
- Dynamic: description-content-type
19
- Dynamic: home-page
20
- Dynamic: license-file
21
- Dynamic: requires-python
22
- Dynamic: summary
23
-
24
- # Myosotis-Researches
25
-
26
- ## `CcGAN` (`myosotis_researches.CcGAN`)
27
-
28
- ### `internal`
29
-
30
- Import
31
-
32
- ```
33
- from myosotis_researches.internal import *
34
- ```
35
-
36
- ### `utils`
37
-