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

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.2
File Size Uploaded Provenance Actions
pricewright-0.0.2.tar.gz 120.3 kB Without provenance Details for pricewright-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 250.5 kB

Release files / pricewright-0.0.2.tar.gz

Download URL pricewright-0.0.2.tar.gz
Size 120.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cb351da3450a757fea9a16324eef490ede89c774c976db748d878debee048463
BLAKE2b-256 checksum
How to use checksums
ea983d95654f3fc7510fe69fc79635b1717379b67ebabc76f7731403f33cacaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.2-py3-none-any.whl

Download URL pricewright-0.0.2-py3-none-any.whl
Size 130.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1faa793532803d429c75a59822acd904e9361dfd161cfc844c6e695ae96d5b3
BLAKE2b-256 checksum
How to use checksums
39f2a2e875ca584bb1b19a7b27689d7a64ac0e4d5771b6e339dfd7cf8a77506f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.2

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