Skip to content

Commit 3ea501b

Browse files
improve: expose package API and tighten CLI help (#39)
* ci: update publish workflow and package versions * docs: add AGENTS.md for agent discoverability * improve: expose package API and tighten CLI help * chore: rename Revenue Holdings to DevForge in pyproject.toml * improve: expose package version at top-level and fix circular import
1 parent 5bc30aa commit 3ea501b

3 files changed

Lines changed: 23 additions & 11 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "CLI tool for batch converting between data formats (CSV, JSON, YA
99
readme = "README.md"
1010
requires-python = ">=3.10"
1111
license = "MIT"
12-
authors = [{name = "Revenue Holdings"}]
12+
authors = [{name = "DevForge"}]
1313
keywords = ["data-converter", "csv", "json", "yaml", "parquet", "avro", "etl", "cli"]
1414
classifiers = [
1515
"Development Status :: 4 - Beta",

src/datamorph/__init__.py

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
1-
"""DataMorph CLIBatch data format converter with streaming support."""
1+
"""DataMorph packagebatch format converter with streaming."""
22
__version__ = "0.1.1"
3+
from .converters import (
4+
ConversionResult,
5+
ValidationResult,
6+
convert,
7+
convert_batch,
8+
detect_format,
9+
supported_formats,
10+
validate,
11+
)
12+
13+
__all__ = [
14+
"__version__",
15+
"convert",
16+
"convert_batch",
17+
"validate",
18+
"detect_format",
19+
"supported_formats",
20+
"ConversionResult",
21+
"ValidationResult",
22+
]

src/datamorph/cli.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,7 @@ def cli() -> None:
3131
Supports CSV, JSON, JSONL, YAML, Parquet, Avro (and Protobuf with
3232
optional protobuf package).
3333
34-
Examples:
35-
36-
datamorph convert input.csv output.parquet
37-
38-
datamorph convert input.csv output.json --pretty
39-
40-
datamorph batch ./data/ --from csv --to parquet
41-
42-
datamorph schema input.parquet
34+
Also try: batch, schema, formats, validate
4335
"""
4436

4537

0 commit comments

Comments
 (0)