sdypy-io 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sdypy-io-0.0.1/License +21 -0
- sdypy-io-0.0.1/PKG-INFO +55 -0
- sdypy-io-0.0.1/README.rst +40 -0
- sdypy-io-0.0.1/sdypy/io/__init__.py +7 -0
- sdypy-io-0.0.1/sdypy_io.egg-info/PKG-INFO +55 -0
- sdypy-io-0.0.1/sdypy_io.egg-info/SOURCES.txt +9 -0
- sdypy-io-0.0.1/sdypy_io.egg-info/dependency_links.txt +1 -0
- sdypy-io-0.0.1/sdypy_io.egg-info/requires.txt +3 -0
- sdypy-io-0.0.1/sdypy_io.egg-info/top_level.txt +1 -0
- sdypy-io-0.0.1/setup.cfg +4 -0
- sdypy-io-0.0.1/setup.py +48 -0
sdypy-io-0.0.1/License
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) Domen Gorjup 2019
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
sdypy-io-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: sdypy-io
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Reading and writing of data in structural dynamics.
|
|
5
|
+
Home-page: https://github.com/sdypy/sdypy-io
|
|
6
|
+
Author: Janko Slavič, et al.
|
|
7
|
+
Author-email: janko.slavic@fs.uni-lj.si
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Keywords: read/write,io,structural dynamics,UFF,UNV,Universal File Format,LVM
|
|
10
|
+
Platform: UNKNOWN
|
|
11
|
+
Description-Content-Type: text/x-rst
|
|
12
|
+
License-File: License
|
|
13
|
+
|
|
14
|
+
sdypy-io
|
|
15
|
+
========
|
|
16
|
+
|
|
17
|
+
Read/write experimental and analysis data in the field of structural dynamics. Check out the `documentation <https://sdypy-io.readthedocs.io/en/latest/>`_.
|
|
18
|
+
|
|
19
|
+
Currently, the ``SDyPy-io`` package supports the reading and writing of the UFF (Universal File Format) files and reading of the LVM files.
|
|
20
|
+
|
|
21
|
+
To use the package, install the ``sdypy`` package:
|
|
22
|
+
|
|
23
|
+
.. code:: bash
|
|
24
|
+
|
|
25
|
+
pip install sdypy
|
|
26
|
+
|
|
27
|
+
The ``io`` module is imported as follows:
|
|
28
|
+
|
|
29
|
+
.. code:: python
|
|
30
|
+
|
|
31
|
+
from sdypy import io
|
|
32
|
+
|
|
33
|
+
Universal File Format read and write
|
|
34
|
+
------------------------------------
|
|
35
|
+
The UFF class is defined to manipulate the UFF (Universal File Format) files.
|
|
36
|
+
|
|
37
|
+
Currently supported UFF data-set types:
|
|
38
|
+
- 15
|
|
39
|
+
- 55
|
|
40
|
+
- 58
|
|
41
|
+
- 58b
|
|
42
|
+
- 82
|
|
43
|
+
- 151
|
|
44
|
+
- 164
|
|
45
|
+
- 2411
|
|
46
|
+
- 2412
|
|
47
|
+
- 2414
|
|
48
|
+
- 2420
|
|
49
|
+
- 2429
|
|
50
|
+
|
|
51
|
+
LVM file format
|
|
52
|
+
---------------
|
|
53
|
+
The ``read`` function parses the LVM file and returns a dictionary with the data.
|
|
54
|
+
|
|
55
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
sdypy-io
|
|
2
|
+
========
|
|
3
|
+
|
|
4
|
+
Read/write experimental and analysis data in the field of structural dynamics. Check out the `documentation <https://sdypy-io.readthedocs.io/en/latest/>`_.
|
|
5
|
+
|
|
6
|
+
Currently, the ``SDyPy-io`` package supports the reading and writing of the UFF (Universal File Format) files and reading of the LVM files.
|
|
7
|
+
|
|
8
|
+
To use the package, install the ``sdypy`` package:
|
|
9
|
+
|
|
10
|
+
.. code:: bash
|
|
11
|
+
|
|
12
|
+
pip install sdypy
|
|
13
|
+
|
|
14
|
+
The ``io`` module is imported as follows:
|
|
15
|
+
|
|
16
|
+
.. code:: python
|
|
17
|
+
|
|
18
|
+
from sdypy import io
|
|
19
|
+
|
|
20
|
+
Universal File Format read and write
|
|
21
|
+
------------------------------------
|
|
22
|
+
The UFF class is defined to manipulate the UFF (Universal File Format) files.
|
|
23
|
+
|
|
24
|
+
Currently supported UFF data-set types:
|
|
25
|
+
- 15
|
|
26
|
+
- 55
|
|
27
|
+
- 58
|
|
28
|
+
- 58b
|
|
29
|
+
- 82
|
|
30
|
+
- 151
|
|
31
|
+
- 164
|
|
32
|
+
- 2411
|
|
33
|
+
- 2412
|
|
34
|
+
- 2414
|
|
35
|
+
- 2420
|
|
36
|
+
- 2429
|
|
37
|
+
|
|
38
|
+
LVM file format
|
|
39
|
+
---------------
|
|
40
|
+
The ``read`` function parses the LVM file and returns a dictionary with the data.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: sdypy-io
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Reading and writing of data in structural dynamics.
|
|
5
|
+
Home-page: https://github.com/sdypy/sdypy-io
|
|
6
|
+
Author: Janko Slavič, et al.
|
|
7
|
+
Author-email: janko.slavic@fs.uni-lj.si
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Keywords: read/write,io,structural dynamics,UFF,UNV,Universal File Format,LVM
|
|
10
|
+
Platform: UNKNOWN
|
|
11
|
+
Description-Content-Type: text/x-rst
|
|
12
|
+
License-File: License
|
|
13
|
+
|
|
14
|
+
sdypy-io
|
|
15
|
+
========
|
|
16
|
+
|
|
17
|
+
Read/write experimental and analysis data in the field of structural dynamics. Check out the `documentation <https://sdypy-io.readthedocs.io/en/latest/>`_.
|
|
18
|
+
|
|
19
|
+
Currently, the ``SDyPy-io`` package supports the reading and writing of the UFF (Universal File Format) files and reading of the LVM files.
|
|
20
|
+
|
|
21
|
+
To use the package, install the ``sdypy`` package:
|
|
22
|
+
|
|
23
|
+
.. code:: bash
|
|
24
|
+
|
|
25
|
+
pip install sdypy
|
|
26
|
+
|
|
27
|
+
The ``io`` module is imported as follows:
|
|
28
|
+
|
|
29
|
+
.. code:: python
|
|
30
|
+
|
|
31
|
+
from sdypy import io
|
|
32
|
+
|
|
33
|
+
Universal File Format read and write
|
|
34
|
+
------------------------------------
|
|
35
|
+
The UFF class is defined to manipulate the UFF (Universal File Format) files.
|
|
36
|
+
|
|
37
|
+
Currently supported UFF data-set types:
|
|
38
|
+
- 15
|
|
39
|
+
- 55
|
|
40
|
+
- 58
|
|
41
|
+
- 58b
|
|
42
|
+
- 82
|
|
43
|
+
- 151
|
|
44
|
+
- 164
|
|
45
|
+
- 2411
|
|
46
|
+
- 2412
|
|
47
|
+
- 2414
|
|
48
|
+
- 2420
|
|
49
|
+
- 2429
|
|
50
|
+
|
|
51
|
+
LVM file format
|
|
52
|
+
---------------
|
|
53
|
+
The ``read`` function parses the LVM file and returns a dictionary with the data.
|
|
54
|
+
|
|
55
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
sdypy
|
sdypy-io-0.0.1/setup.cfg
ADDED
sdypy-io-0.0.1/setup.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import re
|
|
3
|
+
from setuptools import setup
|
|
4
|
+
|
|
5
|
+
regexp = re.compile(r'.*__version__ = [\'\"](.*?)[\'\"]', re.S)
|
|
6
|
+
|
|
7
|
+
base_path = os.path.dirname(__file__)
|
|
8
|
+
|
|
9
|
+
init_file = os.path.join(base_path, 'sdypy/io', '__init__.py')
|
|
10
|
+
with open(init_file, 'r') as f:
|
|
11
|
+
module_content = f.read()
|
|
12
|
+
|
|
13
|
+
match = regexp.match(module_content)
|
|
14
|
+
if match:
|
|
15
|
+
version = match.group(1)
|
|
16
|
+
else:
|
|
17
|
+
raise RuntimeError(
|
|
18
|
+
'Cannot find __version__ in {}'.format(init_file))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
with open(os.path.join(base_path, 'README.rst'), encoding='utf-8') as f:
|
|
22
|
+
long_description = f.read()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def parse_requirements(filename):
|
|
26
|
+
''' Load requirements from a pip requirements file '''
|
|
27
|
+
with open(filename, 'r') as fd:
|
|
28
|
+
lines = []
|
|
29
|
+
for line in fd:
|
|
30
|
+
line.strip()
|
|
31
|
+
if line and not line.startswith("#"):
|
|
32
|
+
lines.append(line)
|
|
33
|
+
return lines
|
|
34
|
+
|
|
35
|
+
requirements = parse_requirements('requirements.txt')
|
|
36
|
+
|
|
37
|
+
setup(name='sdypy-io',
|
|
38
|
+
version=version,
|
|
39
|
+
author='Janko Slavič, et al.',
|
|
40
|
+
author_email='janko.slavic@fs.uni-lj.si',
|
|
41
|
+
description='Reading and writing of data in structural dynamics.',
|
|
42
|
+
url='https://github.com/sdypy/sdypy-io',
|
|
43
|
+
packages=['sdypy.io'],
|
|
44
|
+
long_description=long_description,
|
|
45
|
+
long_description_content_type='text/x-rst',
|
|
46
|
+
install_requires=requirements,
|
|
47
|
+
keywords='read/write, io, structural dynamics, UFF, UNV, Universal File Format, LVM',
|
|
48
|
+
)
|