Skip to main content

Get data from Sesam Interface Files

Project description

FREESIF

Work easily with data from SESAM Interface Files.

General

About

Python package that enables easy extraction of data from SESAM Interface Files.

The following file formats are currently supported:

  • Formatted finite element model file (.FEM)
  • Formatted interface file (.SIF)
  • Unformatted interface file (.SIU)

Getting started

Install the latest release

pip install freesif

... and import it into a script

from freesif import open_sif

Resources

Contribute

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Install Python version 3.6 or later from either https://www.python.org or https://www.anaconda.com.

Clone the source code repository

At the desired location, run:

git clone https://github.com/agrav/freesif.git

Installing

To get the development environment running:

... create an isolated Python environment and activate it,

python -m venv /path/to/new/virtual/environment

/path/to/new/virtual/environment/Scripts/activate

... install the dev dependencies in requirements.txt,

pip install -r requirements.txt

.. and install the package in development mode.

python setup.py develop

You should now be able to import the package in the Python console,

import freesif
help(freesif)

Running the tests

The unit tests are automated using the unittest and pytest framework. Run the test by...

pytest --cov=freesif --cov-report term-missing tests/

Building the package

Build tarball and wheel distributions by:

pip install wheel
python setup.py sdist bdist_wheel

The distribution file names adhere to the PEP 0427 convention {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl.

Deployment

Packaging, unit testing and deployment to PyPi is automated using GitHub Actions.

Versioning

We apply the "major.minor.micro" versioning scheme defined in PEP 440.

Cut a new version by applying a Git tag like 1.0.1 at the desired commit and then setuptools_scm takes care of the rest. For the versions available, see the tags on this repository.

Authors

  • Audun Gravdal Johansen - agrav

Maintainers

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freesif-0.2.0.tar.gz (47.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freesif-0.2.0-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

Details for the file freesif-0.2.0.tar.gz.

File metadata

  • Download URL: freesif-0.2.0.tar.gz
  • Upload date:
  • Size: 47.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for freesif-0.2.0.tar.gz
Algorithm Hash digest
SHA256 06450f5d14427ada108748133773b1c779a10b80b6c15a21cc081f4ccf20ee13
MD5 09429b1ef148547c2f42e5f64248d1ff
BLAKE2b-256 92efd5ffbda15bee4863a4e55259300a7254bed23d302588453d4e3c57c5d0ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for freesif-0.2.0.tar.gz:

Publisher: publish.yml on agrav/freesif

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file freesif-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: freesif-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 52.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for freesif-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e3f74776935c382f0f5acdfa36fe91e2a1491ec6b22c5ac37be59a10b177eed
MD5 583acc0580d7d57cda390229cd25efa5
BLAKE2b-256 46876eac6d784fad6dd6c07244b963a3deaf2b25261056bd40b5c088164d963c

See more details on using hashes here.

Provenance

The following attestation bundles were made for freesif-0.2.0-py3-none-any.whl:

Publisher: publish.yml on agrav/freesif

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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