---
title: TOML
---

>[TOML](https://en.wikipedia.org/wiki/TOML)은 설정 파일을 위한 파일 형식입니다. 읽고 쓰기 쉽도록 설계되었으며, 명확하게 dictionary로 매핑되도록 디자인되었습니다. 사양은 오픈 소스입니다. `TOML`은 많은 프로그래밍 언어로 구현되어 있습니다. `TOML`이라는 이름은 창시자인 Tom Preston-Werner를 언급하며 "Tom's Obvious, Minimal Language"의 약자입니다.

`Toml` 파일을 로드해야 하는 경우 `TomlLoader`를 사용하세요.

```python
from langchain_community.document_loaders import TomlLoader
loader = TomlLoader("example_data/fake_rule.toml")
rule = loader.load()
rule
[Document(page_content='{"internal": {"creation_date": "2023-05-01", "updated_date": "2022-05-01", "release": ["release_type"], "min_endpoint_version": "some_semantic_version", "os_list": ["operating_system_list"]}, "rule": {"uuid": "some_uuid", "name": "Fake Rule Name", "description": "Fake description of rule", "query": "process where process.name : \\"somequery\\"\\n", "threat": [{"framework": "MITRE ATT&CK", "tactic": {"name": "Execution", "id": "TA0002", "reference": "https://attack.mitre.org/tactics/TA0002/"}}]}}', metadata={'source': 'example_data/fake_rule.toml'})]

---

<Callout icon="pen-to-square" iconType="regular">
    [Edit the source of this page on GitHub.](https://github.com/langchain-ai/docs/edit/main/src/oss/python/integrations/document_loaders/toml.mdx)
</Callout>
<Tip icon="terminal" iconType="regular">
    [Connect these docs programmatically](/use-these-docs) to Claude, VSCode, and more via MCP for    real-time answers.
</Tip>
I