semvec/pypi-packages huggingface dataset:
tiftool 0.2.4
tiftool
Requires Python: >=3
Keywords: tiftool,tiff,microscopy

<div align="center"><img src="images/bannertiftoo.png" height="150px"/></div>

<h2 align="center">tiftool: A Python package for Microscopy tif images</h2>

The package for dealing tif stack image. Oriented for Microscopy image, offering useful processing. **Under construction, I'll make description site and more functions, maybe for 2020.08.**

<div align="center">
    <a href="https://pypi.org/project/tiftool/">
        <img alt="PyPI" src="https://img.shields.io/pypi/v/tiftool?color=blue">
    </a>
</div>

## Concept

### Stack object

Main concept of tiftool is **Stack object**. This object carries your 3d data from .tif file as 'torch.Tensor' or 'numpy.ndarray'. By using stack object, you can conduct numerous processes; MIP(Maximum Intensity Projection), Find center z-plane, etc. This package is made to help research, Fluorescent Microscopy(WideField, XLFM(eXtended field of view LFM), etc).

### HyperStack object

**Under construction** Similar as ImageJ, I'll make HyperStack object which can consider 'time'. It will contain 4-D data, (T, X, Y, Z).

## Installation

### pip

tiftool can installed via pip. Simply run this code by terminal.
```bash
pip install tiftool
```
Latest version is **0.1.5**. If you have older version of tiftool, run this code to update. I strongly recommend to use latest version.
```bash
pip install tiftool -U
```

## Running tiftool

### Basic things using stack object

```python
import tiftool.stack as st

larva = st.Stack().open("larva.tif").to_tensor()  # Change to torch.tensor, default data is numpy array.
raw_data = larva._data  # You can access the raw data inside Stack() object.
print(raw_data.size())  # torch.size([1098, 890, 64]) (x, y, z)

MIP = larva.mip_3d()  # Return Maximum Intensity Project for x, y, z axis
MIP.show()  # Show image using matplotlib
MIP.write("mip_larva.tif")  # write at your input path
```
See [tiftool docs](https://github.com/SteveJayH/tiftool/) for more details.  (**Not constructed**)

## Issues & Contribution

I appreciate for all [issues](https://github.com/SteveJayH/tiftool/issues) and contributions. You can use 'issues' tab, 'Pull request' tab, or [e-mail](mailto:jay0118@yonsei.ac.kr) me! I want to develop this package as a **powerful toolkit for microscopy data researcher** and if you mind, contribute with me! :smiley:

## LICENSE

This package follows MIT LICENSE.
Phish-Safe 0.0.1
A python package to confirm whether a url is legitimate or not
Requires Python: >=3.6

# PhishSafe
This is a python package for conforming if an website is legitimate or not

##### Then use the following code for firefox :- 

    import Phish_Safe
    url_check = Phish_Safe.fishing_detector_firefox('Your Url Here')
    print(url_check[0])

##### And use the following code for chrome :- 

    import Phish_Safe
    url_check = Phish_Safe.fishing_detector_chrome('Your Url Here')
    print(url_check[0])

###### Made By :- Akarsh Sharma, Araydha Goel
###### Email :- akarshsharma162@gmail.com
PhishSafe 0.0.1
A python package to confirm whether a url is legitimate or not
Requires Python: >=3.6

# PhishSafe
This is a python package for conforming if an website is legitimate or not

##### Then use the following code for firefox :- 

    import Phish_Safe
    url_check = Phish_Safe.fishing_detector_firefox('Your Url Here')
    print(url_check[0])

##### And use the following code for chrome :- 

    import Phish_Safe
    url_check = Phish_Safe.fishing_detector_chrome('Your Url Here')
    print(url_check[0])

###### Made By :- Akarsh Sharma, Araydha Goel
###### Email :- akarshsharma162@gmail.com
py37nashiki 1.0.0
This is a test package for me.

# play_py37_package
Python3.7 で packageを作ってみる手順。
またその手順によって作成された、package。

init

```
python3 -m venv venv
. venv/bin/activate
(venv) $ pip install -U pip
```

play local

```
(venv) $ pip install -e .
(venv) $ pip list
(venv) $ python
>>> import py37nashiki
>>> py37nashiki.main()
This is pynashiki
```

配布作成 (ソースコード形式)

```
(venv) $ python setup.py sdist
(venv) $ ls dist
py37nashiki-1.0.0.tar.gz
```

配布物作成 (wheel)

```
(venv) $ pip install wheel==0.33.6
(venv) $ python setup.py bdist_wheel
(venv) $ ls dist
py37nashiki-1.0.0-py3-none-any.whl  py37nashiki-1.0.0.tar.gz
```

配布 (test)

```
(venv) $ pip install twine==2.0.0
(venv) $ twine upload -r testpypi dist/*
(venv) $ pip install -i https://test.pypi.org/simple/ py37nashiki
```

配布 (本番)

```
(venv) $ deactive
python3 -m venv newenv
. newenv/bin/activate
(newenv) $ pip install -U pip
(newenv) $ pip install wheel==0.33.6
(newenv) $ python setup.py sdist 
(newenv) $ python setup.py bdist_wheel
(newenv) $ ls dist 
(newenv) $ pip install twine==2.0.0 
(newenv) $ twine upload -r pypi dist/*
(newenv) $ pip install py37nashiki
```

後片付け

```
$ deactivate
$ rm -rf venv
$ rm -rf newenv
```


## License
MIT