Myosotis-Researches
CcGAN (myosotis_researches.CcGAN)
visualize
The visualize module can display datasets as a webpage
Import with code
from myosotis_researches.CcGAN.visualize import *
Now we only have visualize_datasets function, defined as
visualize_datasets(
indexes,
datasets_path,
list_path,
template_path = resources.files("myosotis_researches").joinpath("CcGAN", "visualize", "src", "template,html"),
host = "127.0.0.1",
port = 8000,
debug = True,
img_size = 64
)
internal
The internal module is used for setting the local package itself, like installing datasets and so on.
Import with code
from myosotis_researches.CcGAN.internal import *
| Function | Desctiption |
|---|---|
install_datasets(datasets_name) |
Install the datasets in datasets_name to the local python package. |
uninstall_datasets() |
Remove all the datasets installed to the local python package. |
show_datasets() |
Show all datasets installed. |
Note:
-
The path of the installed datasets are
resources.files("myosotis_researches").join("CcGAN", "<datasets_name>")To run this code, remember to add
from importlib import resourcesat the beginning.
utils
The utils module contains some basic functions and classes which are frequently used during the CcGAN research.
Import with code
from myosotis_researches.CcGAN.utils import *
| Function | Description |
|---|---|
concat_image(img_list, gap=2, direction="vertical") |
Concat images vertically or horizontally. |
make_h5(old_datasets_name, size, new_datasets_path, image_indexes, train_indexes, val_indexes) |
Get piece of original HDF5 datasets. |
parse_opts() |
Parse arguments. |
print_hdf5(name, obj) |
Print a basic structure of an HDF5 file. |
| Class | Description |
|---|---|
IMGs_dataset |
Images dataset. |
SimpleProgressBar |
Simple progress bars. |
Note:
-
Function
print_hdf5should be used within awithblock:import h5py with h5py.File(<HDF5_file_path>, "r") as f: f.visititems(print_hdf5)
Metadata
Release files for Myosotis-Researches 0.1.42
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| myosotis_researches-0.1.42.tar.gz | 43.7 kB | Without provenance | Details for myosotis_researches-0.1.42.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| myosotis_researches-0.1.42-py3-none-any.whl | Python 3 | none | any | Details for myosotis_researches-0.1.42-py3-none-any.whl |
Total release size: 109.3 kB
Release files / myosotis_researches-0.1.42.tar.gz
| Download URL | myosotis_researches-0.1.42.tar.gz |
|---|---|
| Size | 43.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36daf2436fd7498c0d202aadf948b5f353acae8a2add1b45880a3d0e19f635a7
|
|
BLAKE2b-256 checksum How to use checksums |
cfc6849500e45a704b980e90613f33fa7035b19ab2def4ad3f37f369a4367e2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / myosotis_researches-0.1.42-py3-none-any.whl
| Download URL | myosotis_researches-0.1.42-py3-none-any.whl |
|---|---|
| Size | 65.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c16e9589e154830efef3e28152cb562dc075bee292d29551ec39563af7182394
|
|
BLAKE2b-256 checksum How to use checksums |
f96a435da89af20c22b4956b6e1e33ae72c53cb972750f54f0b80e7b39a18576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for Myosotis-Researches 0.1.42
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.