semvec/pypi-packages huggingface dataset:
CTPreprocessing 3.0.0
First preprocessing on input dicoms
License: MIT
Requires Python: >=3.7

**_installation_**
-----------------------------------------------
install the package:
~~~~
pip install CTPreprocessing
~~~~
**_HOW TO_**
----------------------------------------------
After the installation, do the following:
~~~~
from ctbrain_preprocessing import PreProcessor
from pathlib import Path

path = directory/to/ct series
preprocessor = PreProcessor()
preprocessed_series, headers = preprocessor.preprocess(path)
~~~~

**_Description_**
----------------------------------------------
This is the first preprocessing on the input dicoms.
the preprocessing consists of:

~~~~
1- removing artifacts
2- removing the neck slices
3- centering the image
tendermint-chunked-genesis-download 1.0.16
Package for easily downloading a chunked Tendermint genesis from a RCP enabled node.
License: MIT

# Tendermint Chunked Genesis Download

A library to easily download a chunked genesis from a Tendermint chain (eg: Cosmos). Access to an RPC enabled node is required. It is usually running on port 26657 (eg: local node address 127.0.0.1:26657).

## Install

`pip install tendermint-chunked-genesis-download`

## Usage

Import the `tendermint_chunked_genesis_download` package and call the `download_genesis(url)` function. Provide a valid Tendermint RPC url as a parameter to the function.

```
import tendermint_chunked_genesis_download as tcgd

tcgd.download_genesis('https://evmos-rpc.evmosis.com')
```

## Using from command line

```
tendermint-chunked-genesis-download TENDERMINT_RPC_URL
```

## Exceptions

| Name                    | Reason                                                    |
|-------------------------|-----------------------------------------------------------|
| InvalidRPC              | The Tendermint RPC url is invalid                         |
| NodeNotSynchronized     | The Tendermint node is not yet fully synchronized         |
| UnsuccessfulHttpRequest | The node request has not returned a 2XX HTTP success code |

## Dependencies

Python libraries which helped:

* [requests](https://pypi.org/project/requests/)
* [click](https://pypi.org/project/click/)
* [setuptools](https://pypi.org/project/setuptools/)

## Projects that use the genesis download library

* [Evmosis liquid staking module for Evmos](https://evmosis.com/)