Squash-merge lib-standardisation: adopt repo standards across packaging, tooling, docs, and CI. - standardize pyproject.toml (canonical packaging, lint config, extras, GSDFC pydoclint) - add py.typed marker, modernize type hints and Google-style docstrings - nest generated docs under docs/lib and docs/mcp; add hand-written wiki - adopt standard Type A PyPI CI pipeline (tag==version guard + quality gate) - promote generated CHANGELOG.md; bump version to 0.0.3
11 lines
270 B
Python
11 lines
270 B
Python
from abc import ABC, abstractmethod
|
|
from pathlib import Path
|
|
from typing import Any
|
|
|
|
class BaseXlsxClient(ABC):
|
|
@abstractmethod
|
|
def fetch(self, source: Any) -> bytes: ...
|
|
|
|
class FileSystemXlsxClient(BaseXlsxClient):
|
|
def fetch(self, path: Path) -> bytes: ...
|