Skip to content

Commit

Permalink
feat: python documentation main page
Browse files Browse the repository at this point in the history
Signed-off-by: Franz R. Sattler <[email protected]>
  • Loading branch information
Franz R. Sattler committed Dec 18, 2024
1 parent 08b7f8a commit 2380bd6
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 112 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
source .venv/bin/activate
pip install pdoc python/dist/DiFfRG-1.0.0-py3-none-any.whl
cd python
pdoc -o python DiFfRG
pdoc -o python ./DiFfRG
cd ..
- name: Assemble
run: |
Expand Down
29 changes: 29 additions & 0 deletions python/DiFfRG/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
r'''
# The DiFfRG python package
The DiFfRG python package is a collection of tools for the analysis of results from simulations created with [DiFfRG](https://github.com/satfra/DiFfRG).
# Installation
To install the DiFfRG python package, you can either use the wheel file provided with a local DiFfRG build:
```shell
pip install /opt/DiFfRG/python/dist/DiFfRG-1.0.0-py3-none-any.whl
```
or you can download the wheel file from the DiFfRG repository and install it:
```shell
wget https://raw.githubusercontent.com/satfra/DiFfRG/main/python/dist/DiFfRG-1.0.0-py3-none-any.whl
pip install DiFfRG-1.0.0-py3-none-any.whl
```
# Usage
The DiFfRG python package provides a number of modules that can be used to analyze the results of DiFfRG simulations. The main modules are:
- `DiFfRG.file_io`: read DiFfRG simulation results from files
- `DiFfRG.plot`: plotting tools
- `DiFfRG.phasediagram`: tools to run DiFfRG simulations with different parameters directly from python
'''
111 changes: 0 additions & 111 deletions python/DiFfRG/non_uniform_savgol.py

This file was deleted.

0 comments on commit 2380bd6

Please sign in to comment.