Skip to main content

klarfrs

Klarfrs is a parser written in Rust to read klarf files into structured objects. It supports versions 1.2 and 1.8 (via dynamic column handling).

Installation

Use the package manager pip to install klarfrs.

pip install klarfrs

Usage

import klarfrs
from typing import List

filename: str = "klarf.001"

# Parse Header
klarf_header: klarfrs.KlarfData = klarfrs.parse(filename)
print("File Version:", klarf_header.file_version)
print("Lot ID:", klarf_header.lot_id)

# Parse Defects
klarf_defects: List[klarfrs.DefectList] = klarfrs.parse_defects(filename)
for defect in klarf_defects:
    print(f"Defect ID: {defect.defect_id}, X: {defect.xrel}, Y: {defect.yrel}")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for klarfrs 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for klarfrs 0.2.1
File Size Uploaded
klarfrs-0.2.1.tar.gz 11.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for klarfrs 0.2.1
File
klarfrs-0.2.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
klarfrs-0.2.1-cp313-cp313-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ x86-64 Details
klarfrs-0.2.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
klarfrs-0.2.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
klarfrs-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details
klarfrs-0.2.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
klarfrs-0.2.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
klarfrs-0.2.1-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details
klarfrs-0.2.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
klarfrs-0.2.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
klarfrs-0.2.1-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details
klarfrs-0.2.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 10.6 MB

Release files / klarfrs-0.2.1.tar.gz

Download URL klarfrs-0.2.1.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2b0d3e335617c741cb9f587f3b795e68756e5faeb38eb8a587dae84146e9c7d3
BLAKE2b-256 checksum
How to use checksums
5739b83fa6190dd54401175bc2506eff7217b7c33fa1f9ceea7bfb7e2bbaf309
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp313-cp313-win_amd64.whl

Download URL klarfrs-0.2.1-cp313-cp313-win_amd64.whl
Size 765.9 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
52f2c346a06eb28fe3a671622bc903fe479f615cc48f176b25d1dd55637a0350
BLAKE2b-256 checksum
How to use checksums
9a28c2f6952bcad7a7166b7672d97ccf250aa668b0b6ac0d261f1c3aac457aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL klarfrs-0.2.1-cp313-cp313-manylinux_2_34_x86_64.whl
Size 1.0 MB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
171ac662f6ac4864edfb152dcfc6269b044742f49950b10a115a59414d5ba1b4
BLAKE2b-256 checksum
How to use checksums
211a127cf8bc1eb2ff991cd7281460e26d6667d02adb32490882bea1d4553de7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL klarfrs-0.2.1-cp313-cp313-macosx_11_0_arm64.whl
Size 859.0 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0ea7c0f279e3e94bfd3b5cfe08104c252843703f357b08282489b4c43bdaf8b4
BLAKE2b-256 checksum
How to use checksums
18cf74fa651b495777ae931a36887505041bc8551c9a61b45dbe5340c240dd34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp312-cp312-win_amd64.whl

Download URL klarfrs-0.2.1-cp312-cp312-win_amd64.whl
Size 765.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
4faca5b0900184c5061967de891c08350b858fe4199ae007ab3d366cedb73219
BLAKE2b-256 checksum
How to use checksums
717167d3cca84cba82ce5be5f273b10a0bf065c67b1b17b9d1cff88075606ee8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL klarfrs-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl
Size 1.0 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
a38a9e4e2a999d0fce3b95d9ed38e26c1898b8e6500ef0644139d8143c96ed64
BLAKE2b-256 checksum
How to use checksums
7d9ad068e31c8ce42e4f1116ce19a7db83f5d2272cb4f404cfe29eedaeb6ab21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL klarfrs-0.2.1-cp312-cp312-macosx_11_0_arm64.whl
Size 859.4 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
eed3e3ffa8918ac9bd3af47979237fd2be64ba6a132dd9ae6ddbada07f74011f
BLAKE2b-256 checksum
How to use checksums
9b7d7ee9b73961442f181d08c6b86dbf90c41bea6d80cbd6eb32c0eba1915320
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp311-cp311-win_amd64.whl

Download URL klarfrs-0.2.1-cp311-cp311-win_amd64.whl
Size 767.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ca9b1bc52d9cf45eed70c4ce7b92e820542e69efb549e4b6ce0617784a8a48d4
BLAKE2b-256 checksum
How to use checksums
4e9f7ed6bff7c931485751205a22a4b7741aafae61f19f3804d06bc0029f4f72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL klarfrs-0.2.1-cp311-cp311-manylinux_2_34_x86_64.whl
Size 1.0 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
2e942673a8663bfe18d27c05a9efaf2c15b307b29af4c46e6a869292fb3db125
BLAKE2b-256 checksum
How to use checksums
d976648ad4841c25637f15450b5af0b7d612a8e9c13b1aa1c4af4c81b3ed9943
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL klarfrs-0.2.1-cp311-cp311-macosx_11_0_arm64.whl
Size 862.9 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7e230145defd480345ea6eaff3671fdd300037e9cd11559825178c55419b62fb
BLAKE2b-256 checksum
How to use checksums
b10faae860293b7945c9f85c75c4d07a30eb43fc79b3a1958fec79c448524aa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp310-cp310-win_amd64.whl

Download URL klarfrs-0.2.1-cp310-cp310-win_amd64.whl
Size 767.9 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c78d593e13e522e2438bdaa38910cd7f207632f5ce131c51fe99753ba434cb9b
BLAKE2b-256 checksum
How to use checksums
2d346d57893e689731ed1ece67a66fa4c8c14c1786243d1c16dd801861bebfb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL klarfrs-0.2.1-cp310-cp310-manylinux_2_34_x86_64.whl
Size 1.0 MB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
6fcd9ecd6c4dce17d25fc437a05b3e1f3e54f6e9fbb436a96425ca62e056cb06
BLAKE2b-256 checksum
How to use checksums
4972e0cbfd6c369ca2324635988e90984aeba35cb05ca940b80d98e6855c5d9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / klarfrs-0.2.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL klarfrs-0.2.1-cp310-cp310-macosx_11_0_arm64.whl
Size 863.3 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e76c99a84c17f08d347d5410f528ee63971608c5d9bc8566e1fdc3899942cc1e
BLAKE2b-256 checksum
How to use checksums
60135ed0a2fb1e66b8e00994d2c01b609518315ae204872b6bd25e59dd42e4ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.2.1 This release

13 release files

0.2.0

4 release files

0.1.10

1 release file

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page