semvec/pypi-packages huggingface dataset:
psmoe 0.1.4.5
A simple module for prostate segmentation of T2-W MRI sequences in Nifti format
Keywords: UNet,ML,Prostate,Segmentations

# Prostate Segmentation MoE

A simple Python module for easy segmentation of the prostate in T2-weighted MRI images in NIfTI format. This module utilizes a mixture of U-Net architectures for segmentation tasks and aims to provide a straightforward solution for users working with prostate MRI data.

## Features

- Segmentation of prostate regions in T2-weighted MRI images.
- Uses a combination of trained U-Net models for accurate and efficient segmentation.
- Supports input in the NIfTI format, a common format for medical imaging.
- Returns 3D masks aswell as the volume estimation.

## Recommended before installation (Windows)

### Install virtualenv if not already
```pip install virtualenv```
### Create a virtual environment
```python -m venv venv```
### Activate it
```venv\Scripts\activate```
- You may need to run ```Set-ExecutionPolicy Unrestricted -Scope Process``` before activation
- If creating your own repository don't forget to ignore the `venv` folder in the `.gitignore` file


## Installation

Install the library using pip:

```pip install psmoe```

## Usage
### Example
Check for `example.py` 
### Scripted Download
You can also download a T2-weighted MRI sequence using the provided function in the example.

## License
This project is licensed under the MIT License - see the LICENSE file for details.


For more details, visit the [GitHub repository](https://github.com/mpierangeli/prostate_segmentation_moe).
bolt-sdk-py2 1.0.5
Bolt Python SDK
Requires Python: >=2.7

# Bolt SDK

This SDK provides an authentication solution for programatically interacting with Bolt. It wraps the boto3 interface so project wide integration is as easy as refactoring `import boto3` to `import bolt as boto3`.

The package affects the signing and routing protocol of the boto3 S3 client, therefore any non S3 clients created through this SDK will be un-affected by the wrapper.

## Prerequisites

The minimum supported version of Python is version 2.

## Installation

```bash
python -m pip install bolt-sdk-py2
```

## Usage

In order to use this package, toy first need to set some environment variables

```bash
export BOLT_CUSTOM_DOMAIN=<YOUR_CUSTOM_DOMAIN>
export BOLT_REGION=<YOUR_BOLT_CLUSTER_REGION>
# Optional if not running on an ec2 instance to force read from a read-replica in this az
export BOLT_AZ_ID='<az-id>'
```

If the region and AZ environment variables aren't specified when running on an EC2 instance, the SDK will use the ec2 metadata api to fetch the instance's region and availability zone id.

## Example usage

```python
import bolt
# Create an S3 client
s3_client = bolt.client("s3")
# Define a function that performs the put_object operation
s3_client.put_object(Body="data", Bucket="BUCKET_NAME", Key="key")
obj = s3_client.get_object(Bucket="BUCKET_NAME", Key="key")
body = obj["Body"].read()
```

## Debugging

Import the logging and set default level to `DEBUG`.

```python
import logging
logging.basicConfig(level=logging.DEBUG)
```
delete-copies 0.8.0
Got bored in the first day of new semester and had to clean system for lot of copies of previous semester assignments and projects and notes, written this script to do the task for me
Requires Python: >=3.8

# stress-relief
Got bored in the first day of new semester and had to clean system for lot of copies of previous sem assignments and projects and notes, written this script to do the task for me

# Usage
python delete_copies.py \<folder1> \<folder2> \<folder3> (and so on) \<print/trash/delete>

You can enter as many folders as you can, but the script checks for just the mentioned folder and its child folders, it does not include parent folder

last arguments explanation:

  print - just print the duplicate files

  trash - deletes all the duplicate files in the folder and sends them to trash/recycle bin
  
  delete - deletes the duplicate files permanently (cant be found in trash after this is executed, there is backup too in case this is just unfortunate command execution)


### Note:
previous version code just checks for the name of the file instead of the actual content of the file which is what duplicate file means, 

Executing the script did not caused any problem to me as I just copy the whole folder to another location instead of changing names of the files

And this error bounced back today while executing this on a folder with renaming the files which contains the same content inside