How to price and sell your python programming pieces

Somebody asks whether your little spreadsheet-cleanup script could be adapted for their shop, and the first number that comes to mind is probably far too low. Selling programming work is different from selling a scarf or a bowl, because the buyer is not paying for the file — they are paying for the outcome, and for the fact that the file will keep producing that outcome. Getting a fair arrangement starts with understanding what you are actually handing over.

Charge for the result and the upkeep

A script that saves someone an afternoon a week is worth something every week, not once. That is why the honest comparison is not “how long did the code take me” but “what does this replace?” If it replaces a manual task, a paid subscription, or a part-time job, the value is anchored there. If it is a small convenience with no clear time saving, price it modestly and treat it as a portfolio piece.

Be careful about scope. Most disputes in small programming sales come from an unstated assumption — that you would also fix their data, host it, retrain a colleague, or keep it updated for a year. Write the boundary down before you quote.

Three workable pricing models

Pick the model that matches how well you understand the job.

  • Fixed price. Best when the requirements are clear and the data is in front of you. Add a buffer for the surprises you have not seen yet, and name what is out of scope.
  • Hourly. Best for exploratory or open-ended work, because it protects you when the job is bigger than it looked. Track your time honestly from the first message, not from the first line of code.
  • Licence or retainer. Best for tools that keep running. A monthly amount for hosting, monitoring and small changes reflects the ongoing work; a one-off payment for something that will need attention forever usually ends badly.

Package it so the buyer knows what they bought

Most buyers of small programming tools do not want a repository. They want something they can start, a short guide, and a way to get help. Deliver a folder with the program, a plain-language README, a sample input file, and a note on what happens when something fails. That package is also what justifies your price to a buyer comparing you with a free script from the internet.

Name the deliverable in the quote. “A tool that converts their weekly export and writes a summary sheet, plus a one-page guide” is a product. “Some Python help” is an invitation to argue later.

Getting paid without drama

Ask for a deposit before you start on anything larger than a small favour, split the work into visible milestones, and hand over the finished work when the balance clears. Keep the conversation in writing, even when it started over the phone, and restate the scope in your own words so both sides agree on what was understood.

Do not sell the same custom tool twice as if each version were bespoke without telling the buyer, and do not promise ongoing support you are not prepared to give. A short, clear agreement that you can honour is worth more than a large one you dread.

When the answer should be no

Some requests are not worth the money: work that depends on a system you cannot access, a deadline that assumes you already know the codebase, or a client who treats the quote as the opening offer on an hourly rate. Turning those down leaves room for the ones that fit.

Price the work so that you would still be glad to have taken it on a slow week. That is usually the most reliable test you have.