Metadata-Version: 2.1
Name: stepmania-to-sqlite
Version: 0.2
Summary: Save data about your Stepmania library to a SQLite database
Home-page: https://github.com/rixx/stepmania-to-sqlite
Author: Tobias Kunze
Author-email: r@rixx.de
License: Apache License, Version 2.0
Project-URL: Source, https://github.com/rixx/stepmania-to-sqlite
Project-URL: Issues, https://github.com/rixx/stepmania-to-sqlite/issues
Keywords: stepmania dance sqlite export dogsheep
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: License :: OSI Approved
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Database
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4 (~=4.8)
Requires-Dist: click
Requires-Dist: python-dateutil
Requires-Dist: requests
Requires-Dist: sqlite-utils (~=2.4.4)
Requires-Dist: tqdm (~=4.36)

# stepmania-to-sqlite

[![PyPI](https://img.shields.io/pypi/v/stepmania-to-sqlite.svg)](https://pypi.org/project/stepmania-to-sqlite/)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/rixx/stepmania-to-sqlite/blob/master/LICENSE)

Put stats about your stepmania library into a SQLite database. Will export all songs with data about their groups,
difficulty levels, durations, bpms, etc. Particularly useful if you use the database with
[datasette](https://datasette.readthedocs.io/).

## How to install

    $ pip install stepmania-to-sqlite

Add the `-U` flag to update. Change notes can be found in the ``CHANGELOG`` file, next to this README.

## Importing data

Run the tool with the path to your database - if it doesn't exist yet, it will be created:

    $ stepmania-to-sqlite songs.db

If your library is not located in a directory like ``~/.stepmania*``, you can pass the library path with the -l flag:

    $ stepmania-to-sqlite songs.db -l /path/to/library

## Limitations

- Steps are not included, only pre-processed step counts per difficulty.
- Currently, only .sm files are parsed, not the newer .ssc files.

## Thanks

This package is heavily inspired by [github-to-sqlite](https://github.com/dogsheep/github-to-sqlite/) by [Simon
Willison](https://simonwillison.net/2019/Oct/7/dogsheep/).


