Metadata-Version: 2.4
Name: c2r-collect
Version: 0.1.2
Summary: Oracle data dictionary + PL/SQL source collector that writes okf-loom input folders
License-Expression: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: oracledb>=2.0
Requires-Dist: tomli>=2.0; python_version < "3.11"
Provides-Extra: s3
Requires-Dist: boto3>=1.34; extra == "s3"
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"

# c2r-collect

Pulls PL/SQL package sources, relationship CSVs, dictionary and codebook tables from an Oracle
schema into `raw/<date>/`, then builds an okf-loom input folder from that raw.

```
pip install c2r-collect             # add [s3] extra for upload/download
cp config.example.toml config.toml  # edit; password via env C2R_DB_PASSWORD
c2r-collect collect                 # → <root>/raw/<today>/
c2r-collect upload   --date YYYY-MM-DD
c2r-collect download --date YYYY-MM-DD
c2r-collect make-input --date YYYY-MM-DD [--prev YYYY-MM-DD] [--add add.txt]
```

Design and release notes live in the source repository (`docs/`), not in the package.

## First run checks
See `docs/release.md` (release steps, QA-DB run, VDI production run).
