Skip to main content

MCNP-related packages. Splitters for text files

Project description

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:

from mcrp-splitters import InputSplitter

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mcrp-splitters, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size mcrp_splitters-0.2.0-cp27-cp27m-manylinux1_x86_64.whl (710.4 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size mcrp_splitters-0.2.0-cp27-cp27m-manylinux2010_x86_64.whl (710.4 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size mcrp_splitters-0.2.0-cp27-cp27mu-manylinux1_x86_64.whl (710.4 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size mcrp_splitters-0.2.0-cp27-cp27mu-manylinux2010_x86_64.whl (710.4 kB) File type Wheel Python version cp27 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page