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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

mcrp_splitters-0.2.0-cp27-cp27mu-manylinux2010_x86_64.whl (710.4 kB view hashes)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

mcrp_splitters-0.2.0-cp27-cp27mu-manylinux1_x86_64.whl (710.4 kB view hashes)

Uploaded CPython 2.7mu

mcrp_splitters-0.2.0-cp27-cp27m-manylinux2010_x86_64.whl (710.4 kB view hashes)

Uploaded CPython 2.7m manylinux: glibc 2.12+ x86-64

mcrp_splitters-0.2.0-cp27-cp27m-manylinux1_x86_64.whl (710.4 kB view hashes)

Uploaded CPython 2.7m

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page