semvec/pypi-packages huggingface dataset:
mcrp-splitters 0.2.0
MCNP-related packages. Splitters for text files
Keywords: MCNP utilities

# MCNP-related packages: Splitter for text files

MCNP operates with several text files. The files can be large, this package
provide readers with possibility to access only specified part of the file.

See also ``mcrp_utils`` and ``mcrp_cgam``. 

## Example
Get all cell and surface cards of the input file ``i1.inp``:

```python
from mcrp-splitters import InputSplitter

s = inputSplitter('i1.inp')
for c in s.cards(blocks='cs', skipcomments=True):
    print c

```