Skip to main content

pricewright

Price services and products from a model of their costs and effort, not from a market median. Travel is an explicit add-on, a whole rate card is checked for consistency, and market comparables are a separate, swappable input.

pip install pricewright
pricewright card my-card.yaml -o card.md      # price, check, compare, render
pricewright travel 3.5 --transport 220 --travellers 2 --day-rate 900
pricewright specialties                       # templates, and the research each needs
from pricewright import price, Rates
from pricewright.specialties.training import talk, private_workshop

rates = Rates({"founder": 900})  # target day rate, 7 h a day
q = price(talk(delivery="online"), rates)
q.unit_price, q.hours_total, q.effective_day  # 1700, 11.2, ~1058

Why

A rate card assembled from different market medians contradicts itself. You get a 60-minute talk at 10,000 next to a 6,000 private day, and "the market says so" explains nothing to whoever has to defend the number. pricewright builds each price from who works how long (development amortised over the runs you expect to sell, prep, delivery, admin, feedback) and what it costs (credits, venue, tools, fees). It adds contingency and margin, then rounds. Every metric is then recomputed from the printed price: the effective day rate per hour actually worked, the price per contact hour and per person-hour, and the seats needed to pay the target rate.

Layers

Module What it does
base Rates, Effort, Cost, Offering (frozen dataclasses), day_rate_from_income
model price(offering, rates) turns an offering into a Quote with the full arithmetic
travel travel_addon(Trip, policy=TravelPolicy()): time beyond 1 h each way at half rate, nights by rule, expenses at cost
ratecard check_card(quotes): effective-rate spread, dominance, private vs seats, online vs on site, volume per hour
research load comparables packets (YAML), normalise them (per person-hour, per contact hour, per finished minute), place a price at an evidence-weighted percentile
specialties registry of templates: training, av_production, software; adding a specialty means adding one module
spec, report a YAML rate card in, a Markdown card with its rationale out

Baseline research packets (dated 2026-10) ship in pricewright/data/packets/. Refresh them before quoting a real client.

The agent skill

pricewright/data/skills/pricing-expert/ is the pricing-expert skill. It routes an offering to a specialty, states the research it needs, and explains the method and the trade practice of each field. Its references cover training, travel, audiovisual production and software (subscriptions, usage, credits, seats, tiers). It is gh skill-discoverable and ships with pip install.

A spec

title: My rate card
currency: EUR
rates: {day_rates: {founder: 900}, hours_per_day: 7}
market: {packets: [training-2026-10.yaml], fx: {USD: 0.86, GBP: 1.15}}
travel:
  scenarios:
    - {name: "2 h by train, 2 people", trip: {one_way_hours: 2, transport_round_trip: 150, travellers: 2}}
sensitivity: {day_rates: [700, 900, 1100]}
offerings:
  - {id: talk, specialty: training, template: talk, params: {delivery: online}}
  - {id: day, specialty: training, template: private_workshop, params: {group: 12}}
  - {id: spot, specialty: av_production, template: production, params: {style: commercial, seconds: 30}}

A complete example is pricewright/data/skills/pricing-expert/references/example-spec.yaml.

Metadata

Release files for pricewright 0.0.3

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

Source distribution (sdist)

Source distribution for pricewright 0.0.3
File Size Uploaded Provenance Actions
pricewright-0.0.3.tar.gz 120.2 kB Without provenance Details for pricewright-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 250.5 kB

Release files / pricewright-0.0.3.tar.gz

Download URL pricewright-0.0.3.tar.gz
Size 120.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4db67c06d765176a95d103938fd98693296f7e0d8e0c799956d11577ed6a37a2
BLAKE2b-256 checksum
How to use checksums
6f22e1754c91acbee7c2d14e9a324f2f354f4fae2f066d59ee719a8680bb6b00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pricewright-0.0.3-py3-none-any.whl

Download URL pricewright-0.0.3-py3-none-any.whl
Size 130.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4919936c5f4399e37eb66b5aced940e4b06d3123ad5e4d91abd62ac9170e4ac
BLAKE2b-256 checksum
How to use checksums
5f1057fb560e018b4c3e2f99c3bb21f25b23c5ac0852bb2ec435ee657fac8185
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pricewright 0.0.3

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.3 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