The Demiton Classifier.
A procurement classification framework for Australian government contract disclosure data. Pure Python, zero runtime dependencies, rule-based outputs. Apache 2.0.
Quickstart
pip install demiton-classifierfrom demiton_classifier import Contract, classify
contract = Contract(
value_aud=1_588_168.0,
title="Strategic Rail Advisory Services",
supplier_name="Lunarr Advisory Pty Ltd",
supplier_postcode="3206",
procurement_method="Limited",
number_of_offers_sought=1,
has_variation=True,
)
result = classify(contract)
print(result.value_tier.value) # "1m_to_10m"
print(result.supplier_locality.value) # "interstate_au"
print(result.procurement_competition.value) # "limited_sole_source"Eight rule-based dimensions per contract.
Value tier
Bands by contract value: under $50k, $50k–$1M, $1M–$10M, $10M–$100M, over $100M.
Supplier locality
Metro, regional, interstate, international — derived from supplier postcode and address.
Procurement competition
Limited / sole-source vs panel vs open tender — derived from procurement method and offers sought.
Variation intensity
Whether contracts have variations and at what scale relative to baseline.
Engagement category
Construction, professional services, ICT, goods, advisory — derived from contract title and description.
Repeat-supplier flag
Whether the supplier appears multiple times for the same delivery authority.
Panel-vs-direct
Whether the contract is panel-arrangement or direct award.
Confidentiality flag
Whether commercial-in-confidence redactions apply.
In the package
- • Eight classification dimensions
- • Queensland disclosure-register schema parser
- • Locality logic (state / postcode → metro / regional / interstate / international)
- • Procurement-method analyzers
- • Pure Python, no runtime dependencies
- • Rule-based — same input always produces same output
- • Apache 2.0 license
Not in the package
- • ABR ownership-chain resolution
- • Supply Nation Indigenous-certification verification
- • AusTender / CKAN / BOM data ingestion
- • Project-level financial composition
- • Hosted API (available on Demiton Free / Insights / Connected)
Those capabilities are platform-side. The classifier package is the open core — fork it, run it offline, contribute back.
Contribute
Issues, pull requests, and methodology proposals are all welcome on GitHub. The framework's value compounds with the breadth of input.
github.com/demitonapp/classifierCite
For academic, policy, and journalistic citation:
Demiton (2026). The Demiton Classifier: A procurement classification framework for Australian government contract disclosure data. https://demiton.io/methodology