read-rkf


Nameread-rkf JSON
Version 0.1.0 PyPI version JSON
download
home_page
Summary
upload_time2023-06-06 16:45:34
maintainer
docs_urlNone
authorDinga Wonanke
requires_python>=3.9,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # A script to read the ams.rkf file which contains all the important data from an ams output file. This file generally contains 
# 1 Trajectories
# 2 Gradients 
# 3 Hessians 
# 4 Energies 
# 5 Band gaps and structures
# and so on 

# How to
# 1 Convert rkf file to a json object 
from read_rkf.creat_archive import rkf_to_json 
json_data = rkf_to_json(path_to_the_rkf_file)

# 2 Convert rkf file to a python dictionary 
from read_rkf.creat_archive import rkf_to_dict 
python_dict  = rkf_to_dict(path_to_the_rkf_file)

# 3 check the sections in the rkf file 
from read_rkf.parserkf import KFFile
data = KFFile(path_to_the_rkf_file)
all_sections = data.sections()
# e.g if you want a the first section?
section_content =  data.read_section(all_sections[0])


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "read-rkf",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Dinga Wonanke",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/92/09/f0baf41569be4b714a45dd9fc8281db1a99ea4fa352791b1ecdfed9a2378/read_rkf-0.1.0.tar.gz",
    "platform": null,
    "description": "# A script to read the ams.rkf file which contains all the important data from an ams output file. This file generally contains \n# 1 Trajectories\n# 2 Gradients \n# 3 Hessians \n# 4 Energies \n# 5 Band gaps and structures\n# and so on \n\n# How to\n# 1 Convert rkf file to a json object \nfrom read_rkf.creat_archive import rkf_to_json \njson_data = rkf_to_json(path_to_the_rkf_file)\n\n# 2 Convert rkf file to a python dictionary \nfrom read_rkf.creat_archive import rkf_to_dict \npython_dict  = rkf_to_dict(path_to_the_rkf_file)\n\n# 3 check the sections in the rkf file \nfrom read_rkf.parserkf import KFFile\ndata = KFFile(path_to_the_rkf_file)\nall_sections = data.sections()\n# e.g if you want a the first section?\nsection_content =  data.read_section(all_sections[0])\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.1.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ad48f365cd403f588acead48919a8ddc201aa1558356cf62e97ffae9718919b9",
                "md5": "8736f09055778d77b6fb186e271f80d0",
                "sha256": "01b0cc83ef6fc5155632707fd8c161cfd11a7e56328777430aae56faf0f5bbd3"
            },
            "downloads": -1,
            "filename": "read_rkf-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8736f09055778d77b6fb186e271f80d0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 9383,
            "upload_time": "2023-06-06T16:45:29",
            "upload_time_iso_8601": "2023-06-06T16:45:29.093982Z",
            "url": "https://files.pythonhosted.org/packages/ad/48/f365cd403f588acead48919a8ddc201aa1558356cf62e97ffae9718919b9/read_rkf-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9209f0baf41569be4b714a45dd9fc8281db1a99ea4fa352791b1ecdfed9a2378",
                "md5": "22eff5477b0156e8a44d6f3eba1f2aec",
                "sha256": "4b59f27419963c0e3b9e280b06a0af6865a2479b4b9c7613cb794d675ca6d0e8"
            },
            "downloads": -1,
            "filename": "read_rkf-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "22eff5477b0156e8a44d6f3eba1f2aec",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 8841,
            "upload_time": "2023-06-06T16:45:34",
            "upload_time_iso_8601": "2023-06-06T16:45:34.530057Z",
            "url": "https://files.pythonhosted.org/packages/92/09/f0baf41569be4b714a45dd9fc8281db1a99ea4fa352791b1ecdfed9a2378/read_rkf-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-06 16:45:34",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "read-rkf"
}
        
Elapsed time: 0.07436s