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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06450f5d14427ada108748133773b1c779a10b80b6c15a21cc081f4ccf20ee13
|
|
| MD5 |
09429b1ef148547c2f42e5f64248d1ff
|
|
| BLAKE2b-256 |
92efd5ffbda15bee4863a4e55259300a7254bed23d302588453d4e3c57c5d0ba
|
Provenance
The following attestation bundles were made for freesif-0.2.0.tar.gz:
Publisher:
publish.yml on agrav/freesif
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freesif-0.2.0.tar.gz -
Subject digest:
06450f5d14427ada108748133773b1c779a10b80b6c15a21cc081f4ccf20ee13 - Sigstore transparency entry: 156613080
- Sigstore integration time:
-
Permalink:
agrav/freesif@78147ac3f60d656bc466a0729b60ff84f7eeec75 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/agrav
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@78147ac3f60d656bc466a0729b60ff84f7eeec75 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e3f74776935c382f0f5acdfa36fe91e2a1491ec6b22c5ac37be59a10b177eed
|
|
| MD5 |
583acc0580d7d57cda390229cd25efa5
|
|
| BLAKE2b-256 |
46876eac6d784fad6dd6c07244b963a3deaf2b25261056bd40b5c088164d963c
|
Provenance
The following attestation bundles were made for freesif-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on agrav/freesif
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freesif-0.2.0-py3-none-any.whl -
Subject digest:
5e3f74776935c382f0f5acdfa36fe91e2a1491ec6b22c5ac37be59a10b177eed - Sigstore transparency entry: 156613082
- Sigstore integration time:
-
Permalink:
agrav/freesif@78147ac3f60d656bc466a0729b60ff84f7eeec75 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/agrav
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@78147ac3f60d656bc466a0729b60ff84f7eeec75 -
Trigger Event:
release
-
Statement type: