File I/O module
Project description
The sfio module is a Python library for efficient file input/output operations. It handles various file formats commonly used in computational materials science research.
Key Features
Simulation Box Conversions: Supports triclinic (non-orthogonal) simulation boxes. Converts between basis vectors, lattice parameters, and LAMMPS box representations. <https://github.com/hyiprc/sfio/blob/main/docs/source/simulation_box.rst>
File Parsing and Data Type Casting: Provides a Slicing/indexing mechanism for multi-frames (trajectory) file types. Parsing sections in a file and cast them into different data types. <https://github.com/hyiprc/sfio/blob/main/docs/source/file_read_write.rst>
Quick installation
python -m pip install git+https://github.com/hyiprc/sfio.git
To update or reinstall,
python -m pip install --force-reinstall --no-deps git+https://github.com/hyiprc/sfio.git
Developer installation
$ which python # confirm the location
$ git clone https://github.com/hyiprc/sfio.git
$ cd sfio
$ python -m pip install -e .[dev]
$ pre-commit install
Project details
Release history Release notifications | RSS feed
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 sfio-1.0.0.tar.gz.
File metadata
- Download URL: sfio-1.0.0.tar.gz
- Upload date:
- Size: 51.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a770ce62821e513e26a35ba8c7bf32b8acfe410090efbf90048a4453b7999b40
|
|
| MD5 |
c141ffb7ee5b503922e93d55fadf6b09
|
|
| BLAKE2b-256 |
d57793a2a9555fb9c5802a368b0d0eac66dfab434ae290ed4ed95ed9fc31af5a
|
File details
Details for the file sfio-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sfio-1.0.0-py3-none-any.whl
- Upload date:
- Size: 55.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
309a1a5b1adc3e4db227ee216111809838e74b62856eeb4564d189fc9a3cdca3
|
|
| MD5 |
7fe785e713f6063c55d8dd9448a00cc7
|
|
| BLAKE2b-256 |
ec36f1b185a1d33ad272e2d25dfc30be18aa3930a4542eebb192cac3838b4e57
|