π Smithery is now a part of Arcade.dev! Read more in our announcement here
Core development workflows, patterns, and conventions for IterableData. Use when implementing features, fixing bugs, or working with the codebase structure.
pip install -e ".[dev]" pytest --verbose ruff check iterable tests ruff format iterable tests
ruff
iterable/helpers/
iterable/datatypes/
iterable/codecs/
iterable/engines/
iterable/convert/
iterable/pipeline/
tests/
from iterable import open_iterable
from iterable.convert import convert
from iterable.datatypes.csv import CSVIterable
from iterable.codecs.gzipcodec import GZIPCodec
open_iterable()
iterable.helpers.detect
with open_iterable('file.csv') as source:
.close()
with
.reset()
read_bulk
write_bulk
chardet
Before committing:
pytest --verbose
ruff check iterable tests
ruff format iterable tests
mypy iterable
bandit -r iterable -ll
vulture iterable --min-confidence 80
radon cc iterable --min B
pytest --cov=iterable --cov-report=html
iterableargs={'tagname': 'item'}
pyproject.toml