Read RKF
Overview
read_rkf is a Python script designed to extract and parse essential data from ams.rkf files, which store critical results from AMS output files. These files typically contain:
- Trajectories
- Gradients
- Hessians
- Energies
- Band gaps and structures
- And more...
Installation
Ensure that you have Python ^3.9 installed and run the following command:
pip install read_rkf
Usage
1. Convert an RKF file to a JSON object
from read_rkf.creat_archive import rkf_to_json
json_data = rkf_to_json("path/to/your.rkf")
2. Convert an RKF file to a Python dictionary
from read_rkf.creat_archive import rkf_to_dict
python_dict = rkf_to_dict("path/to/your.rkf")
3. Check available sections in an RKF file
from read_rkf.parserkf import KFFile
data = KFFile("path/to/your.rkf")
all_sections = data.sections()
4. Read the content of a specific section
# Example: Reading the first section
section_content = data.read_section(all_sections[0])
License
This project is licensed under the MIT License.
Metadata
Release files for read-rkf 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| read_rkf-0.1.1.tar.gz | 9.2 kB | Without provenance | Details for read_rkf-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| read_rkf-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for read_rkf-0.1.1-py3-none-any.whl |
Total release size: 18.8 kB
Release files / read_rkf-0.1.1.tar.gz
| Download URL | read_rkf-0.1.1.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
870dbe325aba8668ada0375d2e833644a68b0e9c417f99f09c9c79ab2f3f22ae
|
|
BLAKE2b-256 checksum How to use checksums |
bff6dfdc855df1dd9fd9514e8c36a60dcf3b81a8d5b3db55872babd4cf9ca214
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.9 Darwin/22.1.0
|
Release files / read_rkf-0.1.1-py3-none-any.whl
| Download URL | read_rkf-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27e9cba2df6b8c6ccdd57c705f619b08a6e0e3d23e41590eec84837759527295
|
|
BLAKE2b-256 checksum How to use checksums |
5a6da0dd66b4336f4c66775dd8e41c7497f4775cd4a6484368738251dc6ff1e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.9 Darwin/22.1.0
|
Security for read-rkf 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.