semvec/pypi-packages huggingface dataset:
misic 1.1.5
Microbe segmentation in dense colonies
Requires Python: >=3.6

# MiSiC
### Microbe segmentation in dense colonies.

## Installation
Requires version python version 3.6/7

`pip install misic`

## MiSiC as napari plugin
A napari plugin is up and running at the moment with a few glitches!

Here are the steps for installation:
1.	You can download napari at the bottom of the page at https://github.com/napari/napari/releases
2.	After you install napari, in the plugins tab > Install plugin > misic-napari
3.	Restart napari
4.	Drag and drop an image
5.	Go to segment
More information is at https://pypi.org/project/misic-napari/
 
The plugin is still underdevelopment so there might be a few bugs that will be incrementally updated.


## Possible errors during installtion
tensorflow dependecies may not be installed
if pyparsing error
pip install pyparsing
if protobuf error
conda install protobuf  

## Usage

### use package
```python
from misic.misic import *
from misic.extras import *
from skimage.io import imsave,imread
from skimage.transform import resize,rescale

filename = 'awesome_image.tif'

# read image using your favorite package
im = imread(filename)
sr,sc = im.shape

# Parameters that need to be changed
## Ideally, use a single image to fine tune two parameters : mean_width and noise_variance (optional)

#input the approximate mean width of microbe under consideration
standard_width = 9.7

# the approximate width of cells to be segmented
mean_width = 9.7

# If image is phase contrast light_background = True
light_background = True

# compute scaling factor
scale = (standard_width/mean_width)

# Initialize MiSiC
mseg = MiSiC()

# preprocess using inbuit function or if you are feeling lucky use your own preprocessing
# recomended preprcessing
# im = adjust_gamma(im,0.25)
# im = unsharp_mask(im,2.2,0.6)

# for fluorescence images
# im = gaussian(laplace(im),2.2)
# im = add_noise(im,0.1)
# OR
# im = random_noise(im,mode = 'gaussian',var = 0.1/100.0)

im = rescale(im,scale,preserve_range = True)

# add local noise
img = add_noise(im,sensitivity = 0.13,invert = light_background)

# segment
yp = mseg.segment(img,invert = light_background)
yp = resize(yp,(sr,sc))

# watershed based post processing (optional)
# yp = postprocess_ws(img,yp)
yp = postprocessing(im if light_background else -im,yp)[:,:,0]  

# save 8-bit segmented image and use it as you like
imsave('segmented.tif', ((yp > 0)*255).astype(np.uint8))
''''

### In case of gpu error, one might need to disabple gpu before importing MiSiC [ os.environ["CUDA_VISIBLE_DEVICES"]="-1" ]
marlowe-ui 0.5.19
UI program for Marlowe input data file

==============================================
Marlowe User Interface (marlowe_ui)
==============================================

Takaaki AOKI (aoki.takaaki@nagoya-u.jp)

About Malouwe User Interface
=============================

Marlowe User Interface is support program for marlowe (a binary collision simulator, http://www.oecd-nea.org/tools/abstract/detail/psr-0137/)
to desgin input data, as well as parse output .lst data.

Programs and scripts
--------------------

- mui (mui.py, mui.exe):
    GUI program to construct marlowe input file

- ml_post_ui (ml_post_ui.exe or ml_post_ui.py):
    GUI program to parse output data.

- ml_post (ml_post.exe or ml_post.py):
    Command line program to parse output data.

Project URLs
================

https://bitbucket.org/marlowe_ui/marlowe_ui/

Documents
  https://bitbucket.org/marlowe_ui/marlowe_ui/wiki/

Windows Binary
  https://bitbucket.org/marlowe_ui/marlowe_ui/downloads/

  (download *marlowe_ui-(version)-win-amd64.exe*)

PyPI
   https://pypi.python.org/pypi/marlowe_ui
test-tueda84 1.0.1
Utilities for OMRON FINS protocol

# OmronFinsEthernet
Utility functions for FINS protocol used by omron's PLCs

This library can read and write memory area of PLC via FINS protocol.
It is confirmed that this can work with NX series PLC.

## Usage

Please refer to documents created by doxygen for the details.

It's a sample code.

```python
import omronfins.finsudp as finsudp
from omronfins.finsudp import datadef

fins = finsudp.FinsUDP(0, 170)
ret = fins.open('192.168.2.13', 9600)  # Please change according to your PLC's address.
fins.set_destination(dst_net_addr=0, dst_node_num=13, dst_unit_addr=0)

# Writing a word to Extended memory area's address 0.
ret = fins.write_mem_area(datadef.EM0_WORD, 0, 0, 1, (20, datadef.USHORT))

# Reading a word from Extended memory area's address 0.
ret, value = fins.read_mem_area(datadef.EM0_WORD, 0, 0, 1, datadef.USHORT)
print(value)  # the value becomes '20'

# Writing four bits to Extended memory area's address 5.
ret = fins.write_mem_area(datadef.EM0_BIT, 5, 0, 4,
    [(1, datadef.BIT), (0, datadef.BIT), (1, datadef.BIT), (0, datadef.BIT)])

# Reading four bits from Extended memory area's address 5.
ret, values = fins.read_mem_area(datadef.EM0_BIT, 5, 0, 4, datadef.BIT)
print(values)  # values become a tuple like (1, 0, 1, 0).

# Writing a string to Extended memory area's address 6.
# Fourth argument '4' means size of 16bit element and it becomes half of length of the string.
ret = fins.write_mem_area(datadef.EM0_WORD, 6, 0, 4, ("testtest", datadef.STR))

# Reading a string from Extended memory area's address 6.
ret, value = fins.read_mem_area(datadef.EM0_WORD, 6, 0, 4, datadef.STR)
print(value)  # value become "testtest"
```
secuuthSecQurePythonSdk 2.8
secuuth  SDK for python scripts


#secuuth-python-sdk
IT Takes token as input and it verify ,decode and renew the token


##Installation

```pip install secuuthTokenPythonSdk```

##Methods
decodedAndVerifiedAccessToken=accessToken(token).decode()
decodedAndVerifiedIdToken=accessToken(token).decode()
joker.py 0.0.1
Python package to get jokes and puns.
Requires Python: >=3.6

# Joker.py


## About

A simple python package to get jokes and puns.

## How to use?

You can use this by package from [Joker.py](https://pypi.org/project/joker.py/)
```sh
pip install joker.py
```

## Why use this?

To fetch jokes and puns on your projects.

## How to use?

```py
from joker import Joker


joker = Joker()
joke = joker.joke()
print(joke)

puns = joker.puns(5)
for pun in puns:
    print(pun)

```

## Want To Contribute?

You can send a pull request or open an issue to contribute.
Check out [Code Of Conduct](CODE_OF_CONDUCT.md) before contributing.