This release is a pre-release and may not be stable for production use.
crudecode
The calculator 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) runs on that data: the decline-curve forecast echo and the valuation economics. It takes the same two inputs the old server-side tools took and prints the same results; only where the code runs changed.
pip install --break-system-packages crudecode==0.1.0a2
crudecode forecast forecasts.json # commit decline curves, print the echo
crudecode value params.json # NPV by status, plus wells_monthly.csv, parameters.csv, README.txt
crudecode doctrine # the forecasting method (optional reference)
forecasts.jsonis the list of forecast entries (a well or a cohort:wells,oil/gas{qi, di, b},anchor_month,uptime_factor,struck_months,rationale,analog_cohort). The well facts come from the server'sdeal_inputstool, saved asdeal_inputs.json. Committed curves are kept incrudecode_run.json; re-asserting a well replaces just that well.params.jsonis the deal terms (interest_type,interest,asset_list,economics_overrides). Flat price deck only; there is no futures strip.- The field-by-field forms are the
get_toolkittool's description on the server.
Two dependencies (numpy, python-dateutil), no network calls, plain JSON/CSV
outputs. Apache-2.0. The tests carry results frozen from the old engine
(tests/golden/).
Metadata
Release files for crudecode 0.1.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crudecode-0.1.0a2.tar.gz | 76.0 kB | Without provenance | Details for crudecode-0.1.0a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crudecode-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details for crudecode-0.1.0a2-py3-none-any.whl |
Total release size: 131.1 kB
Release files / crudecode-0.1.0a2.tar.gz
| Download URL | crudecode-0.1.0a2.tar.gz |
|---|---|
| Size | 76.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28a76a9ee198911b7a9ae9cd329a8baae72056ae2b6f49b3615a9c2b322804f4
|
|
BLAKE2b-256 checksum How to use checksums |
4a2231ccd44c771b02451493b9c832897d6ed96f55ea6a3b95b4ed06c38b738c
|
| 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.0a2-py3-none-any.whl
| Download URL | crudecode-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 55.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66047d747ec2cbc019d7a6544111c79bf78d25c50874e45e7cbc824dde1c3ffd
|
|
BLAKE2b-256 checksum How to use checksums |
02f000fd4e9b56d814cd0d54481e118e3c004300cd90b1ca92923ef8f110c933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Security for crudecode 0.1.0a2
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.