ezsdtf


Nameezsdtf JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryAn easy to use and fast parser for STDF files in python.
upload_time2023-10-14 19:38:12
maintainer
docs_urlNone
author
requires_python>=3.7
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ezstdf

ezstdf is a python package for parsing "Standard Test Data Format" files with a focus on speed.
Parse a STDF file with thousands of records in less than a second.

## Installation
```
pip install --upgrade ezstdf
```

### Dependencies
- pandas (required)


## Features
- Can read STDF (binary, V4) and ATDF (clear text, V2) files
- Most record types are supported, unsupported ones are skipped for now
- Convert records to Pandas data frames
- Export to Excel file (requires openpyxl)
- Auto-detection of endianness
- Fast and easy to use


## Examples
Parse a file:
```python
from ezstdf.StdfReader import StdfReader
stdf = StdfReader()
stdf.parse_file("../sample_files/sample.atdf")

# each record type can now be accessed as a data frame
# example: access the File Attributes Record (FAR)
df_far = stdf.far
print(df_far)
```

Export as Excel. Each sheet is a difference record, and each row a sub-record.
```python
stdf.to_excel("test.xlsx")
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ezsdtf",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Fabio Verna <bogies.0.revue@icloud.com>",
    "download_url": "https://files.pythonhosted.org/packages/2b/53/958a84c4fd7f4829d0dfa46722d737310d0544acb582d48ec3fd382ff9de/ezsdtf-0.0.1.tar.gz",
    "platform": null,
    "description": "# ezstdf\r\n\r\nezstdf is a python package for parsing \"Standard Test Data Format\" files with a focus on speed.\r\nParse a STDF file with thousands of records in less than a second.\r\n\r\n## Installation\r\n```\r\npip install --upgrade ezstdf\r\n```\r\n\r\n### Dependencies\r\n- pandas (required)\r\n\r\n\r\n## Features\r\n- Can read STDF (binary, V4) and ATDF (clear text, V2) files\r\n- Most record types are supported, unsupported ones are skipped for now\r\n- Convert records to Pandas data frames\r\n- Export to Excel file (requires openpyxl)\r\n- Auto-detection of endianness\r\n- Fast and easy to use\r\n\r\n\r\n## Examples\r\nParse a file:\r\n```python\r\nfrom ezstdf.StdfReader import StdfReader\r\nstdf = StdfReader()\r\nstdf.parse_file(\"../sample_files/sample.atdf\")\r\n\r\n# each record type can now be accessed as a data frame\r\n# example: access the File Attributes Record (FAR)\r\ndf_far = stdf.far\r\nprint(df_far)\r\n```\r\n\r\nExport as Excel. Each sheet is a difference record, and each row a sub-record.\r\n```python\r\nstdf.to_excel(\"test.xlsx\")\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "An easy to use and fast parser for STDF files in python.",
    "version": "0.0.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/pypa/sampleproject/issues",
        "Homepage": "https://github.com/pypa/sampleproject"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "720a8a1b90a8856b40ad830018c0d9eca4e390503065a77a7ed3b1be43a73c23",
                "md5": "d4e9a04fb561e8d3c7790049f632ce50",
                "sha256": "f7af538111417c88d8381f13099f95c510827e33e6e2b47bc6f9d16017250142"
            },
            "downloads": -1,
            "filename": "ezsdtf-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d4e9a04fb561e8d3c7790049f632ce50",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 11296,
            "upload_time": "2023-10-14T19:38:10",
            "upload_time_iso_8601": "2023-10-14T19:38:10.639728Z",
            "url": "https://files.pythonhosted.org/packages/72/0a/8a1b90a8856b40ad830018c0d9eca4e390503065a77a7ed3b1be43a73c23/ezsdtf-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2b53958a84c4fd7f4829d0dfa46722d737310d0544acb582d48ec3fd382ff9de",
                "md5": "62f9fd3aa6f382d0e583d7200bc5d723",
                "sha256": "325af20268226ca79089d7ec5e1d3782a32551571115655b2fd49c2602762bd2"
            },
            "downloads": -1,
            "filename": "ezsdtf-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "62f9fd3aa6f382d0e583d7200bc5d723",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 9012,
            "upload_time": "2023-10-14T19:38:12",
            "upload_time_iso_8601": "2023-10-14T19:38:12.418929Z",
            "url": "https://files.pythonhosted.org/packages/2b/53/958a84c4fd7f4829d0dfa46722d737310d0544acb582d48ec3fd382ff9de/ezsdtf-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-14 19:38:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pypa",
    "github_project": "sampleproject",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "ezsdtf"
}
        
Elapsed time: 0.13950s