# Source.of
URL: https://lsd.tools/docs/api-source-of
Updated: 2026-07-17

## Parameters

| name | type | default | description |
|---|---|---|---|
| `kind` | `str` | — | the registered kind name, e.g. `"largecsv"` |
| `**config` | `Any` | — | config fields for that kind, passed by keyword |

## Example

```python
from lsdtools import Source

Source.of("largecsv", path="huge.csv", threshold_mb=200)
```

## Notes

`kind` must be a source kind registered with [`@tool.source`](/docs/api-tool-source); the
keyword `config` values must match the fields of that kind's config UI tree — they are handed
to the kind's reader as a dict. Use [`file`](/docs/api-source-file) or
[`sql`](/docs/api-source-sql) for the two built-in kinds.

## See also

**API:** [file](/docs/api-source-file) · [sql](/docs/api-source-sql) · [read](/docs/api-source-read) · [spec](/docs/api-source-spec)

**Guides:** [Load steps](/docs/tools-load)
