Skip to main content

Save data about your Stepmania library to a SQLite database

Project description

stepmania-to-sqlite

PyPI 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.

Please note that under Windows, no song durations will be calculated, and Windows support is generally tenuous. I'm happy to merge PRs for this issue (or any other).

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 by Simon Willison.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stepmania-to-sqlite-0.4.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

stepmania_to_sqlite-0.4-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page