Skip to main content

pre-commit Create and publish a Docker image Build docs Test package PyPI version DOI


fenics-beat

Library for running cardiac electrophysiology simulations.

Getting started

Check out the examples at https://finsberg.github.io/fenics-beat/

Install

Using docker (recommended)

The simplest way to use fenics-beat is to use the provided docker image. You can get this image by pulling it from the github registry

docker pull ghcr.io/finsberg/fenics-beat:latest

It is also possible to pull a specific version by changing the tag, e.g.

docker pull ghcr.io/finsberg/fenics-beat:v0.0.8

will use version 0.0.8.

In order to start a container you can use the docker run command. For example the command

docker run --rm -v $(pwd):/home/shared -w /home/shared -ti ghcr.io/finsberg/fenics-beat:latest

will run the latest version and share your current working directory with the container. The source code of fenics-beat is located at /repo in the docker container.

Using pip

fenics-beat is also available on pypi and can be installed with

python3 -m pip install fenics-beat

However this requires FEniCS to already be installed. Currently, FEniCS can be installed by building from source, using conda or use some of the pre-built docker images

Automated tests

Upon pushing new code to the repository, a number of tests run:

  • pre-commit tests.
    • Install pre-commit:
    python3 -m pip install pre-commit
    
    • Run pre-commit hooks:
    pre-commit run --all
    
  • unit and integration tests can be found in tests folder
    • Install tests dependencies:
    python3 -m pip install -e .[test]
    
    • Run tests
    python3 -m pytest
    
  • Examples: All examples are run as part of building the documentation

Contributing guidelines

Detailed contributing guidelines are given here.

License

MIT

Need help or having issues

Please submit an issue

Release files for fenics-beat 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fenics-beat 0.1.1
File Size Uploaded
fenics_beat-0.1.1.tar.gz 160.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fenics-beat 0.1.1
File Interpreter ABI Platform
fenics_beat-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 323.7 kB

Release files / fenics_beat-0.1.1.tar.gz

Download URL fenics_beat-0.1.1.tar.gz
Size 160.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2e1457d598900800502e5cfa24412c9bb8182b50d5fb2cf2da9af50d3423bc77
BLAKE2b-256 checksum
How to use checksums
d666d18e0d196156eca4aa7ed79fd81592beb0ff61fbf21519b44c40cbf20baa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / fenics_beat-0.1.1-py3-none-any.whl

Download URL fenics_beat-0.1.1-py3-none-any.whl
Size 163.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17200b60365e3270e526fa3dae621e8b4933dabd932299c9899ce1fb18dbe153
BLAKE2b-256 checksum
How to use checksums
994ce6c1bd2794b04cfc9e50d9e8976a120d4f22bba60acf32fd0dcc8bdbe089
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page