Skip to content

Rename iopy to iotables; revive package#2

Merged
WWakker merged 15 commits into
mainfrom
revive
Jun 6, 2026
Merged

Rename iopy to iotables; revive package#2
WWakker merged 15 commits into
mainfrom
revive

Conversation

@WWakker

@WWakker WWakker commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

Revives and modernizes the package, renaming it from iopy to iotables and restructuring to a src/ layout.

  • Renamed package iopyiotables, moved to src/iotables/ layout with packaging in pyproject.toml (replacing setup.py)
  • Moved tests to top-level tests/
  • OECD: updated download links and got loaders working
  • Figaro: 2025 support working; removed Figaro 2022
  • Added proxy= and verify= options to loaders, threaded through the shared downloader

Test plan

  • pip install -e ".[dev]"
  • pytest (downloads real data over the network)

WWakker added 15 commits June 3, 2026 22:40
- download_file: verify body size against Content-Length (when present and
  unencoded) and raise on a truncated download; offline tests added
- tests: move loaders into fixtures and mark network tests so the suite collects
  and the offline tier runs without a connection (pytest -m "not network")
- CI: GitHub Actions running offline tests on Python 3.9-3.13 + build/twine check
- packaging: PEP 639 SPDX license (clean License-Expression: MIT), py.typed,
  [project.urls], Python-version classifiers; drop stale coverage omit
- cleanups: real module docstrings, IO attribute contract includes
  FD_GRAN/reference/contact, .sum() instead of .sum(0), drop unused EXIOBASE
  metadata load and the del os half-measure
@WWakker WWakker merged commit 7ad49ed into main Jun 6, 2026
6 checks passed
@WWakker WWakker deleted the revive branch June 6, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant