Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

crudecode

The method half of Crude Code. The Crude Code MCP server serves US well data from state filings; this package is what an LLM (any LLM with a Python sandbox) uses to turn that data into forecasts and valuations: guides, code and default assumptions.

pip install --break-system-packages crudecode==0.1.0a1
crudecode guide            # start here
  • crudecode guide [name] prints a guide (forecasting, valuation, schema, example).
  • crudecode forecast check deal.json validates asserted decline curves and echoes what they imply.
  • crudecode assumptions init assumptions.toml writes the default economic assumptions.
  • crudecode value deal.json --assumptions assumptions.toml --out out/ runs the economics.

The kit is standalone: two dependencies (numpy, python-dateutil), no network calls, plain CSV/JSON/Markdown outputs. Apache-2.0.

Version 0.1.0a1 covers the valuation workflow on a flat price deck. A strip (futures) deck is not supported yet.

Metadata

Release files for crudecode 0.1.0a1

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

Source distribution (sdist)

Source distribution for crudecode 0.1.0a1
File Size Uploaded
crudecode-0.1.0a1.tar.gz 146.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crudecode 0.1.0a1
File Interpreter ABI Platform
crudecode-0.1.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 294.1 kB

Release files / crudecode-0.1.0a1.tar.gz

Download URL crudecode-0.1.0a1.tar.gz
Size 146.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bb9a988a1aab996fce423bbeffd9f0aeb391a58f3d4dcc5d5c3aa4ac209c5789
BLAKE2b-256 checksum
How to use checksums
3a0fedf6b7ebfc54f9ed1e498af88d6d563a7bb48116428fc21e5b9d4fa73828
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / crudecode-0.1.0a1-py3-none-any.whl

Download URL crudecode-0.1.0a1-py3-none-any.whl
Size 147.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
abbd87aa958fc32c611e3049cf8ea8b9ba937dd2286eb150a82b2d67afbb4a3c
BLAKE2b-256 checksum
How to use checksums
4d460d28ce399990169ed7df6e750642c8d8da3430d0fe71c89cd182ea533595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.1.0a1 This release

2 release files

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