Skip to main content

kirch

Small command-line utility for electronics work: engineering-notation parsing and IEC 60063 preferred-value lookup. Preview release.

Install

pip install kirch

Commands

kirch value 4k7          # 4700  (4.7k)    engineering notation parser
kirch value 100n         # 1e-07  (100n)
kirch eseries 5.1k E96   # 5.11k (+0.20%)  nearest IEC 60063 preferred value
kirch eseries 3300 E12   # 3.3k  (+0.00%)
kirch --version

Also usable as a library:

from kirch import parse_value, nearest
parse_value("4k7")        # 4700.0
nearest(5100, "E96")      # (5110.0, 0.00196...)

Supported notation: p n u µ m k M G, and prefix-as-decimal-point forms such as 4k7, 2M2, 1R5. Trailing units (Ω, ohm, F, H, V, A, W) are ignored.

License

MIT

Metadata

Release files for kirch 0.0.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 kirch 0.0.1
File Size Uploaded Provenance Actions
kirch-0.0.1.tar.gz 4.1 kB Without provenance Details for kirch-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kirch 0.0.1
File Interpreter ABI Platform Actions
kirch-0.0.1-py3-none-any.whl Python 3 none any Details for kirch-0.0.1-py3-none-any.whl

Total release size: 9.6 kB

Release files / kirch-0.0.1.tar.gz

Download URL kirch-0.0.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bd77e5b68dd9396490817e59933803db781f4ade245b3d3fb5941a188035b895
BLAKE2b-256 checksum
How to use checksums
323211f9ed0c6a8b628961e453684fbc03d8ef5928363436aa3d56dec82ccd17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / kirch-0.0.1-py3-none-any.whl

Download URL kirch-0.0.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5db1d010a86bb83cab6d34d900b145dc205413693c0339c79628b7729242401c
BLAKE2b-256 checksum
How to use checksums
7ee125f22d195d8688a9146dec36f0264f995f02841621ec3d6b71b27b2b8c07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for kirch 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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