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.

Files for freesif, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size freesif-0.1.2-py3-none-any.whl (51.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size freesif-0.1.2.tar.gz (27.5 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page