Python系列之入门篇——pytables及其客户端

时间:2023-11-24 21:29:50

pytables及其客户端查看

pytables

# ubuntu
sudo apt-get install python-tables
pip install flask flask-httpauth # centos
pip install tables

hdf5

Download: https://www.hdfgroup.org/downloads/hdf5/source-code/

./configure
make
make check
make install

客户端

1. 命令行工具

h5ls

h5dump

2. 图形工具

hdfview

查看版本

[root@bbl aclog]# python /usr/local/lib/python2.7/site-packages/tables/tests/test_all.py
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PyTables version: 3.4.2
HDF5 version: 1.8.18
NumPy version: 1.13.3
Numexpr version: 2.6.4 (not using Intel's VML/MKL)
Zlib version: 1.2.3 (in Python interpreter)
LZO version: 2.09 (Feb 04 2015)
BZIP2 version: 1.0.6 (6-Sept-2010)
Blosc version: 1.11.3 (2017-03-09)
Blosc compressors: blosclz (1.0.5), lz4 (1.7.5), lz4hc (1.7.5), snappy (1.1.1), zlib (1.2.8), zstd (1.1.3)
Blosc filters: shuffle, bitshuffle
Python version: 2.7.13 (default, Dec 26 2017, 18:19:53)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-18)]
Platform: Linux-2.6.32-504.el6.x86_64-x86_64-with-centos-6.6-Final
Byte-ordering: little
Detected cores: 8
Default encoding: ascii
Default FS encoding: UTF-8
Default locale: (en_US, UTF-8)