Skip to main content

haus-fmt-money

The haus schema package @haus-fmt/money (Money, Currency) for Python, with the codecs of its profile iso. Imported as haus_money.

pip install haus-fmt-money
// order.schema.haus
import @haus-fmt/money (Money)
type Order = { total: Money }
import haus_money
from haus import schema

s = schema.load_schema("order.schema.haus", packages=[haus_money.PACKAGE], codecs=haus_money.iso)
s["Order"].parse("{ total: Money(19.90, EUR) }")  # {'total': Tagged(tag='Money', payload=('19.90', 'EUR'))}
s["Order"].parse("{ total: Money(19.90, Eur) }")  # HausDecodeError: Eur is not a currency of the iso profile

haus_money.PACKAGE is the package's directory (package.haus, schema.haus, profiles/). haus_money.iso is the profile's codecs (a schema.CodecGroup; combine groups with |): a Currency is accepted when its tag is three letters A–Z without payload, wherever it occurs, so a Money is accepted exactly when its currency is. The codec keeps the value: the amount is its exact Decimal text ("19.90"), and a currency is its tag ("EUR") instead of the Unknown the schema alone gives. The rule: profiles/iso.md.

Metadata

Release files for haus-fmt-money 1.0.0

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

Source distribution (sdist)

Source distribution for haus-fmt-money 1.0.0
File Size Uploaded Provenance Actions
haus_fmt_money-1.0.0.tar.gz 5.7 kB With provenance Details for haus_fmt_money-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for haus-fmt-money 1.0.0
File Interpreter ABI Platform Actions
haus_fmt_money-1.0.0-py3-none-any.whl Python 3 none any Details for haus_fmt_money-1.0.0-py3-none-any.whl

Total release size: 11.3 kB

Release files / haus_fmt_money-1.0.0.tar.gz

Download URL haus_fmt_money-1.0.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9f65fee266416eb17eed4ae109a19f678b4a80a61834b373cefa36c30a09acee
BLAKE2b-256 checksum
How to use checksums
df2ae69c051fa2ea44a71bdd3a008188a6b32d3e32d5e6207ef3e4e527748f11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / haus_fmt_money-1.0.0-py3-none-any.whl

Download URL haus_fmt_money-1.0.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
824c2ba96477afa991126c8a5ac15274e1d08c8f49abed374afd2d0146da0287
BLAKE2b-256 checksum
How to use checksums
32572fa1428f04d82a8cabc54b4f7108508b6f9a811c8da103abee30718d1f15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for haus-fmt-money 1.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for haus_fmt_money-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

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

1.0.0 This release

2 release files Full 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