Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonw/markdown-to-sqlite
CLI tool for loading markdown files into a SQLite database
https://github.com/simonw/markdown-to-sqlite
datasette-io datasette-tool markdown sqlite yaml
Last synced: about 2 months ago
JSON representation
CLI tool for loading markdown files into a SQLite database
- Host: GitHub
- URL: https://github.com/simonw/markdown-to-sqlite
- Owner: simonw
- License: apache-2.0
- Created: 2019-01-27T02:04:54.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T18:09:22.000Z (over 2 years ago)
- Last Synced: 2024-10-18T07:53:34.921Z (2 months ago)
- Topics: datasette-io, datasette-tool, markdown, sqlite, yaml
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 76
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# markdown-to-sqlite
[![PyPI](https://img.shields.io/pypi/v/markdown-to-sqlite.svg)](https://pypi.python.org/pypi/markdown-to-sqlite)
[![Changelog](https://img.shields.io/github/v/release/simonw/markdown-to-sqlite?include_prereleases&label=changelog)](https://github.com/simonw/markdown-to-sqlite/releases)
[![Tests](https://github.com/simonw/markdown-to-sqlite/workflows/Test/badge.svg)](https://github.com/simonw/markdown-to-sqlite/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/markdown-to-sqlite/blob/main/LICENSE)CLI tool for loading markdown files into a SQLite database.
YAML embedded in the markdown files will be used to populate additional columns.
Usage: markdown-to-sqlite [OPTIONS] DBNAME TABLE PATHS...
For example:
$ markdown-to-sqlite docs.db documents file1.md file2.md
## Breaking change
Prior to version 1.0 this argument order was different - markdown files were listed before the database and table.