Skip to Content
All Posts

What to check before you buy Python source code

· Zero to Hundred

Before you buy Python source code, check 6 things. The Python version still gets security fixes, the dependencies are pinned, secrets come from the environment, the migrations rebuild the database, the workers and tests run from the README, and the license covers the job. You pay the price on the listing and nothing more, and you get the source as soon as the payment goes through.

Every listing tagged Python is on the Python listings page, which updates as Builders add new software. That covers FastAPI, Django, and Flask backends, bots, scripts, and data tools. You can also browse the marketplace or read what you get when you buy.

The prices below were correct on 14 November 2026 and can change, so check the listing before you pay.

Which Python version does it need?

Find the version in three places: requires-python in pyproject.toml, a .python-version file, or the FROM python: line in a Dockerfile. The packaging guide says requires-python declares the minimum version the project supports. If those places disagree, or none of them exist, ask the Builder which version the demo runs.

Then check that version against Python's version status page. On 14 November 2026, 3.14 and 3.15 get bug fixes, and 3.11, 3.12, and 3.13 get security fixes only. Python 3.10 reached end of life on 1 October 2026, and 3.11 is scheduled to follow in October 2027. Code that says "3.10 or newer" can still run on 3.12, so run it on a supported version from day one.

Are the dependencies pinned?

Look for requirements.txt, the dependencies list in pyproject.toml, and a lockfile. The lockfile might be uv.lock, poetry.lock, Pipfile.lock, or the newer standard pylock.toml, which the lock file spec describes as the format for reproducible installs.

A line such as fastapi or fastapi>=0.100 installs whatever is newest on the day you run it. pip's guide to repeatable installs says pinning with == protects you from bugs in newly released versions, and that pip freeze pins every package, including the ones your packages depend on. If nothing is pinned, the install you run next month may not match the demo you watched. Ask the Builder for the output of pip freeze from the machine the demo runs on.

How do you set it up from nothing?

The README should take you from a fresh clone to a running app: create a virtual environment, install the dependencies, copy the example config, run the migrations, and start the server. The venv docs say a virtual environment isn't checked into source control and should be easy to delete and recreate from a requirements file. If the download includes a venv or .venv folder, delete it and build your own.

Watch for steps that only work on the Builder's machine: a hard-coded home folder, a Windows-only path, or a system package the README never mentions. Libraries such as database drivers and image tools sometimes need one.

Where do the secrets live?

Secrets should come from environment variables, with a .env.example file that lists every name and holds no real values. Search the repo for SECRET_KEY, API_KEY, TOKEN, and password. Then read settings.py or the config module.

For Django, the deployment checklist says to keep the secret key out of source control and suggests loading it from an environment variable. It also says you must never run with DEBUG on in production. Running python manage.py check --deploy flags many of these settings. FastAPI and Flask apps usually read settings from the environment too, often through a settings class or python-dotenv.

If the download contains a working key, treat that key as exposed. You'll replace every key with your own anyway.

Which third-party keys do you have to replace?

List every outside service the code calls: the database, a cache or queue, email, payments, file storage, a model provider, and any chat platform such as Telegram or WhatsApp. Each one needs your own account and your own key. Some of them cost money every month.

The listing's dependencies section and the .env.example file are the short list. Search the code for os.environ and getenv to find the rest. A key that's read in one forgotten module will fail the first time that module runs.

Do the migrations rebuild the database?

The schema should come from migration files in the repo. Django keeps them in a migrations folder inside each app, and its migration docs say those files are meant to be committed and shipped with the code. FastAPI and Flask projects often use Alembic. Look for a versions folder of migration files, usually under alembic or migrations.

Point the migrations at an empty database. You should get every table the demo uses. If the README says to import a SQL dump, or the tables were made by hand, you'll rebuild the database yourself. A dump can also carry the Builder's test data, so check it before you load it.

How do background jobs and websockets run?

A Python backend often runs more than one process. There's the web server, plus a worker for slow jobs, a scheduler for timed jobs, and sometimes a websocket server. Find out which processes the app needs and how each one starts. Look for a Procfile, a docker-compose.yml, systemd unit files, or a section in the README.

FastAPI's background tasks guide says heavy jobs may be better run by a tool such as Celery, which needs a queue such as Redis or RabbitMQ. That queue is another service you run and pay for. If the demo sends emails or reports on a schedule and you can't find the worker that does it, ask where that code runs.

Websockets and long-running bots need a process that stays up and keeps its connections open. Check that the deploy notes name a host that runs it that way.

Do the tests run, and what do they cover?

The README should give the command that runs the tests. Many Python projects use pytest, and pytest's getting started guide says it runs every file named test_*.py or *_test.py in the folder and its subfolders. Run the tests on a clean checkout and read what fails.

Count what the tests cover. A few tests of pure logic are useful, but they won't tell you whether the payment webhook or the database queries work. If a test needs a real database or queue, the README should say how to start one.

Does it deploy, and with what?

A Dockerfile or docker-compose.yml tells you a lot. Check which base image it uses, which processes it starts, and which ports it opens. Docker's build secrets guide says build arguments and environment variables shouldn't carry secrets into a build, because they stay in the final image. If the Dockerfile copies a .env file or sets a key with ARG, fix that before you build.

If there's no Dockerfile, the README should name the host the demo runs on, the commands it uses, and the server that runs the app in production, such as Gunicorn or Uvicorn.

What licenses do the dependencies carry?

Each package in the requirements comes with its own license from its authors. Newer packages state theirs in a License-Expression field, which the core metadata spec says holds an SPDX license expression. Some licenses add conditions when you ship the software to a client. The guide to scanning source code you didn't write shows how to list every dependency's license with OSV-Scanner.

What should you ask about the demo?

Every listing has a working demo or a walkthrough video. For a web app, sign up, create a record, refresh, and sign in again. For a bot, a script, or a data tool, the demo is often a video of the Builder's own deployment, so ask what differs from the download. Ask whether the video runs the same version you'll get, which files are left out, and whether the Builder can share the output of a fresh install or a test run.

Here's the checklist in one place.

CheckWhere you lookWhat a gap costs
Python versionrequires-python, .python-version, DockerfileRunning on a version with no security fixes
Pinned dependenciesrequirements.txt, pyproject.toml, the lockfileAn install that doesn't match the demo
Setup stepsThe README, on a fresh cloneHours spent guessing at missing steps
Secrets.env.example, settings.py, the config moduleA leaked key, or settings you trace by hand
Third-party keysThe listing's dependencies, os.environ callsAccounts and monthly bills you didn't plan for
Migrationsmigrations folders or alembic/versionsA database you rebuild from the demo
Workers and websocketsProcfile, docker-compose.yml, systemd unitsJobs that never run, or a host that drops connections
TestsThe test command in the READMENo way to know a change didn't break something
DeployDockerfile and the deploy notesKeys baked into an image, or no production server
Dependency licensesLicense-Expression in each packageConditions you have to meet when you ship to a client
Docs and updatesDocs and maintenance labels on the listingA README you still have to write
LicenseThe listing and the license termsA use, such as reselling, the license doesn't allow

The listing shows a docs label and a maintenance label. For docs, None means no written docs, Basic means setup and run steps, and Full means setup, architecture, and how the pieces fit together. For maintenance, None means sold as-is with no further updates, Occasional means occasional fixes, and Active means ongoing updates. The labels are the Builder's description, so open the README anyway.

What do live Python listings look like?

These 4 listings were live on 14 November 2026 and show the range. They aren't a ranking or a review of the code.

Nexora AI is a platform that answers customer messages on WhatsApp, Instagram, and Messenger, listed at $1,500. The listing names a FastAPI backend on Python 3.12, a Next.js frontend, Postgres on Supabase, and Redis with the ARQ job queue. It says tests run in CI, and that the integration tests need a real Postgres and Redis. The docs label is Full and the maintenance label is Active. Use the Nexora AI listing to see the accounts you'd create.

MEXC Sniper AI is a paper-only market scanner that sends simulated trade signals to your own Telegram group, listed at $1,499. The listing says it never places real orders and promises no profit. It needs Python 3.10 or newer, with 3.12 recommended, and ships a systemd unit and 35 offline tests. Its limitations say the dependency versions aren't pinned and the install expects a fixed /home/ubuntu path. The docs label is Full and the maintenance label is None. Read the MEXC Sniper AI listing for the full list before you plan a server.

ReceivingCheck compares purchase orders, receipts, and invoices from 3 CSV exports, listed at $499. It runs in the browser or locally, and the listing says local runs need Python 3.11 or newer. The listing says it includes verification tests and 30 days of written setup support. The docs label is Basic. Check the ReceivingCheck listing for what's out of scope.

CUDAtoAMD is an experimental tool for moving CUDA-oriented code onto AMD GPUs, listed at $399, with Python bindings. The listing says you need an AMD GPU with ROCm support, and that it won't run arbitrary CUDA code unchanged. The maintenance label is Occasional. The CUDAtoAMD listing shows the hardware you'd bring.

If the app has a JavaScript server alongside the Python one, use the Node.js checklist too. If it runs on Supabase, read what to check in Next.js and Supabase source code.

What does the license let you do?

You're buying a non-exclusive license. You can use, modify, and deploy the software for your commercial or personal use, including inside a client's project, within the license. You can't resell it, re-list it, sub-license it, or redistribute it as a product. If your client contract says you must give them the right to resell the software, this license doesn't cover that, so settle it before you pay.

Other Buyers can license the same software, and the Builder can keep licensing it, here or somewhere else. Build your offer around what you add: your work, your service, and your client relationships.

You have 24 hours after delivery to report a factual problem: misrepresentation, a bug that stops it working, or another factual ground. Something the listing already disclosed doesn't count. The Builder's payout is held for 72 hours, so a report made in time is reviewed before they're paid. After those 24 hours the sale is final, whatever the price.

What do you pay?

You pay the price on the listing and nothing more. There's no Buyer fee, and you don't need a membership to read a listing.

Zero to Hundred's commission comes out of the Builder's payout, so it never adds to what you pay. It's 8% plus $0.50 when the Builder sent you through their share link, and 25% when you found the listing on the marketplace. Pricing lists both rates.

Before you pay, ask which Python version the demo runs, ask for the pinned dependency list, and read the license. If the version, the services you'd need, or the missing pieces don't fit, pick a different listing.