Skip to content

Commit

Permalink
Merge pull request #2 from tataratat/ft-ci
Browse files Browse the repository at this point in the history
add ci
  • Loading branch information
j042 authored Sep 6, 2023
2 parents 8261b5d + 5ab3f9f commit e0de49f
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: pypi upload

on:
push:
branches: ["main"]

jobs:
wheel_build_full:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: build wheels and sdist
run: pipx run build

- uses: actions/upload-artifact@v3
with:
path: ./dist/*

upload_pypi:
needs: [wheel_build_full]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/[email protected]
with:
skip_existing: true
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
# feigen - python interactive front end for iganet.
# feigen - python interactive Front End for IGA ENgines.
feigen is a python library for interactive spline plotting.
It focues on supporting isogeometric analysis tools, such as `iganet`, `splinepy`, and `pygismo`.

## Install guide
you can install feigen using `pip`:
```
pip install feigen
```
For the latest develop version:
```
pip install git+https://github.com/tataratat/feigen.git@main
```

## Quick start
Current version supports iganet's BSplineSurface.
Assuming that you have a server running,
```
python3 -c "import feigen; feigen.BSpline2D('ws://localhost:9001').start()"
```
7 changes: 7 additions & 0 deletions examples/iganet_bspline2d.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import feigen

if __name__ == "__main__":
# feigen.log.configure(debug=True)

b = feigen.BSpline2D("ws://localhost:9001")
b.start()
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = [
{name = 'Matthias Möller', email = '[email protected]'},
]
readme = 'README.md'
requires-python = '>=3.6'
requires-python = '>=3.7'
keywords = ['iganet', 'interactive']
license = {text = 'MPL 2.0'}
classifiers = [
Expand Down

0 comments on commit e0de49f

Please sign in to comment.