Skip to content

Commit 40d700e

Browse files
committed
Writing some basic documentation - starting with about
1 parent db6a746 commit 40d700e

File tree

4 files changed

+54
-1
lines changed

4 files changed

+54
-1
lines changed

docs/about.rst

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
About
2+
============
3+
The (original) aim of Pypact was to make the FISPACT-II output file easy to parse so that more time can be spent on analysis,
4+
and much less time on interrogating the output file. No more convoluted scripts, just one simple to use package!
5+
6+
The FISPACT-II output file is designed to be human readible but not computer readible, therefore it can be quite cumbersome to parse.
7+
The standard .out file has no strict format, it is not XML, JSON, or CSV it is FISPACT-II custom format. Note since version 4 of FISPACT-II
8+
there is now a JSON format to make it easier to parse (this was part of the reason pypact exists - to test the JSON output).
9+
10+
A typical output file from FISPACT-II will look something like below:
11+
12+
.. image:: assets/about_file_example.png
13+
14+
15+
Over time we have seen many different people implement FISPACT-II output parsers in many different languages, some which are quite extensive,
16+
with others designed to extract a few values from the output file. All, however, have never fully supported FISPACT-II features and are also
17+
not open source. Enter pypact. Pypact is:
18+
19+
* open source
20+
* supported by FISPACT-II developers
21+
* well tested & validated
22+
* easy to install & minimal dependencies
23+
* python (this may be a pro or con depending on who you are)
24+
25+
The last point can of course be a problem for non python enthusiasts, and in that case
26+
pypact cannot help you. However, from our experience many users of FISPACT-II like to use
27+
python (very subjective).
28+
29+
Of course with an API in development parsing the output file could be a thing of the past (I hope!), however it will always be needed to write
30+
file and manipulate them!

docs/assets/about_file_example.png

141 KB
Loading

docs/index.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@ Welcome to pypact's documentation!
77
==================================
88

99
.. toctree::
10-
:maxdepth: 2
10+
:maxdepth: 3
1111
:caption: Contents:
1212

13+
about
14+
installation
15+
parsers
16+
libraries
17+
groupconvert
18+
1319
Pypact's original aim was to make FISPACT-II output files easy to parse so that more time can be spent on analysis,
1420
and much less time on interrogating the output file. No more convoluted scripts, just one simple to use package!
1521
However, it has evolved beyond that to provide a utility library for FISPACT-II, not just parsing output files,

docs/installation.rst

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Installation
2+
============
3+
Pypact is pure python3 only with very minimal dependencies - only numpy!
4+
5+
If you want to install the latest release you can do so by using pip:
6+
7+
::
8+
9+
pip3 install pypact
10+
11+
You can alternatively just clone this repository and install from source:
12+
13+
::
14+
15+
git clone https://github.com/fispact/pypact
16+
cd pypact
17+
pip3 install .

0 commit comments

Comments
 (0)