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.1.3.tar.gz (27.5 MB view details)

Uploaded Source

Built Distribution

freesif-0.1.3-py3-none-any.whl (52.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freesif-0.1.3.tar.gz
  • Upload date:
  • Size: 27.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for freesif-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6479a6246548a9c17c4d03532084bb1eb0adcf2978afd90a9dcdeabfba67feaa
MD5 273e191c3af1b61b8be7e9de201ca372
BLAKE2b-256 9541379929ab55a236fcc55f03a9f9d089a84da0af2342f19935a2e0cf29f6f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: freesif-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 52.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for freesif-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4a4304a64c4f52e624cf25f30a9ddcd3926a7cdf6fa4db7853741a0d50a972a3
MD5 360fa2ba2ecddef12c4379f66bd98df2
BLAKE2b-256 093a94548a91fa7d0a5fb302d1fb1624621ed9bab971ee900a7fd92561fd096f

See more details on using hashes here.

Supported by

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